Name: libsexymm Version: 0.1.7 Release: 3%{?dist} Summary: C++ wrapper for libsexy Group: System Environment/Libraries License: LGPL URL: http://www.chipx86.com/wiki/Libsexy Source0: http://releases.chipx86.com/libsexy/libsexymm/libsexymm-%{version}.tar.gz #This will be removed when the license file will be fixed upstream Patch0: %{name}-license.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: gtkmm24-devel >= 2.4.0 BuildRequires: libsexy-devel >= 0.1.7 BuildRequires: libxml2-devel %description libsexymm is a set of C++ bindings around libsexy, compatible with programs using gtkmm. %package devel Summary: Headers for developing programs that will use libsexymm Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel This package contains the headers that programmers will need to develop applications which will use libsexymm. %prep %setup -q -n libsexymm-%{version} %patch0 -p0 %build %configure --disable-static --enable-docs make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' mkdir -p $RPM_BUILD_ROOT%{_datadir}/libsexymm/ mv $RPM_BUILD_ROOT%{_libdir}/libsexymm/include/libsexymmconfig.h \ $RPM_BUILD_ROOT%{_includedir}/libsexymm/libsexymmconfig.h mv $RPM_BUILD_ROOT%{_libdir}/libsexymm/proc/ \ $RPM_BUILD_ROOT%{_datadir}/libsexymm/ %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root, -) %doc COPYING ChangeLog INSTALL NEWS %{_libdir}/*.so.* %files devel %defattr(-, root, root, -) %{_includedir}/libsexymm/ %{_datadir}/libsexymm/proc %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Sun Aug 13 2006 Haïkel Guémar - 0.1.7-3 - fixed some rpmlint issues, add a patch to correct the license file * Tue Jun 13 2006 Haïkel Guémar - 0.1.7-2 - some syntax fixes to post and postun section * Mon May 22 2006 Haïkel Guémar - 0.1.7-1 - First Packaging