| 1 | Summary: freedesktop.org sound theme |
|---|
| 2 | Summary(ja): freedesktop.org サウンドテーマ |
|---|
| 3 | Name: sound-theme-freedesktop |
|---|
| 4 | Version: 0.7 |
|---|
| 5 | Release: 2%{?_dist_release} |
|---|
| 6 | Group: User Interface/Desktops |
|---|
| 7 | Source0: http://people.freedesktop.org/~mccann/dist/%{name}-%{version}.tar.bz2 |
|---|
| 8 | # For details on the licenses used, see README |
|---|
| 9 | License: GPLv2+ and LGPLv2+ and CC-BY-SA and CC-BY |
|---|
| 10 | URL: http://freedesktop.org/wiki/Specifications/sound-theme-spec |
|---|
| 11 | |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 13 | BuildArch: noarch |
|---|
| 14 | BuildRequires: intltool |
|---|
| 15 | Requires(post): /bin/touch |
|---|
| 16 | Requires(postun): /bin/touch |
|---|
| 17 | |
|---|
| 18 | %description |
|---|
| 19 | The default freedesktop.org sound theme following the XDG theming |
|---|
| 20 | specification. |
|---|
| 21 | |
|---|
| 22 | %prep |
|---|
| 23 | %setup -q |
|---|
| 24 | |
|---|
| 25 | %build |
|---|
| 26 | %configure --disable-nls |
|---|
| 27 | make |
|---|
| 28 | |
|---|
| 29 | %install |
|---|
| 30 | rm -rf $RPM_BUILD_ROOT |
|---|
| 31 | |
|---|
| 32 | make DESTDIR=$RPM_BUILD_ROOT install |
|---|
| 33 | |
|---|
| 34 | %clean |
|---|
| 35 | rm -rf $RPM_BUILD_ROOT |
|---|
| 36 | |
|---|
| 37 | %post |
|---|
| 38 | /bin/touch --no-create %{_datadir}/sounds/freedesktop %{_datadir}/sounds |
|---|
| 39 | |
|---|
| 40 | %postun |
|---|
| 41 | /bin/touch --no-create %{_datadir}/sounds/freedesktop %{_datadir}/sounds |
|---|
| 42 | |
|---|
| 43 | %files |
|---|
| 44 | %defattr(-,root,root) |
|---|
| 45 | %doc COPYING NEWS README |
|---|
| 46 | %dir %{_datadir}/sounds/freedesktop |
|---|
| 47 | %dir %{_datadir}/sounds/freedesktop/stereo |
|---|
| 48 | %{_datadir}/sounds/freedesktop/index.theme |
|---|
| 49 | %{_datadir}/sounds/freedesktop/stereo/*.oga |
|---|
| 50 | |
|---|
| 51 | %changelog |
|---|
| 52 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 0.7-2 |
|---|
| 53 | - rebuilt with rpm-4.8.1-3 |
|---|
| 54 | |
|---|
| 55 | * Mon May 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7-1 |
|---|
| 56 | - new upstream release |
|---|
| 57 | - updated URL |
|---|
| 58 | |
|---|
| 59 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1-1 |
|---|
| 60 | - initial build for Vine Linux |
|---|
| 61 | |
|---|
| 62 | * Tue Sep 9 2008 Lennart Poettering <lpoetter@redhat.com 0.1-4 |
|---|
| 63 | - Fix changelog |
|---|
| 64 | |
|---|
| 65 | * Tue Sep 9 2008 Lennart Poettering <lpoetter@redhat.com 0.1-3 |
|---|
| 66 | - Touch root dirs, not just theme dirs |
|---|
| 67 | |
|---|
| 68 | * Mon Aug 11 2008 Jeremy Katz <katzj@redhat.com> - 0.1-2 |
|---|
| 69 | - require touch for scriptlets to not give errors |
|---|
| 70 | |
|---|
| 71 | * Sun Jun 15 2008 Lennart Poettering <lpoetter@redhat.com> 0.1-1 |
|---|
| 72 | - Initial package |
|---|