Blob Blame History Raw
Name:           fatsort
Version:        0.9.8.2
Release:        2%{?dist}
Summary:        Fatsort sorts the FAT of FAT16 and FAT32 filesystems

Group:          Applications/System
License:        GPLv2+
URL:            http://%{name}.berlios.de/
Source0:        http://download2.berlios.de/%{name}/%{name}-%{version}.tar.gz
Patch0:         fatsort-0.9.8.2-CFLAGS.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
Fatsort is a utility written in C to sort FAT16 and FAT32 filesystems. It is
needed to sort files on cheap mp3 players that display files not sorted by
their name but by their entry in the file allocation table.


%prep
%setup -q
%patch -p1 -b .CFLAGS


%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
make install DESTDIR=$RPM_BUILD_ROOT SBINDIR=%{_sbindir}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE.txt README TODO
%{_sbindir}/fatsort


%changelog
* Mon Jul 07 2008 Till Maas <opensource@till.name> - 0.9.8.2-2
- Fix CFLAGS handling in the Makefile (Red Hat Bug #454212)

* Wed Jun 11 2008 Till Maas <opensource till name> - 0.9.8.2-1
- New upstream release

* Wed Jun 11 2008 Till Maas <opensource till name> - 0.9.8.1-1
- New upstream release

* Mon Jun 09 2008 Till Maas <opensource till name> - 0.9.8-1
- New upstream release
- move install to Makefile/patch
- ChangeLog is now CHANGES
- Disable stripping in Makefile

* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.7.1-3
- Autorebuild for GCC 4.3

* Thu Aug 23 2007 Till Maas <opensource till name> - 0.9.7.1-2
- bump version for rebuild
- update License Tag

* Sun May 06 2007 Till Maas <opensource till name> - 0.9.7.1-1
- new version (fatsort supports >4GB filesystems now)

* Thu Feb 01 2007 Till Maas <opensource till name> - 0.9.7-1
- version bump
- added some linebreaks in changelog
- changed e-mail address obfuscation
- corrected time of changelog entries

* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.9.6.1-8
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21

* Mon Sep 18 2006 Till Maas <opensource till name> - 0.9.6.1-7
- Fixed typos in changelog

* Sat Sep 02 2006 Till Maas <opensource till name> - 0.9.6.1-6
- Bumped release to build again because of yum failure on ppc

* Sat Sep 02 2006 Till Maas <opensource till name> - 0.9.6.1-5
- Bumped release to make "make tag" work

* Sat Sep 02 2006 Till Maas <opensource till name> - 0.9.6.1-4
- Bumped release for mass rebuild

* Fri Jul 28 2006 Till Maas <opensource till name> - 0.9.6.1-3
- Use $RPM_OPT_FLAGS instead of %%{optflags}

* Tue Jul 04 2006 Till Maas <opensource till name> - 0.9.6.1-2
- made Source0 to valid URL

* Sat Jul 01 2006 Till Maas <opensource till name> - 0.9.6.1-1
- new version 

* Fri Jun 30 2006 Till Maas <opensource till name> - 0.9.6-1
- Created from scratch for fedora extras