update to 17.05 [release 17.05-1mamba;Fri Mar 15 2024]

This commit is contained in:
Silvan Calarco 2024-03-16 08:41:47 +01:00
parent 9ee8096036
commit 30cdddba51

View File

@ -1,29 +1,31 @@
Name: p7zip Name: p7zip
Version: 16.02 Version: 17.05
Release: 1mamba Release: 1mamba
Summary: A file archiver with highest compression ratio. Summary: A file archiver with highest compression ratio
Group: Applications/Archiving Group: Applications/Archiving
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <whitone@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://p7zip.sourceforge.net/ URL: https://github.com/p7zip-project/p7zip
Source: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}_%{version}_src_all.tar.bz2 Source: https://github.com/p7zip-project/p7zip.git/v%{version}/p7zip-%{version}.tar.bz2
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
p7zip is a port of 7z.exe and 7za.exe for Unix. 7z.exe and 7za.exe are the command line version of 7-zip, a file archiver with highest compression ratio. p7zip is a port of 7z.exe and 7za.exe for Unix. 7z.exe and 7za.exe are the command line version of 7-zip, a file archiver with highest compression ratio.
%debug_package
%prep %prep
%setup -q -n %{name}_%{version} %setup -q
sed -i "s|strip|/bin/true|" install.sh
%build %build
%make all3 %make all3 OPTFLAGS="%{optflags}"
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -32,15 +34,13 @@ make install \
DEST_MAN=%{buildroot}%{_mandir} \ DEST_MAN=%{buildroot}%{_mandir} \
DEST_SHARE_DOC=%{buildroot}%{_docdir}/%{name}-%{version} DEST_SHARE_DOC=%{buildroot}%{_docdir}/%{name}-%{version}
# Strip buildroot from symlinks in bindir
sed -i 's/'`echo %{buildroot} | sed 's/\//\\\\\//g'`'//' \
%{buildroot}%{_bindir}/7z{,a,r}
chmod -R a+w %{buildroot}%{_defaultdocdir}/%{name}-%{version} chmod -R a+w %{buildroot}%{_defaultdocdir}/%{name}-%{version}
rm -fr %{buildroot}%{_defaultdocdir}/%{name}-%{version} rm -fr %{buildroot}%{_defaultdocdir}/%{name}-%{version}
sed -i 's/'`echo %{buildroot} | sed 's/\//\\\\\//g'`'//' \
%{buildroot}%{_bindir}/7z{,a}
# fix permissions for the documentations
#chmod -R a+r DOCS
# fix permissions for tools # fix permissions for tools
chmod 755 %{buildroot}%{_prefix}/lib/%{name}/7z{,a,Con.sfx} chmod 755 %{buildroot}%{_prefix}/lib/%{name}/7z{,a,Con.sfx}
@ -73,6 +73,9 @@ install -D -m 755 contrib/gzip-like_CLI_wrapper_for_7z/%{name} \
#%doc contrib/gzip-like_CLI_wrapper_for_7z/README #%doc contrib/gzip-like_CLI_wrapper_for_7z/README
%changelog %changelog
* Fri Mar 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 17.05-1mamba
- update to 17.05
* Sat Jul 16 2016 Automatic Build System <autodist@mambasoft.it> 16.02-1mamba * Sat Jul 16 2016 Automatic Build System <autodist@mambasoft.it> 16.02-1mamba
- automatic version update by autodist - automatic version update by autodist