0c7db51
Name:           dumb
0c7db51
Version:        0.9.3
1270eac
Release:        12%{?dist}
0c7db51
Summary:        IT, XM, S3M and MOD player library
0c7db51
Group:          System Environment/Libraries
e0a58cb
License:        zlib
0c7db51
URL:            http://dumb.sourceforge.net/
e0a58cb
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
e0a58cb
Source1:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}-autotools.tar.gz
e0a58cb
Source2:        license-clarification.eml
866d272
Patch0:         dumb-0.9.3-CVE-2006-3668.patch
e0a58cb
Patch1:         dumb-0.9.3-license-clarification.patch
0c7db51
BuildRequires:  allegro-devel
0c7db51
0c7db51
%description
0c7db51
IT, XM, S3M and MOD player library. Mainly targeted for use with the allegro
0c7db51
game programming library, but it can be used without allegro. Faithful to the
0c7db51
original trackers, especially IT.
0c7db51
0c7db51
0c7db51
%package devel
0c7db51
Summary: Development libraries and headers for dumb
0c7db51
Group: Development/Libraries
0c7db51
Requires: %{name} = %{version}
5bc4a72
Requires: allegro-devel
0c7db51
0c7db51
%description devel
0c7db51
The developmental files that must be installed in order to compile
0c7db51
applications which use dumb.
0c7db51
0c7db51
0c7db51
%prep
0c7db51
%setup -q -b 01
866d272
%patch0 -p1 -z .cve-2006-3668
e0a58cb
%patch1 -p1
e0a58cb
cp %{SOURCE2} .
0c7db51
0c7db51
0c7db51
%build
0c7db51
%configure
ed71678
make %{?_smp_mflags} LIBS=-lm
0c7db51
0c7db51
0c7db51
%install
0c7db51
make install DESTDIR=$RPM_BUILD_ROOT
0c7db51
#clean out .la and static libs
0c7db51
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a $RPM_BUILD_ROOT%{_libdir}/*.la
0c7db51
0c7db51
0c7db51
%post -p /sbin/ldconfig
0c7db51
%postun -p /sbin/ldconfig
0c7db51
0c7db51
0c7db51
%files
0c7db51
%defattr(-,root,root,-)
e0a58cb
%doc licence.txt release.txt readme.txt license-clarification.eml
0c7db51
%{_bindir}/dumb*
0c7db51
%{_libdir}/lib*-%{version}.so
0c7db51
0c7db51
%files devel
0c7db51
%defattr(-,root,root,-)
0c7db51
%doc docs/deprec.txt docs/dumb.txt docs/faq.txt docs/fnptr.txt docs/howto.txt docs/ptr.txt
0c7db51
%{_includedir}/*.h
0c7db51
%{_libdir}/libdumb.so
0c7db51
%{_libdir}/libaldmb.so
0c7db51
0c7db51
0c7db51
%changelog
1270eac
* Wed Jul 13 2011 Hans de Goede <hdegoede@redhat.com> - 0.9.3-12
1270eac
- Rebuilt for new allegro-4.4
1270eac
ed71678
* Tue Mar 08 2011 Hans de Goede <hdegoede@redhat.com> - 0.9.3-11
ed71678
- Fix unresolved symbols from libm in the libraries
ed71678
a64e156
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-10
a64e156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a64e156
4db26ec
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-9
4db26ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4db26ec
68ab94d
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-8
68ab94d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
68ab94d
87e0264
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.3-7
87e0264
- Autorebuild for GCC 4.3
87e0264
e0a58cb
* Tue Aug  7 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.3-6
e0a58cb
- Clarify license after talking about it with upstream
e0a58cb
- Include permission notice from upstream for license clarification
e0a58cb
- Update License tag for new Licensing Guidelines compliance
e0a58cb
b63f6dd
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.3-5
b63f6dd
- FE6 Rebuild
b63f6dd
866d272
* Thu Jul 27 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.3-4
866d272
- Fix CVE-2006-3668, thanks to Debian for the patch
866d272
5bc4a72
* Wed Mar 29 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.3-3
5bc4a72
- Add Requires: allegro-devel to -devel package
5bc4a72
0c7db51
* Thu Mar 16 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.3-2
e0a58cb
- Drop modplug.txt from %%doc and move release.txt and readme.txt from the
0c7db51
 -devel package to the main package (bz 185576).
0c7db51
0c7db51
* Fri Jan 27 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.3-1
0c7db51
- Initial Fedora Extras package