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