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

# spec file for package sound-theme-freedesktop
# Copyright (c) 2013 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

Name:           sound-theme-freedesktop
Version:        0.8
Release:        0
# For details on the licenses used, see CREDITS.
Summary: sound theme
License:        GPL-2.0+
Group:          System/Libraries
# COPYING in the tarball is a 0-byte file
Source1:        gpl-2.0.txt
BuildRequires:  fdupes
BuildRequires:  glib2-devel
BuildRequires:  intltool
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Requires(post): /bin/touch
Requires(postun): /bin/touch

The default sound theme following the XDG theming
specification.	(

%setup -q
if [ ! -s COPYING ]; then
  cp %{S:1} COPYING

make %{?jobs:-j%jobs}

%fdupes %{buildroot}%{_datadir}

rm -rf %{buildroot}

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

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

%dir %{_datadir}/sounds/freedesktop
%dir %{_datadir}/sounds/freedesktop/stereo

openSUSE Build Service is sponsored by