source: projects/specs/trunk/r/rdiff-backup/rdiff-backup-vl.spec @ 521

Revision 521, 3.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3Summary: Convenient and transparent local/remote incremental mirror/backup
4Name: rdiff-backup
5Version: 1.0.5
6Release: 1%{?_dist_release}
7
8URL: http://www.nongnu.org/rdiff-backup/
9Source: http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz
10License: GPL
11Group: Applications/Internet
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildRequires: python-devel >= 2.2, librsync-devel >= 0.9.6
15
16%description
17rdiff-backup is a script, written in Python, that backs up one
18directory to another and is intended to be run periodically (nightly
19from cron for instance). The target directory ends up a copy of the
20source directory, but extra reverse diffs are stored in the target
21directory, so you can still recover files lost some time ago. The idea
22is to combine the best features of a mirror and an incremental
23backup. rdiff-backup can also operate in a bandwidth efficient manner
24over a pipe, like rsync. Thus you can use rdiff-backup and ssh to
25securely back a hard drive up to a remote location, and only the
26differences from the previous backup will be transmitted.
27
28%prep
29%setup -q
30
31%build
32python setup.py build
33
34%install
35rm -rf $RPM_BUILD_ROOT
36python setup.py install --root $RPM_BUILD_ROOT
37# Produce .pyo files for %ghost directive later
38python -Oc 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT/%{python_sitearch}/rdiff_backup'")'
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(-,root,root)
45%doc CHANGELOG COPYING FAQ.html README
46%{_bindir}/rdiff-backup
47%{_mandir}/man1/rdiff-backup*
48%dir %{python_sitearch}/rdiff_backup
49%{python_sitearch}/rdiff_backup/*.py
50%{python_sitearch}/rdiff_backup/*.pyc
51%{python_sitearch}/rdiff_backup/*.so
52%{python_sitearch}/rdiff_backup/*.pyo
53
54%changelog
55* Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.5-1vl5
56- rebuilt with python-2.5.2
57- applied new versioning policy
58
59* Mon Jun 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-0vl1
60- initial build for Vine Linux
61
62* Sun Dec 17 2006 Kevin Fenzi <kevin@tummy.com> - 1.0.5-2
63- Rebuild for python 2.5
64
65* Tue Dec 5  2006 Gavin Henry <ghenry@suretecsystems.com> - 0:1.0.5-1
66- Update to latest version
67
68* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.0.4-3
69 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
70
71* Tue Sep 19 2006 Kevin Fenzi <kevin@tummy.com> - 1.0.4-2
72- Build for fc6
73- No longer need to ghost pyo files (bug 205431)
74
75* Fri Dec 9  2005 Gavin Henry <ghenry@suretecsystems.com> - 0:1.0.4-1
76- Update to latest version
77
78* Fri Dec 9  2005 Gavin Henry <ghenry@suretecsystems.com> - 0:1.0.3-1
79- Update to latest version
80
81* Wed Sep 14 2005 Gavin Henry <ghenry@suretecsystems.com> - 0:1.0.1-1
82- New version
83
84* Thu Aug 15 2005 Gavin Henry <ghenry@suretecsystems.com> - 0:1.0.0-1
85- Latest version
86
87* Wed May 11 2005 Bill Nottingham <notting@redhat.com> - 0:0.12.7-3
88- rebuilt
89
90* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
91- rebuilt
92
93* Sat Jan 22 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.12.7-1
94- Update to 0.12.7 which was released May 31st, 2004.
95- Enhance spec with python-abi and arch-dependent sitelib paths.
96- Update URL and Source.
97
98* Sun Oct 05 2003 Ben Escoto <bescoto@stanford.edu> - 0:0.12.5-0.fdr.1
99- Added epochs to python versions, more concise %%defines, %%ghost files
100
101* Thu Aug 16 2003 Ben Escoto <bescoto@stanford.edu> - 0:0.12.3-0.fdr.4
102- Implemented various suggestions of Fedora QA
103
104* Sun Nov 4 2001 Ben Escoto <bescoto@stanford.edu>
105- Initial RPM
Note: See TracBrowser for help on using the repository browser.