mirror of
https://abf.rosa.ru/djam/liblzo.git
synced 2025-02-23 21:42:46 +00:00
LOG Drop .la files, spec cleanup
This commit is contained in:
parent
031ad3fbe0
commit
31b6e0e696
1 changed files with 7 additions and 23 deletions
30
liblzo.spec
30
liblzo.spec
|
@ -12,8 +12,7 @@ Release: %mkrel 5
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
URL: http://www.oberhumer.com/opensource/lzo/
|
URL: http://www.oberhumer.com/opensource/lzo/
|
||||||
Source0: http://www.oberhumer.com/opensource/lzo/download/lzo-%version.tar.gz
|
Source0: http://www.oberhumer.com/opensource/lzo/download/lzo-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|
||||||
%if %{with uclibc}
|
%if %{with uclibc}
|
||||||
BuildRequires: uClibc-devel
|
BuildRequires: uClibc-devel
|
||||||
%endif
|
%endif
|
||||||
|
@ -43,7 +42,6 @@ Group: Development/C
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}
|
||||||
Provides: %{name}2-devel = %{version}-%{release}
|
Provides: %{name}2-devel = %{version}-%{release}
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
Provides: %{name}-devel = %{version}-%{release}
|
||||||
Obsoletes: %mklibname lzo 2_2 -d
|
|
||||||
|
|
||||||
%description -n %{develname}
|
%description -n %{develname}
|
||||||
LZO is a portable lossless data compression library written in ANSI C.
|
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
|
%makeinstall_std -C shared
|
||||||
install -m755 shared/lzotest/lzotest -D %{buildroot}%{_bindir}/lzotest
|
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}
|
%files -n %{libname}
|
||||||
%defattr (-,root,root)
|
|
||||||
%doc AUTHORS NEWS README THANKS doc/LZO.TXT doc/LZO.FAQ
|
%doc AUTHORS NEWS README THANKS doc/LZO.TXT doc/LZO.FAQ
|
||||||
%{_libdir}/*%{apiver}.so.%{major}*
|
%{_libdir}/*%{apiver}.so.%{major}*
|
||||||
|
|
||||||
%files -n %{develname}
|
%files -n %{develname}
|
||||||
%defattr (-,root,root)
|
|
||||||
%doc doc/LZOAPI.TXT doc/LZOTEST.TXT
|
%doc doc/LZOAPI.TXT doc/LZOTEST.TXT
|
||||||
%{_bindir}/lzotest
|
%{_bindir}/lzotest
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
@ -111,7 +96,6 @@ rm -rf %{buildroot}
|
||||||
%{uclibc_root}%{_libdir}/*.a
|
%{uclibc_root}%{_libdir}/*.a
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.la
|
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
|
|
||||||
|
@ -129,7 +113,7 @@ rm -rf %{buildroot}
|
||||||
- 2.04
|
- 2.04
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
* Sat Dec 05 2009 Per Øyvind Karlsen <peroyvind@mandriva.org> 2.03-3mdv2010.1
|
* Sat Dec 05 2009 Per Øyvind Karlsen <peroyvind@mandriva.org> 2.03-3mdv2010.1
|
||||||
+ Revision: 473695
|
+ Revision: 473695
|
||||||
- build uclibc linked library
|
- build uclibc linked library
|
||||||
- correct license tag
|
- correct license tag
|
||||||
|
@ -150,7 +134,7 @@ rm -rf %{buildroot}
|
||||||
+ Pixel <pixel@mandriva.com>
|
+ Pixel <pixel@mandriva.com>
|
||||||
- do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
|
- do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
|
||||||
|
|
||||||
* Wed Feb 13 2008 Per Øyvind Karlsen <peroyvind@mandriva.org> 2.02-4mdv2008.1
|
* Wed Feb 13 2008 Per Øyvind Karlsen <peroyvind@mandriva.org> 2.02-4mdv2008.1
|
||||||
+ Revision: 167026
|
+ Revision: 167026
|
||||||
- fix installation of lzotest
|
- fix installation of lzotest
|
||||||
- drop redundant COPYING and useless INSTALL doc
|
- drop redundant COPYING and useless INSTALL doc
|
||||||
|
@ -176,19 +160,19 @@ rm -rf %{buildroot}
|
||||||
- spec file clean
|
- spec file clean
|
||||||
|
|
||||||
|
|
||||||
* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 2.01-2mdv2007.0
|
* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 2.01-2mdv2007.0
|
||||||
+ Revision: 108697
|
+ Revision: 108697
|
||||||
- Import liblzo
|
- Import liblzo
|
||||||
|
|
||||||
* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 2.01-2mdv2007.1
|
* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 2.01-2mdv2007.1
|
||||||
- use check macro
|
- use check macro
|
||||||
|
|
||||||
* Wed Jun 29 2005 Götz Waschk <waschk@mandriva.org> 2.01-1mdk
|
* Wed Jun 29 2005 Götz Waschk <waschk@mandriva.org> 2.01-1mdk
|
||||||
- fix provides
|
- fix provides
|
||||||
- new major
|
- new major
|
||||||
- New release 2.01
|
- New release 2.01
|
||||||
|
|
||||||
* Wed Jun 01 2005 Götz Waschk <waschk@mandriva.org> 2.00-1mdk
|
* Wed Jun 01 2005 Götz Waschk <waschk@mandriva.org> 2.00-1mdk
|
||||||
- new major
|
- new major
|
||||||
- mkrel
|
- mkrel
|
||||||
- new version
|
- new version
|
||||||
|
|
Loading…
Add table
Reference in a new issue