deco/deco.spec

89 lines
2.4 KiB
RPMSpec
Raw Normal View History

# norootforbuild
%define _prefix /usr
Name: deco
Version: 0.5.3.1
Release: 0
Summary: Deco Archive File Extractor
Source: http://hartlich.com/deco/download/deco-%{version}.tar.gz
URL: http://hartlich.com/deco/
Group: Productivity/Archiving/Compression
License: GNU General Public License 3 (GPL3)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: tar gzip bzip2
%if 0%{suse_version} >= 1010
Suggests: unzip zip
Suggests: rar unrar
Suggests: unace
Suggests: lzop
Suggests: lha
Suggests: cpio
Suggests: unarj arj
Suggests: arc nomarch
Suggests: p7zip
Suggests: unalz
Suggests: flac
%endif
BuildRequires: make gcc glibc-devel
%description
deco is a generic archive file extractor that has a consistent command line
interface ("deco 1.tar.bz2 2.zip 3.flac 4.rar 5.deb" will just work) and
consistent behavior (it never deletes archives after extraction, extracts
relative to the current working directory, and extracts just verbosely enough,
all unless explicitly requested otherwise). It provides automatic handling of
extractor gotchas by creating an extraction directory if there is more than
one file or directory at the archive top level and by being able to fix
strange permissions. 33 archive file extensions are supported out of the box,
and adding support for others requires very little work.
%debug_package
%prep
%setup -q
%build
%__make %{?jobs:-j%{jobs}} \
CC="%__cc" \
CFLAGS="%{optflags} -pipe" \
PREFIX="%{_prefix}"
%install
%makeinstall PREFIX="%{_prefix}"
echo -n > optional-files.lst
[ -e "%{buildroot}%{_bindir}/crename" ] && echo %{_bindir}/crename >> optional-files.lst
%clean
%__rm -rf "%{buildroot}"
%files -f optional-files.lst
%defattr(-,root,root)
%doc COPYING CREDITS NEWS README
%{_bindir}/deco
%{_bindir}/dirfrompath
%{_bindir}/filefrompath
%{_bindir}/symlinktarget
%{_datadir}/deco
%changelog
* Thu Sep 13 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.5.3.1
* Wed Sep 5 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.5.2
* Sun Sep 2 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.5
* Thu Aug 30 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.4.3
* Wed Aug 29 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.4.2
* Wed Aug 8 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.4.1
* Fri Jul 27 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.3
- delsuffix removed
* Tue Jul 24 2007 Pascal Bleser <guru@unixtech.be>
- added debug_package
* Sun Jul 22 2007 Pascal Bleser <guru@unixtech.be>
- new package