commit 1870afeb80a99da749d748164ff8a5314eccec26
Author: Szymon Siwek <[email protected]>
Date:   Mon Oct 6 16:54:34 2014 +0200

    init
    
    - Utility that sorts FAT12, FAT16 and FAT32 partition

 fatsort.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/fatsort.spec b/fatsort.spec
new file mode 100644
index 0000000..2548446
--- /dev/null
+++ b/fatsort.spec
@@ -0,0 +1,48 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+#
+Summary:       Utility that sorts FAT12, FAT16 and FAT32 partition
+Name:          fatsort
+Version:       1.3.365
+Release:       0.1
+License:       GPL v2
+Group:         Applications
+Source0:       
http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: f1232f40eba6ee9362acd9f0d5209dcf
+URL:           http://fatsort.sourceforge.net
+%{?with_tests:BuildRequires:   bbe}
+%{?with_tests:BuildRequires:   dosfstools}
+BuildRequires: help2man
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FATSort is a C utility that sorts FAT12, FAT16 and FAT32 partitions. It even 
can handle long file name entries. It was developed because I wanted to sort my 
MP3 files on my MP3 hardware player. Unfortunetly, there was no utility out 
there so far, so I had to write it myself. FATSort reads the boot sector and 
sorts the directory structure recursively.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+       CC=%{__cc} \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%{?with_tests:%{__make} tests}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       SBINDIR=%{_sbindir} \
+       MANDIR=%{_mandir}/man1 \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README
+%attr(755,root,root) %{_sbindir}/fatsort
+%{_mandir}/man1/fatsort.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fatsort.git/commitdiff/1870afeb80a99da749d748164ff8a5314eccec26

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to