Accepting request 310266 from home:pluskalm:branches:Archiving:Backup
- Update to 6.3-3 * for list of changes see Changelog - Cleanup spec file with spec-cleaner - Update license information - Use url for source OBS-URL: https://build.opensuse.org/request/show/310266 OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/freedup?expand=0&rev=3
This commit is contained in:
parent
75cf89a2bf
commit
3a28c7bd8f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c4d960350ce56ea1c758f9e65c8b161babcf1ff68e2a926007e3a82194b9f0c6
|
|
||||||
size 167109
|
|
@ -1,22 +0,0 @@
|
|||||||
--- Makefile.tests
|
|
||||||
+++ Makefile.tests
|
|
||||||
@@ -17,7 +17,7 @@
|
|
||||||
# a long list of test routines follows
|
|
||||||
# The intention is to verify that at least some basic functions work well (hopefully)
|
|
||||||
#
|
|
||||||
-test: user_is_root test0 test1 test2 test3 test4 test5 test6 test7 test9 test10 test11
|
|
||||||
+test: user_is_root test0 test1 test2 test3 test5 test7 test9 test10 test11
|
|
||||||
alltest: user_is_root test0 test1 test2 test3 test4 test5 test6 test7 test8 test9 test10 test11
|
|
||||||
|
|
||||||
user_is_root:
|
|
||||||
--- freedup.c
|
|
||||||
+++ freedup.c
|
|
||||||
@@ -295,7 +295,7 @@
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
-inline int hashed(const char*s)
|
|
||||||
+int hashed(const char*s)
|
|
||||||
{
|
|
||||||
int returnval=atoi(s);
|
|
||||||
|
|
3
freedup-1.6~3-src.tar.bz2
Normal file
3
freedup-1.6~3-src.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:49e4fa3d4fc937c4e2e40dd14ca9300690b5a83caae6fa338db8371e88925f58
|
||||||
|
size 230625
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 4 09:46:26 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to 6.3-3
|
||||||
|
* for list of changes see Changelog
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Update license information
|
||||||
|
- Use url for source
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 29 10:07:42 CET 2008 - mskibbe@suse.de
|
Tue Jan 29 10:07:42 CET 2008 - mskibbe@suse.de
|
||||||
|
|
||||||
|
62
freedup.spec
62
freedup.spec
@ -1,32 +1,32 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rsnapshot (Version 1.3.0)
|
# spec file for package freedup
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
%define mainversion 1.6
|
||||||
|
%define subversion 3
|
||||||
%define mainversion 1.4
|
|
||||||
%define subversion 4
|
|
||||||
Name: freedup
|
Name: freedup
|
||||||
URL: http://freedup.org/
|
Version: %{mainversion}~%{subversion}
|
||||||
License: GNU General Public License (GPL)
|
|
||||||
Group: Productivity/Archiving/Backup
|
|
||||||
Version: %{mainversion}.%{subversion}
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Links substantially identical, duplicate files to save file system space.
|
Summary: Links substantially identical, duplicate files to save file system space
|
||||||
Source: %{name}-%{mainversion}-%{subversion}-src.tar.bz2
|
License: GPL-2.0 and BSD-3-Clause
|
||||||
Patch1: %{name}-%{mainversion}-%{subversion}.patch
|
Group: Productivity/Archiving/Backup
|
||||||
#BuildRequires:
|
Url: http://freedup.org/
|
||||||
#Requires:
|
Source: http://freedup.org/freedup-%{version}-src.tar.bz2
|
||||||
Autoreqprov: on
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Freedup eliminates duplicate files by linking them, and thus reduces the amount
|
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
|
of used disk space within one or more file systems. By default, hardlinks are
|
||||||
@ -37,30 +37,28 @@ 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
|
or graphics files, you may elect to ignore the tags. Multimedia files often are
|
||||||
a good target for deduplication.
|
a good target for deduplication.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{name}-%{mainversion}
|
%setup -q -n %{name}-%{mainversion}-%{subversion}
|
||||||
%patch1
|
|
||||||
|
|
||||||
rm %{name}
|
rm %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make CFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DFLAVOUR="\"d\"" -DHASHSUM=0 -std=gnu99' %{name}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall \
|
make \
|
||||||
PRE=%{buildroot}
|
DESTDIR=%{buildroot} \
|
||||||
|
PRE=%{buildroot} \
|
||||||
|
install \
|
||||||
|
%{?_smp_mflags}
|
||||||
|
|
||||||
chmod -x %{buildroot}/%{_mandir}/man1/freedup.1.gz
|
chmod -x %{buildroot}/%{_mandir}/man1/*
|
||||||
|
|
||||||
%clean
|
|
||||||
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && %__rm -rf "%{buildroot}";
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING COPYING.SHA ChangeLog
|
||||||
%{_bindir}/freedup
|
%{_bindir}/freedup
|
||||||
%{_mandir}/man1/freedup.1.gz
|
%{_bindir}/symharden
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user