74 lines
2.0 KiB
RPMSpec
74 lines
2.0 KiB
RPMSpec
|
#
|
||
|
# spec file for package sound-theme-freedesktop (Version 0.1)
|
||
|
#
|
||
|
# Copyright (c) 2008 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/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
|
||
|
Name: sound-theme-freedesktop
|
||
|
Version: 0.1
|
||
|
Release: 2
|
||
|
Summary: freedesktop.org sound theme
|
||
|
Group: System/Libraries
|
||
|
Source: sound-theme-freedesktop.tar.bz2
|
||
|
# For details on the licenses used, see README
|
||
|
License: GPL v2 or later
|
||
|
Url: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
|
||
|
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).
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Lennart Pottering
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n freedesktop
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
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
|
||
|
|
||
|
%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/*.ogg
|
||
|
|
||
|
%changelog
|
||
|
* Thu Aug 28 2008 rodrigo@suse.de
|
||
|
- First version of package, based on Fedora package
|