From 14eaffd1bcde8cd5ab84151c9a77156a192900ca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Sep 2014 07:16:33 +0200 Subject: libxmp: import from rawhide --- libxmp.spec | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 libxmp.spec diff --git a/libxmp.spec b/libxmp.spec new file mode 100644 index 0000000..c186895 --- /dev/null +++ b/libxmp.spec @@ -0,0 +1,107 @@ +Name: libxmp +Version: 4.2.8 +Release: 2%{?dist} +Summary: A multi-format module playback library +Source0: http://downloads.sourceforge.net/project/xmp/libxmp/%{version}/libxmp-%{version}.tar.gz +Provides: bundled(md5-plumb) +License: BSD and LGPLv2+ and MIT and Public Domain +URL: http://xmp.sourceforge.net/ + +%description +Libxmp is a library that renders module files to PCM data. It supports +over 90 mainstream and obscure module formats including Protracker (MOD), +Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT). + +Many compressed module formats are supported, including popular Unix, DOS, +and Amiga file packers including gzip, bzip2, SQSH, Powerpack, etc. + +%package devel +Summary: A multi-format module playback library development files +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Libxmp is a library that renders module files to PCM data. It supports +over 90 mainstream and obscure module formats including Protracker (MOD), +Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT). + +Many compressed module formats are supported, including popular Unix, DOS, +and Amiga file packers including gzip, bzip2, SQSH, Powerpack, etc. + +This package contains the header and development library. + +%prep +%setup -q +for file in docs/Changelog ; do + iconv -f iso8859-1 -t utf8 -o $file.utf $file && touch -r $file $file.utf && mv $file.utf $file +done + +%build +%configure +make V=1 %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} +install -Dpm644 docs/libxmp.3 %{buildroot}%{_mandir}/man3/libxmp.3 +chmod 755 %{buildroot}%{_libdir}/libxmp.so.* + +%check +make check %{?_smp_mflags} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc README docs/COPYING.LIB docs/Changelog docs/CREDITS +%{_libdir}/libxmp.so.* + +%files devel +%doc docs/libxmp.html docs/libxmp.pdf docs/*.txt +%{_includedir}/xmp.h +%{_mandir}/man3/libxmp.3* +%{_libdir}/pkgconfig/libxmp.pc +%{_libdir}/libxmp.so + +%changelog +* Sun Aug 17 2014 Fedora Release Engineering - 4.2.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Wed Jul 16 2014 Dominik Mierzejewski - 4.2.8-1 +- update to 4.2.8 (http://sourceforge.net/projects/xmp/files/libxmp/4.2.8/Changelog/view) + +* Sat Jun 07 2014 Fedora Release Engineering - 4.2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Apr 27 2014 Dominik Mierzejewski - 4.2.7-1 +- update to 4.2.7 (http://sourceforge.net/projects/xmp/files/libxmp/4.2.7/Changelog/view) + +* Sun Mar 02 2014 Dominik Mierzejewski - 4.2.5-1 +- update to 4.2.5 (http://sourceforge.net/projects/xmp/files/libxmp/4.2.5/Changelog/view) + +* Mon Feb 24 2014 Dominik Mierzejewski - 4.2.4-1 +- update to 4.2.4 (http://sourceforge.net/projects/xmp/files/libxmp/4.2.4/Changelog/view) +- drop the list of files with licenses other than LGPLv2.1+, + it's growing too much + +* Mon Jan 13 2014 Dominik Mierzejewski - 4.2.2-1 +- update to 4.2.2 + +* Sun Nov 17 2013 Dominik Mierzejewski - 4.2.0-1 +- update to 4.2.0 (http://sourceforge.net/projects/xmp/files/libxmp/4.2.0/Changelog/view) +- add proper provides for bundled md5-plumb (version unknown) +- drop any mention of unzoo.c, it's gone from the source + +* Sat Aug 03 2013 Fedora Release Engineering - 4.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 04 2013 Dominik Mierzejewski - 4.1.5-1 +- update to 4.1.5 +- require the same arch of main package for -devel subpackage + +* Wed May 29 2013 Dominik Mierzejewski - 4.1.4-1 +- update to 4.1.4 +- drop st02-ok sample from -devel doc (removed by upstream) +- review fixes + +* Mon Apr 29 2013 Dominik Mierzejewski - 4.1.1-1 +- initial build based on xmp.spec -- cgit