update to 17.05 [release 17.05-1mamba;Fri Mar 15 2024]
This commit is contained in:
parent
9ee8096036
commit
30cdddba51
31
p7zip.spec
31
p7zip.spec
@ -1,29 +1,31 @@
|
||||
Name: p7zip
|
||||
Version: 16.02
|
||||
Version: 17.05
|
||||
Release: 1mamba
|
||||
Summary: A file archiver with highest compression ratio.
|
||||
Summary: A file archiver with highest compression ratio
|
||||
Group: Applications/Archiving
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <whitone@gmail.com>
|
||||
URL: http://p7zip.sourceforge.net/
|
||||
Source: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}_%{version}_src_all.tar.bz2
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/p7zip-project/p7zip
|
||||
Source: https://github.com/p7zip-project/p7zip.git/v%{version}/p7zip-%{version}.tar.bz2
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}_%{version}
|
||||
%setup -q
|
||||
sed -i "s|strip|/bin/true|" install.sh
|
||||
|
||||
%build
|
||||
%make all3
|
||||
%make all3 OPTFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -32,15 +34,13 @@ make install \
|
||||
DEST_MAN=%{buildroot}%{_mandir} \
|
||||
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}
|
||||
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
|
||||
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
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user