]> git.pld-linux.org Git - packages/defrag.git/commitdiff
- PLD ready
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 7 Jan 2000 21:12:26 +0000 (21:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    defrag.spec -> 1.1

defrag.spec [new file with mode: 0644]

diff --git a/defrag.spec b/defrag.spec
new file mode 100644 (file)
index 0000000..512497e
--- /dev/null
@@ -0,0 +1,45 @@
+Summary:       Linux filesystem defragmenter
+Name:          defrag
+Version:       0.73
+Release:       1
+Copyright:     GPL
+Group:         Utilities/System
+Source:                ftp://sunsite.unc.edu/pub/Linux/system/filesystems/%{name}-%{version}.tar.gz
+Patch0:                defrag-0.73-glibc.patch
+Patch1:                defrag-makefile.patch
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+Linux filesystem defragmenters.
+The programs in this package will reorganise data on minix, ext, ext2
+and xia file system partitions in order to improve the file system's
+performance.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+
+%build
+make OPTI="$RPM_OPT_FLAGS" LDFLAGS=-s
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/sbin,%{_mandir}/man8}
+make install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* \
+       BUGS ChangeLog NEWS README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (644,root,root,755)
+%doc {BUGS,ChangeLog,NEWS,README}.gz
+%attr(750,root,root) /sbin/e2defrag
+%attr(750,root,root) /sbin/e2defrag.static
+%attr(750,root,root) /sbin/defrag
+%attr(750,root,root) /sbin/e2dump
+%attr(750,root,root) /sbin/frag
+%{_mandir}/man8/*.gz
This page took 0.066861 seconds and 4 git commands to generate.