b01b153
Name:           fatsort
657bc31
Version:        0.9.8.2
92088c9
Release:        2%{?dist}
b01b153
Summary:        Fatsort sorts the FAT of FAT16 and FAT32 filesystems
b01b153
b01b153
Group:          Applications/System
215f803
License:        GPLv2+
b01b153
URL:            http://%{name}.berlios.de/
b01b153
Source0:        http://download2.berlios.de/%{name}/%{name}-%{version}.tar.gz
92088c9
Patch0:         fatsort-0.9.8.2-CFLAGS.patch
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
b01b153
their name but by their entry in the file allocation table.
b01b153
b01b153
b01b153
%prep
b01b153
%setup -q
92088c9
%patch -p1 -b .CFLAGS
b01b153
b01b153
b01b153
%build
657bc31
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
b01b153
b01b153
b01b153
%install
b01b153
rm -rf $RPM_BUILD_ROOT
b01b153
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
657bc31
make install DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}
b01b153
b01b153
b01b153
%clean
b01b153
rm -rf $RPM_BUILD_ROOT
b01b153
b01b153
b01b153
%files
b01b153
%defattr(-,root,root,-)
657bc31
%doc CHANGES LICENSE.txt README TODO
b01b153
%{_sbindir}/fatsort
b01b153
b01b153
b01b153
%changelog
92088c9
* Mon Jul 07 2008 Till Maas <opensource@till.name> - 0.9.8.2-2
92088c9
- Fix CFLAGS handling in the Makefile (Red Hat Bug #454212)
92088c9
657bc31
* Wed Jun 11 2008 Till Maas <opensource till name> - 0.9.8.2-1
657bc31
- New upstream release
657bc31
657bc31
* Wed Jun 11 2008 Till Maas <opensource till name> - 0.9.8.1-1
657bc31
- New upstream release
657bc31
657bc31
* Mon Jun 09 2008 Till Maas <opensource till name> - 0.9.8-1
657bc31
- New upstream release
657bc31
- move install to Makefile/patch
657bc31
- ChangeLog is now CHANGES
657bc31
- Disable stripping in Makefile
657bc31
657bc31
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.7.1-3
657bc31
- Autorebuild for GCC 4.3
657bc31
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