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:
commit
7c562ab4a1
@ -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
|
Wed Jul 19 11:59:16 UTC 2017 - ilya@ilya.pp.ua
|
||||||
|
|
||||||
- Add files:
|
- Add files:
|
||||||
|
21
apulse.spec
21
apulse.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package apulse
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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.*$
|
%define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$
|
||||||
Name: apulse
|
Name: apulse
|
||||||
Version: 0.1.10
|
Version: 0.1.10
|
||||||
@ -23,7 +22,7 @@ Release: 0
|
|||||||
Summary: PulseAudio emulation for ALSA
|
Summary: PulseAudio emulation for ALSA
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
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
|
Source0: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Source2: %{name}.conf
|
Source2: %{name}.conf
|
||||||
@ -48,7 +47,7 @@ PulseAudio emulation intended to be used with Skype and Firefox
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
|
%cmake -LA -DUSE_BUNDLED_PULSEAUDIO_HEADERS=OFF -DAPULSEPATH=%{_libdir}/%{name}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -59,12 +58,16 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}
|
|||||||
mkdir %{buildroot}%{_bindir}
|
mkdir %{buildroot}%{_bindir}
|
||||||
install %{SOURCE3} %{buildroot}%{_bindir}
|
install %{SOURCE3} %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(0644,root,root,-)
|
||||||
%{_bindir}/%{name}
|
%license LICENSE.MIT
|
||||||
|
%doc README.md
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
|
%attr(0755,root,root) %{_bindir}/%{name}
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
%{_libdir}/%{name}/libpulse*.so.*
|
%{_libdir}/%{name}/libpulse*.so.*
|
||||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
||||||
%doc LICENSE.MIT README.md
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user