SHA256
1
0
forked from pool/apulse

Accepting request 587877 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/587877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apulse?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2018-03-19 22:37:49 +00:00 committed by Git OBS Bridge
commit 7c562ab4a1
2 changed files with 20 additions and 9 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Mar 12 17:50:15 UTC 2018 - ilya@ilya.pp.ua
- Refresh spec-file via spec-cleaner.
* Add %license macro.
* Add cmake -LA option for print local variables.
-------------------------------------------------------------------
Wed Jul 19 11:59:16 UTC 2017 - ilya@ilya.pp.ua
- Add files:

View File

@ -1,7 +1,7 @@
#
# spec file for package apulse
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,10 +12,9 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org
#
%define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
Name: apulse
Version: 0.1.10
@ -23,7 +22,7 @@ Release: 0
Summary: PulseAudio emulation for ALSA
License: MIT
Group: System/Libraries
Url: https://github.com/i-rinat/apulse
URL: https://github.com/i-rinat/apulse
Source0: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Source2: %{name}.conf
@ -48,7 +47,7 @@ PulseAudio emulation intended to be used with Skype and Firefox
%patch0 -p1
%build
%cmake -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
%cmake -LA -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
make %{?_smp_mflags}
%install
@ -59,12 +58,16 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}
mkdir %{buildroot}%{_bindir}
install %{SOURCE3} %{buildroot}%{_bindir}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%defattr(0644,root,root,-)
%license LICENSE.MIT
%doc README.md
%config(noreplace) %{_sysconfdir}/%{name}.conf
%attr(0755,root,root) %{_bindir}/%{name}
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/libpulse*.so.*
%config(noreplace) %{_sysconfdir}/%{name}.conf
%doc LICENSE.MIT README.md
%changelog