Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
libmikmod
libmikmod.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmikmod.spec of Package libmikmod
# # spec file for package libmikmod # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libmikmod %define lname libmikmod2 BuildRequires: esound-devel BuildRequires: libtool %if 0%{suse_version} > 1220 BuildRequires: makeinfo %endif Url: http://mikmod.raphnet.net/ Summary: MikMod Sound Library License: LGPL-2.1+ Group: Development/Libraries/C and C++ Version: 3.1.12 Release: 0 Source: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Source2: baselibs.conf Patch0: %{name}-3.1.12-CVE-2007-6720.diff Patch1: %{name}-3.1.12-CVE-2009-0179.diff Patch2: %{name}-3.1.12-64bit-fix.diff Patch3: %{name}-3.1.12-autotools.diff Patch4: %{name}-3.1.12-config-fix.diff Patch5: %{name}-3.1.12-conftest_fix.diff Patch6: %{name}-3.1.12-exitcrash-fix.diff Patch7: %{name}-3.1.12-loopingvolume-fix.diff Patch8: %{name}-3.1.12-CVE-2009-3995,3996.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %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 %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. %package devel Summary: Development files for MikMod Sound Library Group: Development/Libraries/C and C++ Requires: %lname = %version Requires: audiofile-devel Requires: glibc-devel PreReq: %install_info_prereq # bug437293 %ifarch ppc64 Obsoletes: libmikmod-devel-64bit %endif # %description devel This package contains files needed for compiling programs using libmikmod. 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. %prep %setup -q %patch0 -p1 %patch1 %patch2 -p1 %patch3 %patch4 %patch5 %patch6 -p1 %patch7 -p1 %patch8 %build autoreconf -f -i %configure --disable-static --with-pic make %{?_smp_mflags} %install %makeinstall cmp $RPM_BUILD_ROOT%{_includedir}/mikmod{,_build}.h && ln -f $RPM_BUILD_ROOT%{_includedir}/mikmod{,_build}.h %{__rm} -f %{buildroot}%{_libdir}/*.la %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %post devel %install_info --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz %postun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/mikmod.info.gz %files -n %lname %defattr(-,root,root) %doc COPYING.LIB COPYING.LESSER %{_libdir}/libmikmod.so.2* %files devel %defattr(-,root,root) %doc README AUTHORS NEWS TODO %{_bindir}/*-config %{_datadir}/aclocal/libmikmod.m4 %{_includedir}/* %doc %{_infodir}/mikmod* %{_libdir}/libmikmod.so %doc %{_mandir}/man1/*-config.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor