%define pkgmajver %(echo %version | cut -d. -f 1-2) Name: glade3 Version: 3.8.6 Release: 1mamba Summary: A User Interface Builder for Gtk+ and Gnome Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://glade.gnome.org/ Source0: http://ftp.gnome.org/pub/GNOME/sources/glade3/%{pkgmajver}/glade3-%{version}.tar.xz Source1: glade.png Source2: glade-3.desktop License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel BuildRequires: glibc-devel BuildRequires: libart_lgpl-devel BuildRequires: libatk-devel BuildRequires: libbonobo-devel BuildRequires: libbonoboui-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgnome-devel BuildRequires: libgnomeui-devel BuildRequires: libgnome-vfs-devel BuildRequires: libgtk2-devel BuildRequires: libICE-devel BuildRequires: libpango-devel BuildRequires: libpopt-devel BuildRequires: libpython-devel BuildRequires: libSM-devel BuildRequires: libxml2-devel BuildRequires: ORBit2-devel BuildRequires: pkg-config ## AUTOBUILDREQ-END BuildRequires: libglitz-devel BuildRequires: libpthread-stubs-devel BuildRequires: libxcb-util-devel BuildRequires: libpixman-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgnome-keyring-devel ###BuildRequires: gtk-doc Provides: glade-3 Obsoletes: glade-3 BuildRoot: %{_tmppath}/glade3-%{version}-root %description Glade is a RAD tool to enable quick & easy development of user interfaces for the Gtk+ toolkit and the GNOME desktop environment. The user interfaces designed in Glade are stored in XML format, enabling easy integration with external tools. In particular libglade can load the XML files and create the interfaces at runtime. The DTD for the XML files is included with libglade, and is also at http://glade.gnome.org/glade-2.0.dtd. Other tools are available which can turn the XML files into source code in languages such as C++, Perl and Python. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: glade-3-devel Obsoletes: glade-3-devel %description devel Glade is a RAD tool to enable quick & easy development of user interfaces for the Gtk+ toolkit and the GNOME desktop environment. The user interfaces designed in Glade are stored in XML format, enabling easy integration with external tools. In particular libglade can load the XML files and create the interfaces at runtime. The DTD for the XML files is included with libglade, and is also at http://glade.gnome.org/glade-2.0.dtd. Other tools are available which can turn the XML files into source code in languages such as C++, Perl and Python. This package contains static libraries and header files need for development. %prep %setup -q %build %configure \ --disable-scrollkeeper ##\ --enable-gtk-doc \ %make all \ %ifarch x86_64 PYTHON_LIBS="`pkg-config --libs python2`" %endif %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall DESTDIR=%{buildroot} unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL # conflicts with file from package libscrollkeeper-0.3.14-4mamba.i586 %{__rm} -rf %{buildroot}/var/scrollkeeper %find_lang glade3 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f glade3.lang %defattr(-,root,root) %{_bindir}/glade-3 %{_libdir}/*.so.* %dir %{_libdir}/glade3 %dir %{_libdir}/glade3/modules %{_libdir}/glade3/modules/libgladegtk.la %{_libdir}/glade3/modules/libgladegtk.so %{_libdir}/glade3/modules/libgladegnome.la %{_libdir}/glade3/modules/libgladegnome.so %{_libdir}/glade3/modules/libgladepython.la %{_libdir}/glade3/modules/libgladepython.so %{_datadir}/applications/glade-3.desktop %{_datadir}/icons/hicolor/*/apps/glade-3.png %{_datadir}/icons/hicolor/scalable/apps/glade-3.svg %dir %{_datadir}/glade3 %dir %{_datadir}/glade3/catalogs %{_datadir}/glade3/catalogs/*.dtd %{_datadir}/glade3/catalogs/*.xml %dir %{_datadir}/glade3/pixmaps %{_datadir}/glade3/pixmaps/*.png %{_datadir}/glade3/pixmaps/hicolor/16x16/actions/*.png %{_datadir}/glade3/pixmaps/hicolor/22x22/actions/*.png %{_datadir}/help/C/glade3 %lang(bg) %{_datadir}/help/bg/glade3 %lang(cs) %{_datadir}/help/cs/glade3 %lang(de) %{_datadir}/help/de/glade3 %lang(el) %{_datadir}/help/el/glade3 %lang(en_GB) %{_datadir}/help/en_GB/glade3 %lang(es) %{_datadir}/help/es/glade3 %lang(eu) %{_datadir}/help/eu/glade3 %lang(fr) %{_datadir}/help/fr/glade3 %lang(hi) %{_datadir}/help/hi/glade3 %lang(it) %{_datadir}/help/it/glade3 %lang(ja) %{_datadir}/help/ja/glade3 %lang(oc) %{_datadir}/help/oc/glade3 %lang(pt_BR) %{_datadir}/help/pt_BR/glade3 %lang(ru) %{_datadir}/help/ru/glade3 %lang(sl) %{_datadir}/help/sl/glade3 %lang(sv) %{_datadir}/help/sv/glade3 %lang(uk) %{_datadir}/help/uk/glade3 %lang(zh_CN) %{_datadir}/help/zh_CN/glade3 %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/libgladeui-1.0/gladeui %{_includedir}/libgladeui-1.0/gladeui/*.h %{_libdir}/libgladeui-1.la %{_libdir}/libgladeui-1.so %{_libdir}/pkgconfig/*.pc %{_datadir}/glade3/catalogs/*.xml.in %dir %{_datadir}/gtk-doc/html/gladeui %{_datadir}/gtk-doc/html/gladeui/* #%doc ChangeLog NEWS README TODO %changelog * Thu Nov 30 2017 Automatic Build System 3.8.6-1mamba - automatic update by autodist * Tue May 13 2014 Automatic Build System 3.8.5-1mamba - automatic version update by autodist * Sat Sep 21 2013 Automatic Build System 3.8.4-1mamba - automatic update by autodist * Sat Jun 01 2013 Silvan Calarco 3.8.3-2mamba - python 2.7 mass rebuild * Tue Dec 04 2012 Automatic Build System 3.8.3-1mamba - automatic version update by autodist * Sat Jun 23 2012 Silvan Calarco 3.8.2-2mamba - rename (back?) from glade-3 to glade3 * Wed Jun 06 2012 Silvan Calarco 3.8.2-1mamba - update to 3.8.2 (legacy package needed e.g. by anjuta 2.32.1.1) * Mon May 07 2012 Automatic Build System 3.12.1-1mamba - automatic version update by autodist * Sun Apr 01 2012 Automatic Build System 3.12.0-1mamba - update to 3.12.0 * Fri Oct 14 2011 Automatic Build System 3.10.2-1mamba - automatic version update by autodist * Thu Jul 21 2011 Automatic Build System 3.10.0-1mamba - update to 3.10.0 * Wed Apr 06 2011 Automatic Build System 3.8.0-1mamba - automatic update by autodist * Tue Jun 30 2009 Automatic Build System 3.6.7-1mamba - automatic update to 3.6.7 by autodist * Tue Jun 23 2009 Automatic Build System 3.6.6-1mamba - automatic update to 3.6.6 by autodist * Sat Jun 13 2009 Automatic Build System 3.6.5-1mamba - automatic update to 3.6.5 by autodist * Sun Jun 07 2009 Automatic Build System 3.6.4-1mamba - automatic update to 3.6.4 by autodist * Mon May 18 2009 Automatic Build System 3.6.3-2mamba - automatic rebuild by autodist * Thu Apr 23 2009 Automatic Build System 3.6.3-1mamba - automatic update to 3.6.3 by autodist * Thu Apr 16 2009 Silvan Calarco 3.6.2-1mamba - automatic update to 3.6.2 by autodist * Tue Apr 07 2009 Silvan Calarco 3.6.1-1mamba - automatic update to 3.6.1 by autodist * Fri Mar 20 2009 Silvan Calarco 3.6.0-1mamba - automatic update to 3.6.0 by autodist * Tue Sep 02 2008 Silvan Calarco 3.4.5-3mamba - renamed to glade3, providing and obsoleting libglade3 and libglade3-devel * Sun Aug 31 2008 Silvan Calarco 3.4.5-2mamba - renamed to libglade3 and obsolete glade and glade-devel - description text formatting cleaned * Tue Jun 03 2008 gil 3.4.5-1mamba - package created by autospec