[libsidplayfp] Some minor style changes
Hans de Goede
jwrdegoede at fedoraproject.org
Mon Apr 22 20:21:54 UTC 2013
commit 28a1e427a57f7374aac15db8ed023a73128ee1a3
Author: Hans de Goede <hdegoede at redhat.com>
Date: Mon Apr 22 22:25:37 2013 +0200
Some minor style changes
- Fix rpmlint warnings about executable files in debuginfo sub-package
- Add a -devel-doc sub-package
.gitignore | 1 +
libsidplayfp.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..773ad49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libsidplayfp-1.0.1.tar.gz
diff --git a/libsidplayfp.spec b/libsidplayfp.spec
new file mode 100644
index 0000000..cbb7052
--- /dev/null
+++ b/libsidplayfp.spec
@@ -0,0 +1,82 @@
+Name: libsidplayfp
+Version: 1.0.1
+Release: 2%{?dist}
+Summary: SID chip music module playing library
+Group: System Environment/Libraries
+License: GPLv2+
+URL: http://sourceforge.net/projects/sidplay-residfp/
+Source0: http://downloads.sourceforge.net/sidplay-residfp/%{name}-%{version}.tar.gz
+BuildRequires: doxygen
+
+%description
+This library provides support for playing SID music modules originally
+created on Commodore 64 and compatibles. It contains a processing engine
+for MOS 6510 machine code and MOS 6581 Sound Interface Device (SID)
+chip output. It is used by music player programs like SIDPLAY and
+several plug-ins for versatile audio players.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+These are the files needed for compiling programs that use %{name}.
+
+
+%package devel-doc
+Summary: API documentation for %{name}
+Group: Development/Libraries
+BuildArch: noarch
+
+%description devel-doc
+This package contains API documentation for %{name}.
+
+
+%prep
+%setup -q
+chmod -x builders/residfp-builder/residfp/resample/SincResampler.cpp
+chmod -x builders/residfp-builder/residfp/WaveformGenerator.cpp
+chmod -x builders/residfp-builder/residfp/Integrator.h
+
+
+%build
+%configure --disable-static
+make %{_smp_mflags} all doc
+
+
+%install
+%make_install INSTALL="install -p"
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc AUTHORS COPYING NEWS README TODO
+%{_libdir}/libsidplayfp.so.3*
+%{_libdir}/libstilview.so.0*
+
+%files devel
+%{_libdir}/libsidplayfp.so
+%{_libdir}/libstilview.so
+%{_includedir}/sidplayfp/
+%{_includedir}/stilview/
+%{_libdir}/pkgconfig/*.pc
+
+%files devel-doc
+%doc docs/html
+
+
+%changelog
+* Thu Apr 11 2013 Hans de Goede <hdegoede at redhat.com> - 1.0.1-2
+- Some minor style changes
+- Fix rpmlint warnings about executable files in debuginfo sub-package
+- Add a -devel-doc sub-package
+
+* Mon Apr 8 2013 Michael Schwendt <mschwendt at fedoraproject.org> - 1.0.1-1
+- Initial RPM packaging for Fedora.
diff --git a/sources b/sources
index e69de29..08f1727 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+232b7d16b9bb7bbb4b9304b85b42b09b libsidplayfp-1.0.1.tar.gz
More information about the scm-commits
mailing list