]> git.pld-linux.org Git - packages/defrag.git/blame - defrag.spec
- tabs in preamble
[packages/defrag.git] / defrag.spec
CommitLineData
97318998 1#
2# Conditional build:
23237bf2 3%bcond_without static # don't build static
97318998 4#
37569b32 5Summary: Linux filesystem defragmenter
af0275d6 6Summary(pl.UTF-8): Narzędzia do defragmentacji linuksowych systemów plików
37569b32
JR
7Name: defrag
8Version: 0.73
e69f0b04 9Release: 2
5d877cf1 10License: GPL
01281d07 11Group: Applications/System
5d877cf1 12Source0: ftp://sunsite.unc.edu/pub/Linux/system/filesystems/%{name}-%{version}.tar.gz
b812b6d9 13# Source0-md5: d007c46b3cbd7de495deb45a50836d18
01281d07
JB
14Patch0: %{name}-0.73-glibc.patch
15Patch1: %{name}-makefile.patch
16Patch2: %{name}-kernel-2.4.patch
17Patch3: %{name}-shared.patch
7cfcd24f 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37569b32
JR
19
20%description
5d877cf1 21Linux filesystem defragmenters. The programs in this package will
22reorganise data on minix, ext, ext2 and xia file system partitions in
23order to improve the file system's performance.
37569b32 24
6e0031f2
JR
25%description -l pl.UTF-8
26Programy do defragmentacji systemu plików Linuksa. Zawarte w tym
27pakiecie programy mają za zadanie reorganizację danych na partycjach
28minix, ext, ext2 i xia tak, by zwiększyć efektywność systemu.
a7a033ae 29
37569b32
JR
30%prep
31%setup -q
32%patch0 -p1
33%patch1 -p1
e69f0b04
JR
34%patch2 -p1
35%patch3 -p1
37569b32
JR
36
37%build
017cf44d 38%{?with_static:%{__make} OPTI="%{rpmcflags}" LDFLAGS="%{rpmldflags}" CC="%{__cc}"}
39%{!?with_static:%{__make} OPTI="%{rpmcflags}" LDFLAGS="%{rpmldflags}" CC="%{__cc}" e2defrag defrag e2dump frag}
37569b32
JR
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT{/sbin,%{_mandir}/man8}
e69f0b04 44
017cf44d 45%{__make} %{?with_static:install}%{!?with_static:install_shared} \
e69f0b04 46 DESTDIR=$RPM_BUILD_ROOT
37569b32 47
37569b32
JR
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
5d877cf1 52%defattr(644,root,root,755)
32741e8e 53%doc BUGS ChangeLog NEWS README
23cef66e 54%attr(750,root,root) /sbin/e2defrag*
37569b32
JR
55%attr(750,root,root) /sbin/defrag
56%attr(750,root,root) /sbin/e2dump
57%attr(750,root,root) /sbin/frag
01281d07 58%{_mandir}/man8/*
This page took 0.084584 seconds and 4 git commands to generate.