|
@@ -4,10 +4,13 @@ Summary: A file compression utility.
|
|
|
Summary(ja): ファイル圧縮ユーティリティ
|
|
|
Name: bzip2
|
|
|
Version: 1.0.8
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
License: BSD
|
|
|
-Group: Applications/Archiving
|
|
|
-URL: http://www.bzip.org/
|
|
|
+Group: accesories
|
|
|
+URL: https://sourceware.org/bzip2
|
|
|
Source0: https://sourceware.org/pub/bzip2/%{name}-%{version}.tar.gz
|
|
|
Source1: bzip2.pc
|
|
|
Patch0: bzip2-saneso.patch
|
|
@@ -23,11 +26,9 @@ Patch10: bzip2-1.0.2.diff.bz2
|
|
|
# none
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-
|
|
|
BuildRequires: texinfo
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
+%global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$
|
|
|
|
|
|
%description
|
|
|
Bzip2 is a freely available, patent-free, high quality data compressor.
|
|
@@ -44,18 +45,20 @@ Install bzip2 if you need a compression utility.
|
|
|
%package devel
|
|
|
Summary: Header files and libraries for developing apps which will use bzip2.
|
|
|
Summary(ja): bzip2 を使うプログラム開発に必要なヘッダファイルとライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
+Provides: pkgconfig(bzip2) = %{version}
|
|
|
|
|
|
%description devel
|
|
|
Header files and a static library of bzip2 functions, for developing apps
|
|
|
which will use the library.
|
|
|
|
|
|
+
|
|
|
## to build compat32 for x86_64 architecture support
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: A file compression utility.
|
|
|
Summary(ja): ファイル圧縮ユーティリティ
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: system,legacy
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
@@ -69,10 +72,11 @@ and compression capability.
|
|
|
|
|
|
Install bzip2 if you need a compression utility.
|
|
|
|
|
|
+
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Header files and libraries for developing apps which will use bzip2.
|
|
|
Summary(ja): bzip2 を使うプログラム開発に必要なヘッダファイルとライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming,legacy
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
@@ -80,6 +84,10 @@ Requires: %{name}-devel = %{version}-%{release}
|
|
|
Header files and a static library of bzip2 functions, for developing apps
|
|
|
which will use the library.
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1
|
|
@@ -91,6 +99,7 @@ which will use the library.
|
|
|
cp -a %{SOURCE1} .
|
|
|
sed -i "s|^libdir=|libdir=%{_libdir}|" bzip2.pc
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
make -f Makefile-libbz2_so \
|
|
|
CC="%{__cc}" \
|
|
@@ -109,6 +118,7 @@ make \
|
|
|
LDFLAGS="" \
|
|
|
%{?_smp_mflags} all
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
@@ -138,21 +148,10 @@ ln -s bzgrep.1 %{buildroot}%{_mandir}/man1/bzegrep.1
|
|
|
ln -s bzgrep.1 %{buildroot}%{_mandir}/man1/bzfgrep.1
|
|
|
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%clean
|
|
|
-rm -rf %{buildroot}
|
|
|
-
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
-%license COPYING
|
|
|
+%license LICENSE
|
|
|
%doc CHANGES README
|
|
|
%{_bindir}/*
|
|
|
%{_mandir}/*/*
|
|
@@ -177,6 +176,9 @@ rm -rf %{buildroot}
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.8-2
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.8-1
|
|
|
- new upstream release.
|
|
|
- dropped Patch0-3 and 1000.
|