commit a91f2b026522df4cbb68a8c52b11b522f7c367b456a9783f0632ef02f8eea308 Author: Michael Skibbe Date: Tue Jan 29 10:55:13 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/freedup?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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/freedup-1.4-4-src.tar.bz2 b/freedup-1.4-4-src.tar.bz2 new file mode 100644 index 0000000..264240c --- /dev/null +++ b/freedup-1.4-4-src.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4d960350ce56ea1c758f9e65c8b161babcf1ff68e2a926007e3a82194b9f0c6 +size 167109 diff --git a/freedup.changes b/freedup.changes new file mode 100644 index 0000000..75ccd81 --- /dev/null +++ b/freedup.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Jan 29 10:07:42 CET 2008 - mskibbe@suse.de + +- create package + diff --git a/freedup.spec b/freedup.spec new file mode 100644 index 0000000..425ec70 --- /dev/null +++ b/freedup.spec @@ -0,0 +1,66 @@ +# +# spec file for package rsnapshot (Version 1.3.0) +# +# Copyright (c) 2007 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 + +%define mainversion 1.4 +%define subversion 4 +Name: freedup +URL: http://freedup.org/ +License: GNU General Public License (GPL) +Group: Productivity/Archiving/Backup +Version: %{mainversion}.%{subversion} +Release: 0 +Summary: Links substantially identical, duplicate files to save file system space. +Source: %{name}-%{mainversion}-%{subversion}-src.tar.bz2 +Patch1: %{name}-%{mainversion}-%{subversion}.patch +#BuildRequires: +#Requires: +Autoreqprov: on +BuildRoot: %{_tmppath}/%{name}-%{version}-build + + +%description +Freedup eliminates duplicate files by linking them, and thus reduces the amount +of used disk space within one or more file systems. By default, hardlinks are +used on a single device, symbolic links when the devices differ. A set of +options allows you to modify the methods of file comparison, the hash functions, +the linking behavior, and the reporting style. You may use batch or interactive +mode. Freedup usually only considers identical files, but when comparing audio +or graphics files, you may elect to ignore the tags. Multimedia files often are +a good target for deduplication. + + +%prep +%setup -n %{name}-%{mainversion} +%patch1 + +rm %{name} + +%build +make + +%install +%makeinstall \ + PRE=%{buildroot} + +chmod -x %{buildroot}/%{_mandir}/man1/freedup.1.gz + +%clean +[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && %__rm -rf "%{buildroot}"; + + +%files +%defattr(-,root,root) +%{_bindir}/freedup +%{_mandir}/man1/freedup.1.gz + + +%changelog