From 0f9cdb3a0d3ef4ac301c3095f1dbfb10282083c126e0b750e76b037106932f1f Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 4 May 2017 15:36:42 +0000 Subject: [PATCH] Accepting request 492768 from home:dbuck:branches:games Enable libmodplug OBS-URL: https://build.opensuse.org/request/show/492768 OBS-URL: https://build.opensuse.org/package/show/games/alure?expand=0&rev=2 --- alure.changes | 5 +++++ alure.spec | 32 ++++++++++++++++++-------------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/alure.changes b/alure.changes index f29a626..21a2e16 100644 --- a/alure.changes +++ b/alure.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 4 04:58:31 UTC 2017 - buckyballreaction@gmail.com + +- Enable libmodplug support + ------------------------------------------------------------------- Sat Jul 14 22:00:59 UTC 2012 - devel.openSUSE.org@gmail.com diff --git a/alure.spec b/alure.spec index a751666..ca5a783 100644 --- a/alure.spec +++ b/alure.spec @@ -1,20 +1,30 @@ +# # spec file for package alure # +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 openSUSE_user1 -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# +# 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: alure Version: 1.2 -Release: 1 +Release: 0 # ALURE code is LGPL-2.0+; note -devel subpackage has its own license tag -License: LGPL-2.0+ Summary: Audio Library Tools REloaded -Url: http://kcat.strangesoft.net/alure.html +License: LGPL-2.0+ Group: System/Libraries +Url: http://kcat.strangesoft.net/alure.html Source0: http://kcat.strangesoft.net/%{name}-releases/%{name}-%{version}.tar.bz2 # patch for build with gcc47 Patch0: alure-gcc47.patch @@ -25,6 +35,7 @@ BuildRequires: flac-devel BuildRequires: fluidsynth-devel BuildRequires: gcc-c++ BuildRequires: libdumb-devel +BuildRequires: libmodplug-devel BuildRequires: libsndfile-devel BuildRequires: libvorbis-devel BuildRequires: openal-soft-devel @@ -38,8 +49,8 @@ file loading, and streaming. %package devel # Devel doc includes some files under GPLv2+ from NaturalDocs -License: LGPL-2.0+ and GPL-2.0+ Summary: Development files for %{name} +License: LGPL-2.0+ and GPL-2.0+ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} #Requires: pkgconfig @@ -53,14 +64,12 @@ developing applications that use %{name}. %patch0 %patch1 - %build #sed -i 's|SET(libdir "\\${exec_prefix}/lib${LIB_SUFFIX}")|SET(libdir $LIB_INSTALL_DIR)|' CMakeLists.txt -cmake . -DBUILD_STATIC=OFF -DMPG123=OFF -DCMAKE_INSTALL_PREFIX=%{_prefix} +cmake . -DBUILD_STATIC=OFF -DMPG123=OFF -DMODPLUG=ON -DCMAKE_INSTALL_PREFIX=%{_prefix} #-DLIB_INSTALL_DIR=%%{_libdir} make VERBOSE=1 %{?_smp_mflags} - %install %make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' @@ -73,20 +82,16 @@ sed -i 's/\r$//' docs/html/javascript/main.js docs/html/styles/1.css %clean rm -rf %{buildroot} - %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig - %files %defattr(-,root,root,-) %doc COPYING %{_libdir}/*.so.* %{_bindir}/alure* - %files devel %defattr(-,root,root,-) %doc docs/html examples @@ -94,5 +99,4 @@ rm -rf %{buildroot} %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc - %changelog