From d27e077787d6a703294b69d9cd1d8c96e60e1fee67388e7bb0ce1da876db4d61 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 7 Jun 2017 22:24:29 +0000 Subject: [PATCH] Accepting request 500842 from home:Mailaender:branches:games prepare for a Factory submission OBS-URL: https://build.opensuse.org/request/show/500842 OBS-URL: https://build.opensuse.org/package/show/games/alure?expand=0&rev=3 --- alure.changes | 5 +++++ alure.spec | 27 +++++++++++++++++---------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/alure.changes b/alure.changes index 21a2e16..fdeecb2 100644 --- a/alure.changes +++ b/alure.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 3 11:59:24 UTC 2017 - mailaender@opensuse.org + +- Implement shared library policy + ------------------------------------------------------------------- Thu May 4 04:58:31 UTC 2017 - buckyballreaction@gmail.com diff --git a/alure.spec b/alure.spec index ca5a783..cf27417 100644 --- a/alure.spec +++ b/alure.spec @@ -20,8 +20,8 @@ Name: alure Version: 1.2 Release: 0 -# ALURE code is LGPL-2.0+; note -devel subpackage has its own license tag Summary: Audio Library Tools REloaded +# ALURE code is LGPL-2.0+; note -devel subpackage has its own license tag License: LGPL-2.0+ Group: System/Libraries Url: http://kcat.strangesoft.net/alure.html @@ -48,17 +48,25 @@ applications. This includes device enumeration and initialization, file loading, and streaming. %package devel -# Devel doc includes some files under GPLv2+ from NaturalDocs Summary: Development files for %{name} +# Devel doc includes some files under GPLv2+ from NaturalDocs License: LGPL-2.0+ and GPL-2.0+ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} -#Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package -n libalure1 +Summary: Shared library for Alure +License: LGPL-2.0+ +Group: System/Libraries + +%description -n libalure1 +ALURE is a utility library to help manage common tasks with OpenAL +applications. + %prep %setup -q %patch0 @@ -79,19 +87,18 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}/html # fix encoding 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 +%post -n libalure1 -p /sbin/ldconfig +%postun -n libalure1 -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING -%{_libdir}/*.so.* %{_bindir}/alure* +%files -n libalure1 +%defattr(-,root,root) +%{_libdir}/libalure.so.* + %files devel %defattr(-,root,root,-) %doc docs/html examples