2024-01-06 08:22:08 +01:00
|
|
|
Name: p7zip
|
2024-01-06 08:22:08 +01:00
|
|
|
Version: 15.14.1
|
2024-01-06 08:22:08 +01:00
|
|
|
Release: 1mamba
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}_%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make all3
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
make install \
|
|
|
|
DEST_HOME=%{buildroot}%{_prefix} \
|
|
|
|
DEST_MAN=%{buildroot}%{_mandir} \
|
|
|
|
DEST_SHARE_DOC=%{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
|
|
|
|
|
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
|
2024-01-06 08:22:08 +01:00
|
|
|
#chmod -R a+r DOCS
|
2024-01-06 08:22:08 +01:00
|
|
|
|
|
|
|
# fix permissions for tools
|
|
|
|
chmod 755 %{buildroot}%{_prefix}/lib/%{name}/7z{,a,Con.sfx}
|
|
|
|
|
|
|
|
# fixup strange shared library permissions
|
|
|
|
chmod 755 %{buildroot}%{_prefix}/lib/%{name}/*/*.so
|
|
|
|
|
|
|
|
## install mc extension
|
|
|
|
#install -D -m 755 contrib/VirtualFileSystemForMidnightCommander/u7z \
|
|
|
|
# %{buildroot}%{_datadir}/mc/extfs/u7z
|
|
|
|
|
|
|
|
# install gzip-like CLI wrapper
|
|
|
|
install -D -m 755 contrib/gzip-like_CLI_wrapper_for_7z/%{name} \
|
|
|
|
%{buildroot}%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/7za
|
|
|
|
%{_bindir}/7z
|
|
|
|
%{_bindir}/7zr
|
2024-01-06 08:22:08 +01:00
|
|
|
%{_bindir}/p7zip
|
2024-01-06 08:22:08 +01:00
|
|
|
%dir %{_prefix}/lib/%{name}
|
|
|
|
%{_prefix}/lib/%{name}/*
|
|
|
|
%{_mandir}/man1/7z*
|
2024-01-06 08:22:08 +01:00
|
|
|
#%doc DOCS/License.txt DOCS/copying.txt
|
2024-01-06 08:22:08 +01:00
|
|
|
#%doc ChangeLog README TODO DOCS
|
|
|
|
#%doc contrib/VirtualFileSystemForMidnightCommander/readme
|
|
|
|
#%doc contrib/gzip-like_CLI_wrapper_for_7z/README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:22:08 +01:00
|
|
|
* Wed May 11 2016 Automatic Build System <autodist@mambasoft.it> 15.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:22:08 +01:00
|
|
|
* Mon Mar 09 2015 Automatic Build System <autodist@mambasoft.it> 9.38.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:22:08 +01:00
|
|
|
* Mon Feb 23 2015 Automatic Build System <autodist@mambasoft.it> 9.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:22:08 +01:00
|
|
|
* Sat Jul 23 2011 Automatic Build System <autodist@mambasoft.it> 9.20.1-1mamba
|
|
|
|
- automatic update to 3.0.3.0 by autodist
|
|
|
|
|
|
|
|
* Thu Jan 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 9.13-1mamba
|
|
|
|
- update to 9.13
|
|
|
|
- removed post script to add support for mc (included upstream)
|
|
|
|
|
|
|
|
* Wed Jun 10 2009 Automatic Build System <autodist@mambasoft.it> 9.04-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.65-2mamba
|
|
|
|
- exclude conflicting file with mc
|
|
|
|
|
|
|
|
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.65-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.61-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.57-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
- removed requirement for mc
|
|
|
|
|
|
|
|
* Tue Apr 17 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.44-1mamba
|
|
|
|
- update to version 4.44 by autospec
|
|
|
|
|
|
|
|
* Mon Jul 17 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 4.42-1qilnx
|
|
|
|
- update to version 4.42 by autospec
|
|
|
|
|
|
|
|
* Mon Apr 10 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 4.37-1qilnx
|
|
|
|
- spec file fixed
|
|
|
|
- update to version 4.37 by autospec
|
|
|
|
|
|
|
|
* Thu Sep 22 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 4.20-1qilnx
|
|
|
|
- update to version 4.20 by autospec
|
|
|
|
|
|
|
|
* Tue Feb 08 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.01-2qilnx
|
|
|
|
- rebuilt and moved to devel repository
|
|
|
|
|
|
|
|
* Tue Feb 08 2005 Stefano Cotta Ramusino <whitone@gmail.com> 4.14.01-1qilnx
|
|
|
|
- package created by autospec
|