View difference between Paste ID: Y6Ar2VPw and tx0PtRE7
SHOW: | | - or go back to the newest paste.
1-
Name:           shake-fs
1+
Name:           shake-fs
2-
Version:        0.999
2+
Version:        0.999
3-
Release:        1%{?dist}
3+
Release:        1%{?dist}
4-
Summary:        Defragmenter, that runs in userspace
4+
Summary:        Defragmenter, that runs in userspace
5-
5+
License:        GPLv3+ or GFDL
6-
License:        GPLv3  and GFDL
6+
URL:            http://www.vleu.net/shake/
7-
URL:            http://www.vleu.net/shake/
7+
Source0:        http://download.savannah.nongnu.org/releases/shake/shake-%{version}.tar.bz2
8-
Source0:        http://download.savannah.nongnu.org/releases/shake/shake-%{version}.tar.bz2
8+
Patch0:         shake-fs-0.999-fix-dev_t.patch
9-
Patch0:		shake-0.999-fix-dev_t.patch
9+
BuildRequires:  cmake, libattr-devel, help2man
10-
10+
11-
BuildRequires:  cmake, libattr-devel, help2man
11+
%description
12-
#Requires:       
12+
Shake is a defragmenter that runs in userspace, without the need of patching
13-
13+
the kernel and while the system is used (for now, on GNU/Linux only).
14-
�scription
14+
15-
Shake is a defragmenter that runs in userspace, without the need of patching
15+
There is nothing magic in that : it just works by rewriting fragmented
16-
the kernel and while the system is used (for now, on GNU/Linux only).
16+
files.  But it has some heuristics that could make it more efficient than
17-
17+
other tools, including defrag and, maybe, xfs_fsr.
18-
There is nothing magic in that : it just works by rewriting fragmented
18+
19-
files.  But it has some heuristics that could make it more efficient than
19+
%prep
20-
other tools, including defrag and, maybe, xfs_fsr.
20+
%setup -q -n shake-fs-%{version}
21-
21+
%patch0 -p1
22-
%prep
22+
23-
%setup -q -n shake-fs-%{version}
23+
%build
24-
%patch0 -p1
24+
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .
25-
25+
make %{?_smp_mflags}
26-
%build
26+
27-
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .
27+
%install
28-
make %{?_smp_mflags}
28+
rm -rf $RPM_BUILD_ROOT
29-
29+
make install DESTDIR=$RPM_BUILD_ROOT
30-
30+
31-
%install
31+
%files
32-
rm -rf $RPM_BUILD_ROOT
32+
%doc GPL.txt doc/FDL.txt NEWS
33-
make install DESTDIR=$RPM_BUILD_ROOT
33+
%{_bindir}/*
34-
34+
%{_mandir}/man8/*
35-
35+
36-
%files
36+