%define name libsexy %define version 0.1.11 %define major 2 %define libname %mklibname sexy %major %define develname %mklibname sexy -d Summary: Collection of widgets for GTK+ Name: %{name} Version: %{version} Release: %mkrel 7 Source0: http://releases.chipx86.com/libsexy/libsexy/%{name}-%{version}.tar.bz2 License: LGPL Group: System/Libraries Url: http://www.chipx86.com/wiki/Libsexy BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: gtk+2-devel BuildRequires: gtk-doc %description This is a collection of widgets for GTK+ 2.x. %package -n %libname Group:System/Libraries Summary: Collection of widgets for GTK+ #gw watch for major number changes Requires: %mklibname enchant 1 %description -n %libname This is a collection of widgets for GTK+ 2.x. %package -n %develname Group:Development/C Summary: Collection of widgets for GTK+ Requires: %libname = %version Provides: %{mklibname sexy 2 -d} = %version Obsoletes: %{mklibname sexy 2 -d} %if "%{_lib}" != "lib" Provides: %{name}-devel = %version %endif %description -n %develname This is a collection of widgets for GTK+ 2.x. %prep %setup -q %build %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %if %mdkversion < 200900 %post -n %libname -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %libname -p /sbin/ldconfig %endif %files -n %libname %defattr(-,root,root) %_libdir/*.so.%{major}* %files -n %develname %defattr(-,root,root) %doc ChangeLog AUTHORS NEWS %_datadir/gtk-doc/html/libsexy %_includedir/* %_libdir/*.so %_libdir/*.a %attr(644,root,root) %_libdir/*.la %_libdir/pkgconfig/* %changelog * Sun Nov 09 2008 Oden Eriksson <oeriksson@mandriva.com> 0.1.11-7mdv2009.1 + Revision: 301469 - rebuilt against new libxcb * Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.1.11-6mdv2009.0 + Revision: 222985 - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Tue Mar 04 2008 Oden Eriksson <oeriksson@mandriva.com> 0.1.11-5mdv2008.1 + Revision: 178937 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Tue Sep 18 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.1.11-3mdv2008.0 + Revision: 89848 - rebuild * Fri Aug 31 2007 Oden Eriksson <oeriksson@mandriva.com> 0.1.11-2mdv2008.0 + Revision: 76768 - new devel naming * Sun Apr 01 2007 Götz Waschk <waschk@mandriva.org> 0.1.11-1mdv2007.1 + Revision: 150155 - new version * Wed Jan 24 2007 Götz Waschk <waschk@mandriva.org> 0.1.10-2mdv2007.1 + Revision: 112818 - rebuild - Import libsexy * Wed Sep 06 2006 Götz Waschk <waschk@mandriva.org> 0.1.10-1mdv2007.0 - new version * Wed Sep 06 2006 Götz Waschk <waschk@mandriva.org> 0.1.8-2mdv2007.0 - fix enchant dep * Sun Mar 19 2006 Götz Waschk <waschk@mandriva.org> 0.1.8-1mdk - fix URL - New release 0.1.8 * Thu Mar 16 2006 Götz Waschk <waschk@mandriva.org> 0.1.7-1mdk - major 2 - source URL - new version * Mon Feb 06 2006 Götz Waschk <waschk@mandriva.org> 0.1.6-1mdk - update file list - fix buildrequires - New release 0.1.6 * Mon Jan 23 2006 Götz Waschk <waschk@mandriva.org> 0.1.5-1mdk - New release 0.1.5 - use mkrel * Fri Nov 25 2005 Götz Waschk <waschk@mandriva.org> 0.1.4-2mdk - fix buildrequires * Thu Nov 24 2005 Götz Waschk <waschk@mandriva.org> 0.1.4-1mdk - initial package