diff --git a/liblzo.spec b/liblzo.spec index 96b5848..88795b8 100644 --- a/liblzo.spec +++ b/liblzo.spec @@ -12,8 +12,7 @@ Release: %mkrel 5 License: GPLv2 Group: System/Libraries URL: http://www.oberhumer.com/opensource/lzo/ -Source0: http://www.oberhumer.com/opensource/lzo/download/lzo-%version.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +Source0: http://www.oberhumer.com/opensource/lzo/download/lzo-%{version}.tar.gz %if %{with uclibc} BuildRequires: uClibc-devel %endif @@ -43,7 +42,6 @@ Group: Development/C Requires: %{libname} = %{version} Provides: %{name}2-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} -Obsoletes: %mklibname lzo 2_2 -d %description -n %{develname} LZO is a portable lossless data compression library written in ANSI C. @@ -86,24 +84,11 @@ install -m644 uclibc/src/.libs/liblzo2.a -D %{buildroot}%{uclibc_root}%{_libdir} %makeinstall_std -C shared install -m755 shared/lzotest/lzotest -D %{buildroot}%{_bindir}/lzotest -%if %mdkversion < 200900 -%post -n %{libname} -p /sbin/ldconfig -%endif - -%if %mdkversion < 200900 -%postun -n %{libname} -p /sbin/ldconfig -%endif - -%clean -rm -rf %{buildroot} - %files -n %{libname} -%defattr (-,root,root) %doc AUTHORS NEWS README THANKS doc/LZO.TXT doc/LZO.FAQ %{_libdir}/*%{apiver}.so.%{major}* %files -n %{develname} -%defattr (-,root,root) %doc doc/LZOAPI.TXT doc/LZOTEST.TXT %{_bindir}/lzotest %{_libdir}/*.a @@ -111,7 +96,6 @@ rm -rf %{buildroot} %{uclibc_root}%{_libdir}/*.a %endif %{_libdir}/*.so -%{_libdir}/*.la %{_includedir}/* @@ -129,7 +113,7 @@ rm -rf %{buildroot} - 2.04 - rebuild -* Sat Dec 05 2009 Per Øyvind Karlsen 2.03-3mdv2010.1 +* Sat Dec 05 2009 Per Øyvind Karlsen 2.03-3mdv2010.1 + Revision: 473695 - build uclibc linked library - correct license tag @@ -150,7 +134,7 @@ rm -rf %{buildroot} + Pixel - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers -* Wed Feb 13 2008 Per Øyvind Karlsen 2.02-4mdv2008.1 +* Wed Feb 13 2008 Per Øyvind Karlsen 2.02-4mdv2008.1 + Revision: 167026 - fix installation of lzotest - drop redundant COPYING and useless INSTALL doc @@ -176,19 +160,19 @@ rm -rf %{buildroot} - spec file clean -* Sun Jan 14 2007 Götz Waschk 2.01-2mdv2007.0 +* Sun Jan 14 2007 Götz Waschk 2.01-2mdv2007.0 + Revision: 108697 - Import liblzo -* Sun Jan 14 2007 Götz Waschk 2.01-2mdv2007.1 +* Sun Jan 14 2007 Götz Waschk 2.01-2mdv2007.1 - use check macro -* Wed Jun 29 2005 Götz Waschk 2.01-1mdk +* Wed Jun 29 2005 Götz Waschk 2.01-1mdk - fix provides - new major - New release 2.01 -* Wed Jun 01 2005 Götz Waschk 2.00-1mdk +* Wed Jun 01 2005 Götz Waschk 2.00-1mdk - new major - mkrel - new version