[libxmp] initial import

Dominik Mierzejewski rathann at fedoraproject.org
Tue Jun 18 23:36:47 UTC 2013


commit 8ee2b95864e93ee5e535280ba1c052ed51f66e40
Author: Dominik Mierzejewski <rpm at greysector.net>
Date:   Wed Jun 19 01:36:13 2013 +0200

    initial import

 .gitignore  |    1 +
 libxmp.spec |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c0cb983 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libxmp-4.1.5.tar.gz
diff --git a/libxmp.spec b/libxmp.spec
new file mode 100644
index 0000000..1783603
--- /dev/null
+++ b/libxmp.spec
@@ -0,0 +1,82 @@
+Name: libxmp
+Version: 4.1.5
+Release: 1%{?dist}
+Summary: A multi-format module playback library
+Source0: http://downloads.sourceforge.net/project/xmp/libxmp/%{version}/libxmp-%{version}.tar.gz
+# most of the source is LGPLv2+, exceptions:
+# src/filter.c: MIT
+# src/md5.*: Public domain
+# src/fnmatch.*: BSD with advertising
+# src/depackers/mmcmp.c: MIT
+# src/depackers/ppdepack.c: Public domain
+# src/depackers/unzoo.c: MIT
+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
+* Tue Jun 04 2013 Dominik Mierzejewski <rpm at greysector.net> - 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 <rpm at greysector.net> - 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 <rpm at greysector.net> - 4.1.1-1
+- initial build based on xmp.spec
diff --git a/sources b/sources
index e69de29..761a8df 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+468c9331d769cc814be3d325bd2f749c  libxmp-4.1.5.tar.gz


More information about the scm-commits mailing list