mirror of
https://abf.rosa.ru/djam/liblzo.git
synced 2025-02-23 21:42:46 +00:00
Automatic import for version 2.04
This commit is contained in:
commit
04bb1daa5d
2 changed files with 203 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
"lzo-2.04.tar.gz": f5bf5c7ae4116e60513e5788d156ef78946677e7
|
201
liblzo.spec
Normal file
201
liblzo.spec
Normal file
|
@ -0,0 +1,201 @@
|
|||
%define major 2
|
||||
%define apiver 2
|
||||
%define libname %mklibname lzo %{apiver} %{major}
|
||||
%define develname %mklibname lzo -d
|
||||
|
||||
%bcond_without uclibc
|
||||
|
||||
Summary: Data compression library with very fast (de-)compression
|
||||
Name: liblzo
|
||||
Version: 2.04
|
||||
Release: %mkrel 4
|
||||
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
|
||||
%if %{with uclibc}
|
||||
BuildRequires: uClibc-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
LZO is a portable lossless data compression library written in ANSI C.
|
||||
It offers pretty fast compression and *very* fast decompression.
|
||||
Decompression requires no memory. In addition there are slower
|
||||
compression levels achieving a quite competitive compression ratio while
|
||||
still decompressing at this very high speed.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Data compression library with very fast (de-)compression
|
||||
Group: System/Libraries
|
||||
Provides: %{name}
|
||||
|
||||
%description -n %{libname}
|
||||
LZO is a portable lossless data compression library written in ANSI C.
|
||||
It offers pretty fast compression and *very* fast decompression.
|
||||
Decompression requires no memory. In addition there are slower
|
||||
compression levels achieving a quite competitive compression ratio while
|
||||
still decompressing at this very high speed.
|
||||
|
||||
%package -n %{develname}
|
||||
Summary: Headers files of liblzo library
|
||||
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.
|
||||
It offers pretty fast compression and *very* fast decompression.
|
||||
Decompression requires no memory. In addition there are slower
|
||||
compression levels achieving a quite competitive compression ratio while
|
||||
still decompressing at this very high speed.
|
||||
|
||||
%prep
|
||||
%setup -qn lzo-%{version}
|
||||
|
||||
%build
|
||||
export CONFIGURE_TOP=`pwd`
|
||||
%if %{with uclibc}
|
||||
mkdir -p uclibc
|
||||
cd uclibc
|
||||
%configure2_5x CC="%{uclibc_cc}" \
|
||||
CFLAGS="%{uclibc_cflags}" \
|
||||
--disable-shared
|
||||
%make
|
||||
cd ..
|
||||
%endif
|
||||
|
||||
mkdir -p shared
|
||||
cd shared
|
||||
%configure2_5x --enable-shared
|
||||
%make
|
||||
cd ..
|
||||
|
||||
%check
|
||||
cd shared
|
||||
make check
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%if %{with uclibc}
|
||||
install -m644 uclibc/src/.libs/liblzo2.a -D %{buildroot}%{uclibc_root}%{_libdir}/liblzo.a
|
||||
%endif
|
||||
%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
|
||||
%if %{with uclibc}
|
||||
%{uclibc_root}%{_libdir}/*.a
|
||||
%endif
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.la
|
||||
%{_includedir}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 2.04-4mdv2011.0
|
||||
+ Revision: 661495
|
||||
- mass rebuild
|
||||
|
||||
* Sun Dec 05 2010 Funda Wang <fwang@mandriva.org> 2.04-3mdv2011.0
|
||||
+ Revision: 609603
|
||||
- rebuild
|
||||
|
||||
+ Oden Eriksson <oeriksson@mandriva.com>
|
||||
- rebuild
|
||||
- 2.04
|
||||
- rebuild
|
||||
|
||||
* Sat Dec 05 2009 Per Øyvind Karlsen <peroyvind@mandriva.org> 2.03-3mdv2010.1
|
||||
+ Revision: 473695
|
||||
- build uclibc linked library
|
||||
- correct license tag
|
||||
|
||||
* Wed Sep 02 2009 Christophe Fergeau <cfergeau@mandriva.com> 2.03-2mdv2010.0
|
||||
+ Revision: 425595
|
||||
- rebuild
|
||||
|
||||
* Sun Dec 21 2008 Oden Eriksson <oeriksson@mandriva.com> 2.03-1mdv2009.1
|
||||
+ Revision: 317025
|
||||
- 2.03
|
||||
- fix build with -Werror=format-security (P0)
|
||||
|
||||
* Tue Jun 17 2008 Thierry Vignaud <tv@mandriva.org> 2.02-5mdv2009.0
|
||||
+ Revision: 222925
|
||||
- rebuild
|
||||
|
||||
+ Pixel <pixel@mandriva.com>
|
||||
- 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
|
||||
+ Revision: 167026
|
||||
- fix installation of lzotest
|
||||
- drop redundant COPYING and useless INSTALL doc
|
||||
- move LZOAPI.TXT & LZOTEST.TXT to devel package
|
||||
- install and lzotest to devel package as it could prove useful for developers
|
||||
|
||||
+ Thierry Vignaud <tv@mandriva.org>
|
||||
- rebuild
|
||||
- kill re-definition of %%buildroot on Pixel's request
|
||||
|
||||
+ Olivier Blin <oblin@mandriva.com>
|
||||
- restore BuildRoot
|
||||
|
||||
* Wed Aug 15 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 2.02-2mdv2008.0
|
||||
+ Revision: 63573
|
||||
- obsolete older devel package (suggested by mrl ;)
|
||||
|
||||
* Thu Jul 12 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 2.02-1mdv2008.0
|
||||
+ Revision: 51460
|
||||
- correct major
|
||||
- new version
|
||||
- new devel library policy
|
||||
- spec file clean
|
||||
|
||||
|
||||
* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 2.01-2mdv2007.0
|
||||
+ Revision: 108697
|
||||
- Import liblzo
|
||||
|
||||
* Sun Jan 14 2007 Götz Waschk <waschk@mandriva.org> 2.01-2mdv2007.1
|
||||
- use check macro
|
||||
|
||||
* Wed Jun 29 2005 Götz Waschk <waschk@mandriva.org> 2.01-1mdk
|
||||
- fix provides
|
||||
- new major
|
||||
- New release 2.01
|
||||
|
||||
* Wed Jun 01 2005 Götz Waschk <waschk@mandriva.org> 2.00-1mdk
|
||||
- new major
|
||||
- mkrel
|
||||
- new version
|
||||
|
||||
* Mon Feb 28 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.08-5mdk
|
||||
- fix provides
|
||||
|
||||
* Fri Aug 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.08-4mdk
|
||||
- rebuild
|
||||
|
Loading…
Add table
Reference in a new issue