Name: libunity-misc Version: 0.2.1 Release: 1%{?dist} Summary: Misc. differently licensed stuff for Unity Group: Development/Libraries License: GPLv2 or LGPLv2 URL: https://launchpad.net/libunity-misc Source0: http://launchpad.net/%{name}/0.1/%{version}/+download/%{name}-%{version}.tar.gz BuildRequires: gtk2-devel >= 2.18 %description Miscellaneous functions for Unity. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package devel-docs Summary: Developer documentation for %{name} %description devel-docs Developer documentation for %{name} %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING* AUTHORS ChangeLog README %{_libdir}/%{name}.so.* %files devel %defattr(-,root,root,-) %doc COPYING* AUTHORS ChangeLog README %{_includedir}/unity-misc %{_libdir}/%{name}.so %{_libdir}/pkgconfig/unity-misc.pc %files devel-docs %defattr(-,root,root,-) %doc COPYING* AUTHORS ChangeLog README %{_datadir}/gtk-doc/html/%{name} %changelog * Mon Apr 11 2011 Hicham HAOUARI - 0.2.1-1 - Initial package