From 182e337845a8d0768783c8ac79e21ca429bf9834b1bf1a5eb173d17064013312 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 15 Jan 2007 23:12:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fdupes?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + fdupes-1.40.tar.bz2 | 3 +++ fdupes.changes | 5 ++++ fdupes.diff | 45 ++++++++++++++++++++++++++++++++++++ fdupes.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 133 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 fdupes-1.40.tar.bz2 create mode 100644 fdupes.changes create mode 100644 fdupes.diff create mode 100644 fdupes.spec create mode 100644 ready 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/fdupes-1.40.tar.bz2 b/fdupes-1.40.tar.bz2 new file mode 100644 index 0000000..8c6f633 --- /dev/null +++ b/fdupes-1.40.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4a5e0ae771bcad37d59bcdcbcfe78d5e7b9f584eff559b38a1e4772acae71ca +size 14974 diff --git a/fdupes.changes b/fdupes.changes new file mode 100644 index 0000000..f25552c --- /dev/null +++ b/fdupes.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Nov 16 13:16:07 CET 2006 - dmueller@suse.de + +- Initial package (1.40) + diff --git a/fdupes.diff b/fdupes.diff new file mode 100644 index 0000000..602164a --- /dev/null +++ b/fdupes.diff @@ -0,0 +1,45 @@ +--- Makefile ++++ Makefile +@@ -2,13 +2,13 @@ + # INSTALLDIR indicates directory where program is to be installed. + # Suggested values are "/usr/local/bin" or "/usr/bin". + # +-INSTALLDIR = /usr/local/bin ++INSTALLDIR = /usr/bin + + # + # MANPAGEDIR indicates directory where the fdupes man page is to be + # installed. Suggested values are "/usr/local/man" or "/usr/man". + # +-MANPAGEDIR = /usr/local/man ++MANPAGEDIR = /usr/share/man + + # + # VERSION determines the program's version number. +@@ -35,7 +35,7 @@ + ##################################################################### + + fdupes: fdupes.c md5/md5.c +- gcc fdupes.c md5/md5.c -Wall -o fdupes -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) ++ gcc fdupes.c md5/md5.c $(RPM_OPT_FLAGS) -o fdupes -DVERSION=\"$(VERSION)\" $(EXTERNAL_MD5) $(EXPERIMENTAL_RBTREE) + + install: fdupes + cp fdupes $(INSTALLDIR) +--- md5/md5.c ++++ md5/md5.c +@@ -39,6 +39,7 @@ + */ + + #include "md5.h" ++#include + + #ifdef TEST + /* +@@ -46,7 +47,6 @@ + * The test program should print out the same values as given in section + * A.5 of RFC 1321, reproduced below. + */ +-#include + main() + { + static const char *const test[7] = { diff --git a/fdupes.spec b/fdupes.spec new file mode 100644 index 0000000..970789b --- /dev/null +++ b/fdupes.spec @@ -0,0 +1,56 @@ +# +# spec file for package fdupes (Version 1.40) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: fdupes +URL: http://premium.caribe.net/~adrian2/fdupes.html +Group: Productivity/Archiving/Compression +Summary: Identifying or deleting duplicate files +Version: 1.40 +Release: 2 +License: X11/MIT +Source0: %name-%{version}.tar.bz2 +Patch0: %name.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +FDUPES is a program for identifying or deleting duplicate files +residing within specified directories + + + +Authors: +-------- + Adrian Lopez + +%prep +%setup -q +%patch + +%build +make + +%install +install -D -m755 fdupes $RPM_BUILD_ROOT/usr/bin/fdupes +install -D -m644 fdupes.1 $RPM_BUILD_ROOT/usr/share/man/man1/fdupes.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc CHANGES +%{_prefix}/bin/fdupes +%{_mandir}/*/* + +%changelog -n fdupes +* Thu Nov 16 2006 - dmueller@suse.de +- Initial package (1.40) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4