|
@@ -4,20 +4,19 @@ Name: lzo
|
|
|
Summary: Data compression library with very fast (de)compression
|
|
|
Summary(ja): 高速なデータ圧縮ライブラリ
|
|
|
Version: 2.10
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 3%{?_dist_release}
|
|
|
+Group: system
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
-Group: System Environment/Libraries
|
|
|
License: GPLv2+
|
|
|
URL: http://www.oberhumer.com/opensource/lzo/
|
|
|
-
|
|
|
Source0: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz
|
|
|
Patch0: lzo-2.08-configure.patch
|
|
|
Patch1: lzo-2.08-rhbz1309225.patch
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
-BuildRequires: zlib-devel
|
|
|
+BuildRequires: pkgconfig(zlib)
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
|
|
|
%description
|
|
|
LZO is a portable lossless data compression library written in ANSI C.
|
|
@@ -29,7 +28,7 @@ while still decompressing at this very high speed.
|
|
|
|
|
|
%package minilzo
|
|
|
Summary: Mini version of lzo for apps which don't need the full version
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system
|
|
|
|
|
|
%description minilzo
|
|
|
A small (mini) version of lzo for embedding into applications which don't need
|
|
@@ -39,7 +38,7 @@ full blown lzo compression support.
|
|
|
%package devel
|
|
|
Summary: Development files for the lzo library
|
|
|
Summary(ja): lzo ライブラリの開発ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Requires: %{name}-minilzo = %{version}-%{release}
|
|
|
Requires: zlib-devel
|
|
@@ -53,7 +52,7 @@ This package contains development files needed for lzo.
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: Data compression library with very fast (de)compression
|
|
|
Summary(ja): 高速なデータ圧縮ライブラリ
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system,legacy
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
|
LZO is a portable lossless data compression library written in ANSI C.
|
|
@@ -65,7 +64,7 @@ while still decompressing at this very high speed.
|
|
|
|
|
|
%package -n compat32-%{name}-minilzo
|
|
|
Summary: Mini version of lzo for apps which don't need the full version
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system,legacy
|
|
|
Requires: %{name}-minilzo = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}-minilzo
|
|
@@ -76,7 +75,7 @@ full blown lzo compression support.
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Development files for the lzo library
|
|
|
Summary(ja): lzo ライブラリの開発ファイル
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming,legacy
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
Requires: %{name}-minilzo = %{version}-%{release}
|
|
|
Requires: compat32-zlib-devel
|
|
@@ -87,6 +86,9 @@ It offers pretty fast compression and very fast decompression.
|
|
|
This package contains development files needed for lzo.
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1 -z .configure
|
|
@@ -114,43 +116,23 @@ ln -s libminilzo.so.0 $RPM_BUILD_ROOT%{_libdir}/libminilzo.so
|
|
|
install -p -m 644 minilzo/minilzo.h $RPM_BUILD_ROOT%{_includedir}/lzo
|
|
|
rm -rf %{buildroot}%{_docdir}/lzo
|
|
|
|
|
|
+
|
|
|
+%ifarch x86_64
|
|
|
%check
|
|
|
make check test
|
|
|
+%endif
|
|
|
|
|
|
|
|
|
-%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
-
|
|
|
-
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post minilzo -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun minilzo -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name}-minilzo -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -n compat32-%{name}-minilzo -p /sbin/ldconfig
|
|
|
-
|
|
|
%files
|
|
|
-%defattr(-,root,root,-)
|
|
|
%license COPYING
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS
|
|
|
%{_libdir}/liblzo2.so.*
|
|
|
|
|
|
%files minilzo
|
|
|
-%defattr(-,root,root,-)
|
|
|
%doc minilzo/README.LZO
|
|
|
%{_libdir}/libminilzo.so.*
|
|
|
|
|
|
%files devel
|
|
|
-%defattr(-,root,root,-)
|
|
|
%doc doc/LZOAPI.TXT doc/LZO.FAQ doc/LZO.TXT
|
|
|
%{_includedir}/lzo
|
|
|
%{_libdir}/lib*lzo*.so
|
|
@@ -159,20 +141,21 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
# compat32
|
|
|
%if %{build_compat32}
|
|
|
%files -n compat32-%{name}
|
|
|
-%defattr(-,root,root,-)
|
|
|
%{_libdir}/liblzo2.so.*
|
|
|
|
|
|
%files -n compat32-%{name}-minilzo
|
|
|
-%defattr(-,root,root,-)
|
|
|
%{_libdir}/libminilzo.so.0
|
|
|
|
|
|
%files -n compat32-%{name}-devel
|
|
|
-%defattr(-,root,root,-)
|
|
|
%{_libdir}/lib*lzo*.so
|
|
|
%{_libdir}/pkgconfig/lzo2.pc
|
|
|
%endif
|
|
|
|
|
|
+
|
|
|
%changelog
|
|
|
+* Thu Jul 11 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10-3
|
|
|
+- rebuilt with current environment.
|
|
|
+
|
|
|
* Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.10-2
|
|
|
- rebuilt with current environment.
|
|
|
|