commit dda2f82e14d6c6c02518cce2bab0ab43b4cef55c13368d2bc37e21318a6917d4 Author: OBS User unknown Date: Sun Jul 22 18:39:32 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/Archiving/deco?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/deco.spec b/deco.spec new file mode 100644 index 0000000..ad7b383 --- /dev/null +++ b/deco.spec @@ -0,0 +1,69 @@ +# norootforbuild + +%define _prefix /usr + +Name: deco +Version: 0.2.2 +Release: 0 +Summary: Deco Archive File Extractor +Source: http://hartlich.com/deco/download/deco-%{version}.tar.gz +Patch1: deco-disable_striping.patch +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. + +%prep +%setup -q +%patch1 + +%build +%__make %{?jobs:-j%{jobs}} \ + CC="%__cc" \ + CFLAGS="%{optflags} -pipe" \ + PREFIX="%{_prefix}" + +%install +%makeinstall PREFIX="%{_prefix}" + +%clean +%__rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%doc COPYING CREDITS NEWS README +%{_bindir}/deco +%{_bindir}/delsuffix +%{_bindir}/dirfrompath +%{_bindir}/filefrompath +%{_datadir}/deco + +%changelog +* Sun Jul 22 2007 Pascal Bleser +- new package