]> git.pld-linux.org Git - packages/defrag.git/blob - defrag.spec
e568efec9d3620d9dffae081d97647173ecb0a17
[packages/defrag.git] / defrag.spec
1 Summary:        Linux filesystem defragmenter
2 Name:           defrag
3 Version:        0.73
4 Release:        1
5 License:        GPL
6 Group:          Utilities/System
7 Group(pl):      Narzêdzia/System
8 Source0:        ftp://sunsite.unc.edu/pub/Linux/system/filesystems/%{name}-%{version}.tar.gz
9 Patch0:         defrag-0.73-glibc.patch
10 Patch1:         defrag-makefile.patch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Linux filesystem defragmenters. The programs in this package will
15 reorganise data on minix, ext, ext2 and xia file system partitions in
16 order to improve the file system's performance.
17
18 %description -l pl
19 Programy do defragmentacji systemu plików Linuksa. Zawarte w tym
20 pakiecie programy maj± za zadanie reorganizacjê danych na partycjach
21 minix, ext, ext2 i xia tak, by zwiêkszyæ efektywno¶æ systemu.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26 %patch1 -p1
27
28 %build
29 %{__make} OPTI="$RPM_OPT_FLAGS" LDFLAGS=-s
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{/sbin,%{_mandir}/man8}
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
37         BUGS ChangeLog NEWS README
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc {BUGS,ChangeLog,NEWS,README}.gz
45 %attr(750,root,root) /sbin/e2defrag
46 %attr(750,root,root) /sbin/e2defrag.static
47 %attr(750,root,root) /sbin/defrag
48 %attr(750,root,root) /sbin/e2dump
49 %attr(750,root,root) /sbin/frag
50 %{_mandir}/man8/*.gz
This page took 0.137763 seconds and 3 git commands to generate.