SHA256
1
0
forked from pool/libmikmod

Accepting request 225113 from home:RedDwarf:branches:multimedia:libs

- Update to version 3.3.5
  + Lots of changes. See NEWS file or http://mikmod.sourceforge.net/#news
- Remove CVE-2007-6720.diff, libmikmod-3.2.0-loopingvolume-fix.diff,
  libmikmod-altivec.patch and libmikmod-lp64.patch. Applied upstream.
- Remove libmikmod-rpmlintrc. Doesn't apply anymore.
- Remove esound-devel BuildRequires
- Add pkg-config, pkgconfig(alsa) and pkgconfig(libpulse-simple) BuildRequires
- Disable OSS sound output

OBS-URL: https://build.opensuse.org/request/show/225113
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmikmod?expand=0&rev=22
This commit is contained in:
Tomáš Chvátal
2014-03-26 14:59:13 +00:00
committed by Git OBS Bridge
parent aaade4ac53
commit 2ed8575b96
9 changed files with 23 additions and 185 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package libmikmod
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -18,24 +18,18 @@
Name: libmikmod
%define lname libmikmod3
BuildRequires: esound-devel
BuildRequires: libtool
%if 0%{suse_version} > 1220
BuildRequires: makeinfo
%endif
BuildRequires: pkg-config
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpulse-simple)
Url: http://mikmod.raphnet.net/
Summary: MikMod Sound Library
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Version: 3.2.0
Version: 3.3.5
Release: 0
Source: http://mikmod.shlomifish.org/files/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
Source2: baselibs.conf
Patch0: libmikmod-lp64.patch
Patch1: CVE-2007-6720.diff
Patch2: libmikmod-3.2.0-loopingvolume-fix.diff
Patch3: libmikmod-altivec.patch
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -68,7 +62,6 @@ mtm, xm, and it.
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
@@ -91,13 +84,9 @@ mtm, xm, and it.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure --disable-static --with-pic
%configure --disable-static --disable-oss
make %{?_smp_mflags}
%install
@@ -127,6 +116,7 @@ ln -f $RPM_BUILD_ROOT%{_includedir}/mikmod{,_build}.h
%{_bindir}/*-config
%{_datadir}/aclocal/libmikmod.m4
%{_includedir}/*
%{_libdir}/pkgconfig/libmikmod.pc
%doc %{_infodir}/mikmod*
%{_libdir}/libmikmod.so
%doc %{_mandir}/man1/*-config.*