b01b153
Name:           fatsort
aa07977
Version:        0.9.17.269
aa07977
Release:        1%{?dist}
45d06fb
Summary:        FAT sorter for FAT16 and FAT32 filesystems
b01b153
b01b153
Group:          Applications/System
215f803
License:        GPLv2+
65a26f9
URL:            http://%{name}.sf.net/
65a26f9
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
b01b153
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b01b153
b01b153
b01b153
%description
b01b153
Fatsort is a utility written in C to sort FAT16 and FAT32 filesystems. It is
b01b153
needed to sort files on cheap mp3 players that display files not sorted by
ddb41ac
their name but by the order they appear in the file allocation table (FAT).
b01b153
b01b153
b01b153
%prep
65a26f9
%setup -q
a47b811
b01b153
b01b153
%build
a47b811
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
b01b153
b01b153
b01b153
%install
b01b153
rm -rf $RPM_BUILD_ROOT
53f9430
make install DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir} MANDIR=%{_mandir}/man1
b01b153
b01b153
b01b153
%clean
b01b153
rm -rf $RPM_BUILD_ROOT
b01b153
b01b153
b01b153
%files
b01b153
%defattr(-,root,root,-)
7a08e5f
%doc CHANGES LICENSE.txt README TODO
53f9430
%{_mandir}/man1/fatsort.1*
b01b153
%{_sbindir}/fatsort
b01b153
b01b153
b01b153
%changelog
aa07977
* Sun Jun 10 2012 Till Maas <opensource@till.name> - 0.9.17.269-1
aa07977
- Update to new release
aa07977
9d3ab91
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.16.254-2
9d3ab91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9d3ab91
2a24466
* Thu Dec 08 2011 Till Maas <opensource@till.name> - 0.9.16.254-1
2a24466
- Update to new release
2a24466
65a26f9
* Sun Oct 30 2011 Till Maas <opensource@till.name> - 0.9.15.247-1
65a26f9
- Update to new release
65a26f9
- Adjust to new upstream location
65a26f9
53f9430
* Sat Aug 27 2011 Till Maas <opensource@till.name> - 0.9.14-1
53f9430
- Update to new release
53f9430
- Add manpage
53f9430
e6de884
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-5
e6de884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e6de884
b94a243
* Fri Jan 08 2010 Till Maas <opensource@till.name> - 0.9.10-4
b94a243
- Use %%global instead of %%define
b94a243
97eed07
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-3
97eed07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
97eed07
06f5702
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-2
06f5702
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
06f5702
d9470e6
* Mon Dec 15 2008 Till Maas <opensource@till.name> - 0.9.10-1
d9470e6
- Update to new release
d9470e6
ddb41ac
* Tue Dec 02 2008 Till Maas <opensource@till.name> - 0.9.9.1-2
ddb41ac
- Fix typo in %%description
ddb41ac
58998b3
* Tue Dec 02 2008 Till Maas <opensource@till.name> - 0.9.9.1-1
58998b3
- Update to new release, that really contains the upstreamed patches
58998b3
3f642d5
* Tue Dec 02 2008 Till Maas <opensource@till.name> - 0.9.9-1
3f642d5
- Update to new release
3f642d5
- Remove upstreamed patches
3f642d5
45d06fb
* Sat Nov 22 2008 Till Maas <opensource@till.name> - 0.9.8.3-2
45d06fb
- Update summary and description
45d06fb
86ca866
* Tue Jul 15 2008 Till Maas <opensource@till.name> - 0.9.8.3-1
86ca866
- Update to new version
86ca866
- Fix Makefile install target
86ca866
a5a8ce7
* Mon Jul 07 2008 Till Maas <opensource@till.name> - 0.9.8.2-2
a5a8ce7
- Fix CFLAGS handling in the Makefile (Red Hat Bug #454212)
a5a8ce7
97c6e6c
* Wed Jun 11 2008 Till Maas <opensource till name> - 0.9.8.2-1
97c6e6c
- New upstream release
97c6e6c
a47b811
* Wed Jun 11 2008 Till Maas <opensource till name> - 0.9.8.1-1
a47b811
- New upstream release
a47b811
fd616ce
* Mon Jun 09 2008 Till Maas <opensource till name> - 0.9.8-1
fd616ce
- New upstream release
7a08e5f
- move install to Makefile/patch
7a08e5f
- ChangeLog is now CHANGES
4e7fdb9
- Disable stripping in Makefile
fd616ce
2f24222
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.7.1-3
2f24222
- Autorebuild for GCC 4.3
2f24222
215f803
* Thu Aug 23 2007 Till Maas <opensource till name> - 0.9.7.1-2
215f803
- bump version for rebuild
215f803
- update License Tag
215f803
790f602
* Sun May 06 2007 Till Maas <opensource till name> - 0.9.7.1-1
790f602
- new version (fatsort supports >4GB filesystems now)
790f602
2e744a5
* Thu Feb 01 2007 Till Maas <opensource till name> - 0.9.7-1
2e744a5
- version bump
2e744a5
- added some linebreaks in changelog
2e744a5
- changed e-mail address obfuscation
2e744a5
- corrected time of changelog entries
2e744a5
d7ab75e
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.9.6.1-8
d7ab75e
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
d7ab75e
2e744a5
* Mon Sep 18 2006 Till Maas <opensource till name> - 0.9.6.1-7
2e744a5
- Fixed typos in changelog
2e744a5
2e744a5
* Sat Sep 02 2006 Till Maas <opensource till name> - 0.9.6.1-6
2e744a5
- Bumped release to build again because of yum failure on ppc
2e744a5
2e744a5
* Sat Sep 02 2006 Till Maas <opensource till name> - 0.9.6.1-5
2e744a5
- Bumped release to make "make tag" work
2e744a5
2e744a5
* Sat Sep 02 2006 Till Maas <opensource till name> - 0.9.6.1-4
2e744a5
- Bumped release for mass rebuild
2e744a5
2e744a5
* Fri Jul 28 2006 Till Maas <opensource till name> - 0.9.6.1-3
b01b153
- Use $RPM_OPT_FLAGS instead of %%{optflags}
2e744a5
2e744a5
* Tue Jul 04 2006 Till Maas <opensource till name> - 0.9.6.1-2
b01b153
- made Source0 to valid URL
2e744a5
2e744a5
* Sat Jul 01 2006 Till Maas <opensource till name> - 0.9.6.1-1
b01b153
- new version 
2e744a5
2e744a5
* Fri Jun 30 2006 Till Maas <opensource till name> - 0.9.6-1
b01b153
- Created from scratch for fedora extras