update specs for 9.1

This commit is contained in:
2020-06-01 16:11:06 -04:00
parent 2abf2270d6
commit a232f5138b
84 changed files with 1676 additions and 1236 deletions

View File

@@ -1,18 +1,17 @@
#TARBALL: http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.6.tar.gz
#MD5SUM: 00b516f4704d4a7cb50a1d97e6e8e15b;SOURCES/bzip2-1.0.6.tar.gz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/8.2/bzip2-1.0.6-install_docs-1.patch
#MD5SUM: 6a5ac7e89b791aae556de0f745916f7f;SOURCES/bzip2-1.0.6-install_docs-1.patch
#TARBALL: http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.8.tar.gz
#MD5SUM: 67e051268d0c475ea773822f7500d0e5;SOURCES/bzip2-1.0.8.tar.gz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/9.1/bzip2-1.0.8-install_docs-1.patch
#MD5SUM: 6a5ac7e89b791aae556de0f745916f7f;SOURCES/bzip2-1.0.8-install_docs-1.patch
#-----------------------------------------------------------------------------
Summary: The Bzip2 package contains programs for compressing and decompressing files
Name: bzip2
Version: 1.0.6
Version: 1.0.8
Release: 1
License: Other
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.%{name}.org/%{version}/%{name}-%{version}.tar.gz
Patch0: http://www.linuxfromscratch.org/patches/lfs/8.1/%{name}-%{version}-install_docs-1.patch
Patch0: http://www.linuxfromscratch.org/patches/lfs/9.1/%{name}-%{version}-install_docs-1.patch
Requires: filesystem
%description
The Bzip2 package contains programs for compressing and decompressing files
@@ -29,7 +28,7 @@ than with the traditional gzip.
make clean
make
%install
make PREFIX=%{buildroot}/usr install
make PREFIX=%{_prefix} install
install -vdm 755 %{buildroot}/bin
install -vdm 755 %{buildroot}/lib
install -vdm 755 %{buildroot}%{_libdir}
@@ -45,17 +44,17 @@ than with the traditional gzip.
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl>
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.0.6-1
- Initial build. First version