2007-07-22 20:39:32 +02:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: deco
|
2008-07-29 21:41:58 +02:00
|
|
|
Version: 1.3
|
2007-07-22 20:39:32 +02:00
|
|
|
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.
|
|
|
|
|
2007-07-24 09:00:21 +02:00
|
|
|
%debug_package
|
2007-07-22 20:39:32 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__make %{?jobs:-j%{jobs}} \
|
|
|
|
CC="%__cc" \
|
2008-05-15 09:42:47 +02:00
|
|
|
CFLAGS="%{optflags}" \
|
|
|
|
LDFLAGS="" \
|
2007-07-22 20:39:32 +02:00
|
|
|
PREFIX="%{_prefix}"
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall PREFIX="%{_prefix}"
|
|
|
|
|
2007-07-22 20:44:45 +02:00
|
|
|
echo -n > optional-files.lst
|
|
|
|
[ -e "%{buildroot}%{_bindir}/crename" ] && echo %{_bindir}/crename >> optional-files.lst
|
|
|
|
|
2007-07-22 20:39:32 +02:00
|
|
|
%clean
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
|
2007-07-22 20:44:45 +02:00
|
|
|
%files -f optional-files.lst
|
2007-07-22 20:39:32 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING CREDITS NEWS README
|
|
|
|
%{_bindir}/deco
|
|
|
|
%{_datadir}/deco
|
|
|
|
|
|
|
|
%changelog
|
2008-07-29 21:41:58 +02:00
|
|
|
* Tue Jul 29 2008 Pascal Bleser <guru@unixtech.be> 1.3
|
|
|
|
- new upstream version:
|
|
|
|
* a slash is now appended when printing directory names even if stdout isn't a terminal,
|
|
|
|
making reuse of deco's output in scripts more convenient
|
|
|
|
* error messages have become more consistent
|
|
|
|
* code cleanup
|
|
|
|
|
2008-07-25 21:38:53 +02:00
|
|
|
* Fri Jul 25 2008 Pascal Bleser <guru@unixtech.be> 1.2
|
|
|
|
- new upstream version
|
|
|
|
|
2008-07-11 11:28:53 +02:00
|
|
|
* Fri Jul 11 2008 Pascal Bleser <guru@unixtech.be> 1.1
|
|
|
|
- new upstream version
|
|
|
|
|
2008-05-20 21:43:06 +02:00
|
|
|
* Tue May 20 2008 Pascal Bleser <guru@unixtech.be> 1.0.0.1
|
|
|
|
- new upstream version
|
|
|
|
|
2008-05-15 09:42:47 +02:00
|
|
|
* Thu May 15 2008 Pascal Bleser <guru@unixtech.be> 1.0
|
|
|
|
- new upstream version
|
|
|
|
|
|
|
|
* Sat Apr 19 2008 Pascal Bleser <guru@unixtech.be> 0.8
|
|
|
|
- new upstream version
|
2008-04-17 21:00:33 +02:00
|
|
|
* Thu Apr 17 2008 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.7
|
2008-02-05 12:51:31 +01:00
|
|
|
* Tue Feb 5 2008 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.6
|
2007-11-18 11:05:01 +01:00
|
|
|
* Sun Nov 18 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.5.4
|
2007-09-13 21:17:02 +02:00
|
|
|
* Thu Sep 13 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.5.3.1
|
2007-09-05 08:23:39 +02:00
|
|
|
* Wed Sep 5 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.5.2
|
2007-09-02 02:10:30 +02:00
|
|
|
* Sun Sep 2 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.5
|
2007-08-30 00:55:37 +02:00
|
|
|
* Thu Aug 30 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.4.3
|
2007-08-29 23:30:23 +02:00
|
|
|
* Wed Aug 29 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.4.2
|
2007-08-08 20:50:59 +02:00
|
|
|
* Wed Aug 8 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.4.1
|
2007-07-28 00:01:03 +02:00
|
|
|
* Fri Jul 27 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- update to 0.3
|
2007-07-28 00:39:42 +02:00
|
|
|
- delsuffix removed
|
2007-07-24 09:00:21 +02:00
|
|
|
* Tue Jul 24 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- added debug_package
|
2007-07-22 20:39:32 +02:00
|
|
|
* Sun Jul 22 2007 Pascal Bleser <guru@unixtech.be>
|
|
|
|
- new package
|