%define makver %(echo %version | cut -d. -f1-2) Name: libglade Version: 2.6.4 Release: 3mamba Summary: Library for Glade, a user interface builder for GTK+ and GNOME Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.acc.umu.se/pub/GNOME/sources/libglade/%{majver}/libglade-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: gtk-doc BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libpango-devel BuildRequires: libxml2-devel BuildRequires: pkg-config ## AUTOBUILDREQ-END BuildRequires: pkgconfig BuildRequires: libxml2-utils BuildRequires: xml-common BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Library for Glade, a user interface builder for GTK+ and GNOME. %package devel Summary: Devel package for libbonobo Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Library for Glade, a user interface builder for GTK+ and GNOME This is the devel package. %package apidocs Summary: %{pkgname} API documentation Group: Documentation Requires: gtk-doc %description apidocs %{pkgname} API documentation. %prep %setup -q %build %configure --libexecdir=%{_sbindir} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_bindir}/libglade-convert %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %dir %{_includedir}/libglade-?.?/ %{_includedir}/libglade-?.?/* %{_libdir}/pkgconfig/libglade*.pc %{_datadir}/xml/libglade/glade-?.?.dtd %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/%{name} %{_datadir}/gtk-doc/html/%{name}/* %changelog * Sun Jun 17 2012 Silvan Calarco 2.6.4-3mamba - added buildrequirements and other specfile fixes * Fri Jul 02 2010 Silvan Calarco 2.6.4-2mamba - rebuilt with libpng 1.4 * Wed Jun 17 2009 Automatic Build System 2.6.4-1mamba - automatic update by autodist * Sun Nov 02 2008 Silvan Calarco 2.6.3-1mamba - automatic update by autodist * Mon Oct 29 2007 Fabio Giani 2.6.2-1mamba - update to 2.6.2 * Tue Jan 09 2007 Davide Madrisan 2.6.0-1qilnx - update to version 2.6.0 by autospec - added missing build requirements for xml stuff * Mon Aug 29 2005 Davide Madrisan 2.5.1-1qilnx - update to version 2.5.1 by autospec - update dynamic linker run time bindings * Mon Aug 16 2004 Silvan Calarco 2.4.0-1qilnx - new version build * Tue Dec 30 2003 Silvan Calarco 2.0.1-1qilnx - first build