sound-theme-freedesktop/sound-theme-freedesktop.spec

55 lines
1.5 KiB
RPMSpec
Raw Normal View History

2008-06-16 17:27:31 +00:00
Name: sound-theme-freedesktop
Version: 0.1
2008-09-09 15:37:44 +00:00
Release: 3%{?dist}
2008-06-16 17:27:31 +00:00
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
Requires(post): /bin/touch
Requires(postun): /bin/touch
2008-06-16 17:27:31 +00:00
%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
2008-09-09 15:37:44 +00:00
/bin/touch --no-create %{_datadir}/sounds/freedesktop %{_datadir}/sounds
2008-06-16 17:27:31 +00:00
%postun
2008-09-09 15:37:44 +00:00
/bin/touch --no-create %{_datadir}/sounds/freedesktop %{_datadir}/sounds
2008-06-16 17:27:31 +00:00
%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
2008-09-09 15:37:44 +00:00
* Tue Sep 9 2008 Lennart Poettering <lpoetter@redhat.com 0.1.3
- Touch root dirs, not just theme dirs
* Mon Aug 11 2008 Jeremy Katz <katzj@redhat.com> - 0.1-2
- require touch for scriptlets to not give errors
2008-06-16 17:27:31 +00:00
* Sun Jun 15 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
- Initial package