forked from davidhrbac/specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fuse-rdiff-backup-fs.spec
51 lines (39 loc) · 1.13 KB
/
fuse-rdiff-backup-fs.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
%define real_name rdiff-backup-fs
Summary: Filesystem in userspace for rdiff-backup repositories
Name: fuse-rdiff-backup-fs
Version: 1.0.0
Release: 1%{?dist}
License: GPLv3
Group: Applications/System
URL: http://www.rdiff-backup-fs.com
Source: https://rdiff-backup-fs.googlecode.com/files/%{real_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires: fuse-devel
BuildRequires: zlib-devel
Requires: fuse
Obsoletes: %{real_name} <= %{name}-%{version}
Provides: %{real_name} = %{name}-%{version}
%description
Filesystem in userspace for rdiff-backup repositories.
%prep
%setup -q -n %{real_name}-%{version}
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
rm -rf %{buildroot}%{_datadir}/%{name}
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, -)
%doc ChangeLog COPYING README
%{_bindir}/rdiff-backup-fs
%{_mandir}/man1/rdiff-backup-fs*
%changelog
* Sat Feb 11 2012 David Hrbáč <[email protected]> - 1.0.0-1
- initial build