Accepting request 581202 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581202 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/sound-theme-freedesktop?expand=0&rev=16
This commit is contained in:
parent
09207f41bd
commit
c7b9fb9d1b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:39:44 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 20:25:09 UTC 2013 - dimstar@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sound-theme-freedesktop
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -21,19 +21,18 @@ Version: 0.8
|
||||
Release: 0
|
||||
# For details on the licenses used, see CREDITS.
|
||||
Summary: freedesktop.org sound theme
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Libraries
|
||||
Url: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
|
||||
URL: http://0pointer.de/public/sound-theme-freedesktop.tar.gz
|
||||
Source0: http://people.freedesktop.org/~mccann/dist/%{name}-%{version}.tar.bz2
|
||||
# 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
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
The default freedesktop.org sound theme following the XDG theming
|
||||
@ -42,20 +41,17 @@ specification. (http://0pointer.de/public/sound-theme-spec.html).
|
||||
%prep
|
||||
%setup -q
|
||||
if [ ! -s COPYING ]; then
|
||||
cp %{S:1} COPYING
|
||||
cp %{SOURCE1} COPYING
|
||||
fi
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%make_install
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
||||
|
||||
@ -63,7 +59,6 @@ rm -rf %{buildroot}
|
||||
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%dir %{_datadir}/sounds/freedesktop
|
||||
%dir %{_datadir}/sounds/freedesktop/stereo
|
||||
|
Loading…
x
Reference in New Issue
Block a user