sound-theme-freedesktop-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Summary: freedesktop.org sound theme
  2. Summary(ja): freedesktop.org サウンドテーマ
  3. Name: sound-theme-freedesktop
  4. Version: 0.1
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. Source0: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
  8. # For details on the licenses used, see README
  9. License: GPLv2+ and LGPLv2+ and CC-BY-SA and CC-BY
  10. Url: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildArch: noarch
  13. Requires(post): /bin/touch
  14. Requires(postun): /bin/touch
  15. %description
  16. The default freedesktop.org sound theme following the XDG theming
  17. specification. (http://0pointer.de/public/sound-theme-spec.html).
  18. %prep
  19. %setup -q -n freedesktop
  20. %build
  21. %install
  22. rm -rf $RPM_BUILD_ROOT
  23. mkdir -p $RPM_BUILD_ROOT%{_datadir}/sounds/freedesktop
  24. cp -av index.theme stereo/ $RPM_BUILD_ROOT%{_datadir}/sounds/freedesktop
  25. %clean
  26. rm -rf $RPM_BUILD_ROOT
  27. %post
  28. /bin/touch --no-create %{_datadir}/sounds/freedesktop %{_datadir}/sounds
  29. %postun
  30. /bin/touch --no-create %{_datadir}/sounds/freedesktop %{_datadir}/sounds
  31. %files
  32. %defattr(-,root,root)
  33. %doc README
  34. %dir %{_datadir}/sounds/freedesktop
  35. %dir %{_datadir}/sounds/freedesktop/stereo
  36. %{_datadir}/sounds/freedesktop/index.theme
  37. %{_datadir}/sounds/freedesktop/stereo/*.ogg
  38. %changelog
  39. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1-1
  40. - initial build for Vine Linux
  41. * Tue Sep 9 2008 Lennart Poettering <lpoetter@redhat.com 0.1-4
  42. - Fix changelog
  43. * Tue Sep 9 2008 Lennart Poettering <lpoetter@redhat.com 0.1-3
  44. - Touch root dirs, not just theme dirs
  45. * Mon Aug 11 2008 Jeremy Katz <katzj@redhat.com> - 0.1-2
  46. - require touch for scriptlets to not give errors
  47. * Sun Jun 15 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1
  48. - Initial package