forked from pool/sound-theme-freedesktop
Accepting request 582793 from GNOME:Factory
spec-cleaner (forwarded request 581202 from dimstar) OBS-URL: https://build.opensuse.org/request/show/582793 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sound-theme-freedesktop?expand=0&rev=19
This commit is contained in:
@@ -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
|
Thu Jul 4 20:25:09 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sound-theme-freedesktop
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -21,19 +21,18 @@ Version: 0.8
|
|||||||
Release: 0
|
Release: 0
|
||||||
# For details on the licenses used, see CREDITS.
|
# For details on the licenses used, see CREDITS.
|
||||||
Summary: freedesktop.org sound theme
|
Summary: freedesktop.org sound theme
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: System/Libraries
|
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
|
Source0: http://people.freedesktop.org/~mccann/dist/%{name}-%{version}.tar.bz2
|
||||||
# COPYING in the tarball is a 0-byte file
|
# COPYING in the tarball is a 0-byte file
|
||||||
Source1: gpl-2.0.txt
|
Source1: gpl-2.0.txt
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires(post): /bin/touch
|
Requires(post): /bin/touch
|
||||||
Requires(postun): /bin/touch
|
Requires(postun): /bin/touch
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The default freedesktop.org sound theme following the XDG theming
|
The default freedesktop.org sound theme following the XDG theming
|
||||||
@@ -42,20 +41,17 @@ specification. (http://0pointer.de/public/sound-theme-spec.html).
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
if [ ! -s COPYING ]; then
|
if [ ! -s COPYING ]; then
|
||||||
cp %{S:1} COPYING
|
cp %{SOURCE1} COPYING
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
||||||
|
|
||||||
@@ -63,7 +59,6 @@ rm -rf %{buildroot}
|
|||||||
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
/bin/touch --no-create %{_datadir}/sounds/freedesktop
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README
|
%doc README
|
||||||
%dir %{_datadir}/sounds/freedesktop
|
%dir %{_datadir}/sounds/freedesktop
|
||||||
%dir %{_datadir}/sounds/freedesktop/stereo
|
%dir %{_datadir}/sounds/freedesktop/stereo
|
||||||
|
Reference in New Issue
Block a user