File sound-theme-freedesktop.spec of Package sound-theme-freedesktop

#
# spec file for package sound-theme-freedesktop (Version 0.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           sound-theme-freedesktop
Version:        0.7
Release:        1
# For details on the licenses used, see README
License:        GPL v2 or later
Summary:        freedesktop.org sound theme
Url:            http://0pointer.de/public/sound-theme-freedesktop.tar.gz
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  glib2-devel
BuildRequires:  intltool
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Requires(post): /bin/touch
Requires(postun): /bin/touch

%description
The default freedesktop.org sound theme following the XDG theming
specification.	(http://0pointer.de/public/sound-theme-spec.html).

%prep
%setup -q

%build
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
%fdupes %{buildroot}%{_datadir}

%clean
rm -rf %{buildroot}

%post
/bin/touch --no-create %{_datadir}/sounds/freedesktop

%postun
/bin/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/*.oga

%changelog