diff --git a/apulse.changes b/apulse.changes index 2803c1a..3ed2b23 100644 --- a/apulse.changes +++ b/apulse.changes @@ -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: diff --git a/apulse.spec b/apulse.spec index b42ebe3..157a751 100644 --- a/apulse.spec +++ b/apulse.spec @@ -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