2007-01-16 00:22:25 +01:00
|
|
|
#
|
2011-11-19 22:04:16 +01:00
|
|
|
# spec file for package libmikmod
|
2007-01-16 00:22:25 +01:00
|
|
|
#
|
2014-03-26 15:59:13 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:25 +01:00
|
|
|
#
|
2009-01-08 18:38:29 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-03-23 21:22:07 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:22:25 +01:00
|
|
|
#
|
|
|
|
|
2008-04-10 14:31:04 +02:00
|
|
|
|
2007-03-23 21:22:07 +01:00
|
|
|
Name: libmikmod
|
2013-03-26 19:29:37 +01:00
|
|
|
%define lname libmikmod3
|
2012-09-10 12:53:19 +02:00
|
|
|
BuildRequires: makeinfo
|
2014-03-26 15:59:13 +01:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(libpulse-simple)
|
2008-04-10 14:31:04 +02:00
|
|
|
Url: http://mikmod.raphnet.net/
|
2007-03-23 21:22:07 +01:00
|
|
|
Summary: MikMod Sound Library
|
2012-06-15 19:09:57 +02:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: Development/Libraries/C and C++
|
2014-04-07 12:08:00 +02:00
|
|
|
Version: 3.3.6
|
2012-06-15 19:09:57 +02:00
|
|
|
Release: 0
|
2013-03-26 19:29:37 +01:00
|
|
|
Source: http://mikmod.shlomifish.org/files/%{name}-%{version}.tar.gz
|
2014-03-26 15:59:13 +01:00
|
|
|
Source1: baselibs.conf
|
2007-04-12 18:00:02 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:22:25 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Libmikmod is a portable sound library, capable of playing samples as
|
|
|
|
well as module files. It was originally written by Jean-Paul Mikkers
|
|
|
|
(MikMak) for DOS. It supports OSS /dev/dsp, ALSA, and Esound and can
|
|
|
|
also write wav files. Supported file formats include mod, stm, s3m,
|
|
|
|
mtm, xm, and it.
|
|
|
|
|
2012-06-15 19:09:57 +02:00
|
|
|
%package -n %lname
|
|
|
|
Summary: MikMod Sound Library
|
|
|
|
Group: System/Libraries
|
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libmikmod-64bit
|
|
|
|
%endif
|
|
|
|
#
|
|
|
|
# O/P added 2012-06-11
|
|
|
|
Provides: libmikmod = %version-%release
|
|
|
|
Obsoletes: libmikmod < %version-%release
|
2007-01-16 00:22:25 +01:00
|
|
|
|
2012-06-15 19:09:57 +02:00
|
|
|
%description -n %lname
|
|
|
|
Libmikmod is a portable sound library, capable of playing samples as
|
|
|
|
well as module files. It was originally written by Jean-Paul Mikkers
|
|
|
|
(MikMak) for DOS. It supports OSS /dev/dsp, ALSA, and Esound and can
|
|
|
|
also write wav files. Supported file formats include mod, stm, s3m,
|
|
|
|
mtm, xm, and it.
|
2007-01-16 00:22:25 +01:00
|
|
|
|
2007-04-12 18:00:02 +02:00
|
|
|
%package devel
|
2007-09-02 10:09:27 +02:00
|
|
|
Summary: Development files for MikMod Sound Library
|
2012-06-15 19:09:57 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
Requires: glibc-devel
|
2007-04-12 18:00:02 +02:00
|
|
|
PreReq: %install_info_prereq
|
2009-01-08 18:38:29 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libmikmod-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-04-12 18:00:02 +02:00
|
|
|
|
|
|
|
%description devel
|
2007-09-02 10:09:27 +02:00
|
|
|
This package contains files needed for compiling programs using
|
|
|
|
libmikmod.
|
|
|
|
|
2007-04-12 18:00:02 +02:00
|
|
|
Libmikmod is a portable sound library, capable of playing samples as
|
|
|
|
well as module files. It was originally written by Jean-Paul Mikkers
|
|
|
|
(MikMak) for DOS. It supports OSS /dev/dsp, ALSA, and Esound and can
|
|
|
|
also write wav files. Supported file formats include mod, stm, s3m,
|
|
|
|
mtm, xm, and it.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:22:25 +01:00
|
|
|
%prep
|
2009-12-30 00:25:54 +01:00
|
|
|
%setup -q
|
2007-01-16 00:22:25 +01:00
|
|
|
|
|
|
|
%build
|
2014-03-26 15:59:13 +01:00
|
|
|
%configure --disable-static --disable-oss
|
2012-06-15 19:09:57 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:22:25 +01:00
|
|
|
|
|
|
|
%install
|
2007-04-12 18:00:02 +02:00
|
|
|
%makeinstall
|
2007-09-02 10:09:27 +02:00
|
|
|
cmp $RPM_BUILD_ROOT%{_includedir}/mikmod{,_build}.h &&
|
|
|
|
ln -f $RPM_BUILD_ROOT%{_includedir}/mikmod{,_build}.h
|
2009-01-12 02:03:04 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-04-12 18:00:02 +02:00
|
|
|
|
2012-06-15 19:09:57 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2007-01-16 00:22:25 +01:00
|
|
|
|
2012-06-15 19:09:57 +02:00
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2007-01-16 00:22:25 +01:00
|
|
|
|
2007-04-12 18:00:02 +02:00
|
|
|
%post devel
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz
|
2007-01-16 00:22:25 +01:00
|
|
|
|
2012-06-15 19:09:57 +02:00
|
|
|
%files -n %lname
|
2007-01-16 00:22:25 +01:00
|
|
|
%defattr(-,root,root)
|
2012-06-15 19:09:57 +02:00
|
|
|
%doc COPYING.LIB COPYING.LESSER
|
2013-03-26 19:29:37 +01:00
|
|
|
%{_libdir}/libmikmod.so.3*
|
2007-04-12 18:00:02 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2012-06-15 19:09:57 +02:00
|
|
|
%doc README AUTHORS NEWS TODO
|
2007-04-12 18:00:02 +02:00
|
|
|
%{_bindir}/*-config
|
|
|
|
%{_datadir}/aclocal/libmikmod.m4
|
2007-01-16 00:22:25 +01:00
|
|
|
%{_includedir}/*
|
2014-03-26 15:59:13 +01:00
|
|
|
%{_libdir}/pkgconfig/libmikmod.pc
|
2007-01-16 00:22:25 +01:00
|
|
|
%doc %{_infodir}/mikmod*
|
2007-04-12 18:00:02 +02:00
|
|
|
%{_libdir}/libmikmod.so
|
|
|
|
%doc %{_mandir}/man1/*-config.*
|
2007-01-16 00:22:25 +01:00
|
|
|
|
2007-03-23 21:22:07 +01:00
|
|
|
%changelog
|