2006-07-25 20:02:26 +00:00
|
|
|
Name: lzo
|
2014-06-30 05:20:36 +00:00
|
|
|
Version: 2.08
|
2018-02-08 00:42:37 +00:00
|
|
|
Release: 13%{?dist}
|
2006-07-26 10:58:35 +00:00
|
|
|
Summary: Data compression library with very fast (de)compression
|
2006-07-25 20:02:26 +00:00
|
|
|
Group: System Environment/Libraries
|
2008-05-01 00:09:55 +00:00
|
|
|
License: GPLv2+
|
2006-07-25 20:02:26 +00:00
|
|
|
URL: http://www.oberhumer.com/opensource/lzo/
|
|
|
|
Source0: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz
|
2014-06-30 05:20:36 +00:00
|
|
|
Patch0: lzo-2.08-configure.patch
|
2016-02-19 13:52:37 +00:00
|
|
|
Patch1: lzo-2.08-rhbz1309225.patch
|
2006-07-26 10:58:35 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2006-07-25 20:02:26 +00:00
|
|
|
BuildRequires: zlib-devel
|
2004-11-08 04:51:28 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2006-07-25 20:02:26 +00:00
|
|
|
|
2008-04-14 07:11:42 +00:00
|
|
|
%package minilzo
|
|
|
|
Summary: Mini version of lzo for apps which don't need the full version
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description minilzo
|
|
|
|
A small (mini) version of lzo for embedding into applications which don't need
|
|
|
|
full blown lzo compression support.
|
|
|
|
|
|
|
|
|
2006-07-25 20:02:26 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for the lzo library
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2008-04-14 07:11:42 +00:00
|
|
|
Requires: %{name}-minilzo = %{version}-%{release}
|
2006-07-25 20:02:26 +00:00
|
|
|
Requires: zlib-devel
|
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
%description devel
|
|
|
|
LZO is a portable lossless data compression library written in ANSI C.
|
|
|
|
It offers pretty fast compression and very fast decompression.
|
|
|
|
This package contains development files needed for lzo.
|
|
|
|
|
2006-07-25 20:02:26 +00:00
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2006-07-26 10:58:35 +00:00
|
|
|
%patch0 -p1 -z .configure
|
2016-02-19 13:52:37 +00:00
|
|
|
%patch1 -p1 -z .rhbz1309225
|
2006-07-26 10:58:35 +00:00
|
|
|
# mark asm files as NOT needing execstack
|
|
|
|
for i in asm/i386/src_gas/*.S; do
|
|
|
|
echo '.section .note.GNU-stack,"",@progbits' >> $i
|
|
|
|
done
|
2006-07-25 20:02:26 +00:00
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
|
|
|
|
%build
|
2006-07-25 20:02:26 +00:00
|
|
|
%configure --disable-dependency-tracking --disable-static --enable-shared
|
2004-11-08 04:51:28 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-04-14 07:11:42 +00:00
|
|
|
# build minilzo too (bz 439979)
|
|
|
|
gcc %{optflags} -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
|
2015-08-14 19:06:44 +00:00
|
|
|
gcc -g -shared -Wl,-z,now -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
|
2006-07-25 20:02:26 +00:00
|
|
|
|
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
%install
|
2006-07-25 20:02:26 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2011-09-14 07:12:15 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
2008-04-14 07:11:42 +00:00
|
|
|
install -m 755 libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
|
|
|
|
install -p -m 644 minilzo/minilzo.h $RPM_BUILD_ROOT%{_includedir}/lzo
|
2006-07-26 10:58:35 +00:00
|
|
|
|
2011-09-14 07:12:15 +00:00
|
|
|
#Remove doc
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/lzo
|
2006-07-26 10:58:35 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make check test
|
2006-07-25 20:02:26 +00:00
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
|
|
|
|
%clean
|
2006-07-25 20:02:26 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
|
2018-02-03 12:35:59 +00:00
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets minilzo
|
2008-04-14 07:11:42 +00:00
|
|
|
|
2006-07-25 20:02:26 +00:00
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2014-07-18 20:07:13 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS THANKS NEWS
|
2006-07-26 10:58:35 +00:00
|
|
|
%{_libdir}/liblzo2.so.*
|
2004-11-08 04:51:28 +00:00
|
|
|
|
2008-04-14 07:11:42 +00:00
|
|
|
%files minilzo
|
|
|
|
%defattr(-,root,root,-)
|
2014-07-18 20:07:13 +00:00
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
2008-04-14 07:11:42 +00:00
|
|
|
%doc minilzo/README.LZO
|
|
|
|
%{_libdir}/libminilzo.so.0
|
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2006-07-25 20:02:26 +00:00
|
|
|
%doc doc/LZOAPI.TXT doc/LZO.FAQ doc/LZO.TXT
|
2006-07-26 10:58:35 +00:00
|
|
|
%{_includedir}/lzo
|
2008-04-14 07:11:42 +00:00
|
|
|
%{_libdir}/lib*lzo*.so
|
2006-07-25 20:02:26 +00:00
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-02-08 00:42:37 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.08-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-03 12:35:59 +00:00
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.08-12
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2017-08-03 02:59:17 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.08-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 20:42:21 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.08-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 20:20:07 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.08-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-19 13:52:37 +00:00
|
|
|
* Fri Feb 19 2016 Karsten Hopp <karsten@redhat.com> - 2.08-8
|
|
|
|
- remove -O1 workaround, add patch by Jakub Jelinek instead (bug #1309225)
|
|
|
|
|
2016-02-17 09:46:15 +00:00
|
|
|
* Wed Feb 17 2016 Karsten Hopp <karsten@redhat.com> - 2.08-7
|
|
|
|
- use -O1 compiler optimizations on ppc64le (bug #1309225)
|
|
|
|
|
2016-02-04 04:44:46 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.08-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-14 19:06:44 +00:00
|
|
|
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.08-5
|
|
|
|
- Link libminilzo with -z now
|
|
|
|
|
2015-06-17 19:19:44 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.08-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-17 08:24:02 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.08-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-18 20:07:13 +00:00
|
|
|
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 2.08-2
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-30 05:20:36 +00:00
|
|
|
* Mon Jun 30 2014 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 2.08-1
|
|
|
|
- New upstream
|
|
|
|
- Fix CVE-2014-4607
|
|
|
|
|
2014-06-07 07:37:54 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 08:46:47 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 06:10:30 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-19 22:54:07 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 09:11:39 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-14 07:12:15 +00:00
|
|
|
* Wed Sep 14 2011 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 2.06-1
|
|
|
|
- Upgrade to latest upstream
|
|
|
|
- Apply patch from Nicolas Chauvet
|
|
|
|
|
2011-02-08 14:49:25 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-25 11:34:37 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 22:33:17 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.03-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-01 00:09:55 +00:00
|
|
|
* Thu May 1 2008 Lubomir Rintel <lkundrak@v3.sk> 2.03-1
|
|
|
|
- New upstream release
|
|
|
|
- Changed the license to GPLv2+
|
|
|
|
|
2008-04-14 07:11:42 +00:00
|
|
|
* Wed Apr 2 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 2.02-5
|
|
|
|
- Fix configure failure with -Werror-implicit-function-declaration in CFLAGS
|
|
|
|
- Add a minilzo subpackage which contains a shared version of minilzo, to be
|
|
|
|
used by all applications which ship with their own copy of it (bz 439979)
|
|
|
|
|
2008-02-19 09:12:53 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.02-4
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-08-15 07:23:46 +00:00
|
|
|
* Wed Aug 15 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 2.02-3
|
|
|
|
- Update License tag for new Licensing Guidelines compliance
|
|
|
|
|
2006-08-28 11:57:00 +00:00
|
|
|
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 2.02-2
|
|
|
|
- FE6 Rebuild
|
|
|
|
|
2006-07-26 10:58:35 +00:00
|
|
|
* Wed Jul 26 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 2.02-1
|
|
|
|
- New upstream release 2.02, soname change!
|
|
|
|
|
2006-07-25 20:02:26 +00:00
|
|
|
* Mon Jul 24 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.08-7
|
|
|
|
- Taking over as maintainer since Anvil has other priorities
|
|
|
|
- Add a patch to fix asm detection on i386 (bug 145882, 145893). Thanks to
|
|
|
|
Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe> for the initial patch.
|
|
|
|
- Removed unused build dependency on nasm
|
|
|
|
- Remove static lib
|
|
|
|
- Cleanup %%doc a bit
|
|
|
|
|
2006-03-16 18:08:00 +00:00
|
|
|
* Thu Mar 16 2006 Dams <anvil[AT]livna.org> - 1.08-6.fc5
|
|
|
|
- Rebuild for new gcc
|
|
|
|
|
2006-01-17 17:37:43 +00:00
|
|
|
* Tue Jan 17 2006 Dams <anvil[AT]livna.org> - 1.08-5.fc5
|
|
|
|
- Bumped release for gcc 4.1 rebuild
|
|
|
|
|
2005-05-22 23:48:05 +00:00
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.08-4
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2005-04-06 22:12:24 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-11-08 04:51:28 +00:00
|
|
|
* Sun Apr 27 2003 Dams <anvil[AT]livna.org> 0:1.08-0.fdr.2
|
|
|
|
- Typo un devel description
|
|
|
|
- Added post and postun scriptlets
|
|
|
|
- Added URL in Source0
|
|
|
|
|
2005-03-03 22:41:33 +00:00
|
|
|
* Fri Apr 25 2003 Dams <anvil[AT]livna.org>
|
2004-11-08 04:51:28 +00:00
|
|
|
- Initial build.
|