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

52 lines
1.4 KiB
RPMSpec
Raw Normal View History

2008-06-16 17:27:31 +00:00
Name: sound-theme-freedesktop
Version: 0.1
Release: 2%{?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
/bin/touch --no-create %{_datadir}/sounds/freedesktop
2008-06-16 17:27:31 +00:00
%postun
/bin/touch --no-create %{_datadir}/sounds/freedesktop
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
* 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