47 lines
1.2 KiB
RPMSpec
47 lines
1.2 KiB
RPMSpec
|
Name: sound-theme-freedesktop
|
||
|
Version: 0.1
|
||
|
Release: 1%{?dist}
|
||
|
Summary: freedesktop.org sound theme
|
||
|
Group: User Interface/Desktops
|
||
|
Source0: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
|
||
|
# For details on the licenses used, see README
|
||
|
License: GPLv2+ and LGPLv2+ and CC-BY-SA and CC-BY
|
||
|
Url: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description
|
||
|
The default freedesktop.org sound theme following the XDG theming
|
||
|
specification. (http://0pointer.de/public/sound-theme-spec.html).
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n freedesktop
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/sounds/freedesktop
|
||
|
cp -av index.theme stereo/ $RPM_BUILD_ROOT%{_datadir}/sounds/freedesktop
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%post
|
||
|
touch --no-create %{_datadir}/sounds/freedesktop
|
||
|
|
||
|
%postun
|
||
|
touch --no-create %{_datadir}/sounds/freedesktop
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc README
|
||
|
%dir %{_datadir}/sounds/freedesktop
|
||
|
%dir %{_datadir}/sounds/freedesktop/stereo
|
||
|
%{_datadir}/sounds/freedesktop/index.theme
|
||
|
%{_datadir}/sounds/freedesktop/stereo/*.ogg
|
||
|
|
||
|
%changelog
|
||
|
* Sun Jun 15 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
|
||
|
- Initial package
|