]> git.pld-linux.org Git - SPECS.git/blob - shake.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / shake.spec
1 Summary:        File shaker
2 Summary(pl.UTF-8):      Mieszacz plików
3 Name:           shake
4 Version:        0.999
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        http://download.savannah.nongnu.org/releases/shake/%{name}-%{version}.tar.bz2
9 # Source0-md5:  dd68f3619880ab0d92ed099dc2492120
10 URL:            http://vleu.net/shake/
11 BuildRequires:  attr-devel
12 BuildRequires:  cmake
13 BuildRequires:  help2man
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Shake is a defragmenter that runs in userspace, without the need of
18 patching the kernel. There is no black magic involved: it works just
19 by rewriting fragmented files. But it has some heuristics that could
20 make it more efficient than other tools, including defrag and, maybe,
21 xfs_fsr.
22
23 %description -l pl.UTF-8
24 Shake jest defragmentatorem, który działa w przestrzeni użytkownika,
25 nie wymagając wprowadzania zmian do jądra. Nie ma tu żadnej czarnej
26 magii, działanie opiera się na przepisywaniu pofragmentowanych plików.
27 Użyte jest kilka heurystyk, które mogą sprawić, że program będzie
28 bardziej wydajny od innych narzędzi takich jak defrag, czy xfs_fsr.
29
30 %prep
31 %setup -q -n shake-fs-%{version}
32
33 %build
34 cd build
35 %{__cmake} ../
36 # fix paths
37 %{__sed} -i -e 's,/usr/local,/usr,g' CPackConfig.cmake
38 %{__sed} -i -e 's,/usr/local,/usr,g' CPackSourceConfig.cmake
39 %{__sed} -i -e 's,/usr/local,/usr,g' cmake_install.cmake
40
41 %{__make} \
42         CC="%{__cc} %{rpmcflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
47 cd build
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc NEWS
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man8/*
This page took 0.15783 seconds and 3 git commands to generate.