package created using the webbuild interface [release 20190119git-1mamba;Sat Jan 19 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 17:59:02 +01:00
parent b96bfb781a
commit 995089f0f4
2 changed files with 52 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# sonar-artworks
Sonar Linux Artworks.

50
sonar-artworks.spec Normal file
View File

@ -0,0 +1,50 @@
Name: sonar-artworks
Version: 20190119git
Release: 1mamba
Summary: Sonar Linux Artworks
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/manjaro/sonar-artworks
## GITSOURCE https://github.com/manjaro/sonar-artworks.git master
Source: https://github.com/manjaro/sonar-artworks.git/master/sonar-artworks-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: sound-theme-freedesktop
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sonar Linux Artworks.
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_datadir}/sounds/freedesktop/stereo
cp -a sounds/sonar %{buildroot}%{_datadir}/sounds/
ln -s ../../sonar/stereo/system-ready.oga %{buildroot}%{_datadir}/sounds/freedesktop/stereo/system-bootup.oga
ln -s ../../sonar/stereo/system-shutdown.oga %{buildroot}%{_datadir}/sounds/freedesktop/stereo/system-shutdown.oga
#for f in %{buildroot}%{_datadir}/sounds/sonar/stereo/*.oga; do
# [ -e %{_datadir}/sounds/freedesktop/stereo/`basename $f` ] || \
# ln -s ../../sonar/stereo/`basename $f` %{buildroot}%{_datadir}/sounds/freedesktop/stereo/`basename $f`
#done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_datadir}/sounds/sonar
%{_datadir}/sounds/sonar/*
%{_datadir}/sounds/freedesktop/stereo/*
%changelog
* Sat Jan 19 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20190119git-1mamba
- package created using the webbuild interface