SHA256
1
0
forked from pool/alure

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
This commit is contained in:
Ferdinand Thiessen 2017-06-07 22:24:29 +00:00 committed by Git OBS Bridge
parent 0f9cdb3a0d
commit d27e077787
2 changed files with 22 additions and 10 deletions

View File

@ -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

View File

@ -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