Accepting request 582909 from GNOME:Factory

spec-cleaner (forwarded request 581423 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/582909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aisleriot?expand=0&rev=49
This commit is contained in:
Dominique Leuenberger 2018-03-09 09:41:53 +00:00 committed by Git OBS Bridge
commit 4ada7b1f15
2 changed files with 14 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:22:46 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 31 01:44:34 UTC 2017 - luc14n0@linuxmail.org Tue Oct 31 01:44:34 UTC 2017 - luc14n0@linuxmail.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package aisleriot # spec file for package aisleriot
# #
# Copyright (c) 2017 SUSE LINUX 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
@ -20,14 +20,15 @@ Name: aisleriot
Version: 3.22.4 Version: 3.22.4
Release: 0 Release: 0
Summary: Solitaire Card Games for GNOME Summary: Solitaire Card Games for GNOME
License: GPL-3.0+ License: GPL-3.0-or-later
Group: Amusements/Games/Board/Card Group: Amusements/Games/Board/Card
Url: http://www.gnome.org URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/aisleriot/3.22/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/aisleriot/3.22/%{name}-%{version}.tar.xz
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: guile-devel BuildRequires: guile-devel
BuildRequires: intltool BuildRequires: intltool
BuildRequires: lsb-release BuildRequires: lsb-release
BuildRequires: pkgconfig
# Needed to get lsb data # Needed to get lsb data
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: yelp-tools BuildRequires: yelp-tools
@ -39,8 +40,7 @@ BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(librsvg-2.0)
Requires: guile Requires: guile
Recommends: %{name}-lang Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build %{gconf_schemas_prereq}
%gconf_schemas_prereq
%description %description
Aisleriot is a compilation of 80 different solitaire card games. Aisleriot is a compilation of 80 different solitaire card games.
@ -58,6 +58,7 @@ Aisleriot is a compilation of 80 different solitaire card games.
This package provides extra themes for Aisleriot. This package provides extra themes for Aisleriot.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
@ -79,14 +80,12 @@ make %{?_smp_mflags}
%find_gconf_schemas %find_gconf_schemas
%pre -f aisleriot.schemas_pre %pre -f aisleriot.schemas_pre
%posttrans -f aisleriot.schemas_posttrans %posttrans -f aisleriot.schemas_posttrans
%preun -f aisleriot.schemas_preun %preun -f aisleriot.schemas_preun
%files -f aisleriot.schemas_list %files -f aisleriot.schemas_list
%defattr(-, root, root) %license COPYING.GFDL
%doc AUTHORS ChangeLog COPYING.GFDL COPYING.GPL3 COPYING.LGPL3 %doc AUTHORS ChangeLog
%if 0%{?suse_version} <= 1140 %if 0%{?suse_version} <= 1140
%doc %dir %{_datadir}/help %doc %dir %{_datadir}/help
%doc %dir %{_datadir}/help/C %doc %dir %{_datadir}/help/C
@ -110,7 +109,7 @@ make %{?_smp_mflags}
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
%{_datadir}/icons/hicolor/*/apps/gnome-aisleriot* %{_datadir}/icons/hicolor/*/apps/gnome-aisleriot*
%{_datadir}/icons/hicolor/*/apps/gnome-freecell.* %{_datadir}/icons/hicolor/*/apps/gnome-freecell.*
%{_mandir}/man?/sol.* %{_mandir}/man?/sol*%{ext_man}
# Kind of ugly to own the valgrind directory, but the other solutions (a dep on # Kind of ugly to own the valgrind directory, but the other solutions (a dep on
# valgrind, a subpackage, etc.) are not worth it # valgrind, a subpackage, etc.) are not worth it
%dir %{_libdir}/valgrind %dir %{_libdir}/valgrind
@ -125,7 +124,6 @@ make %{?_smp_mflags}
%exclude %{_datadir}/aisleriot/cards/ornamental.svgz %exclude %{_datadir}/aisleriot/cards/ornamental.svgz
%files themes %files themes
%defattr(-, root, root)
%{_datadir}/aisleriot/cards/anglo.svgz %{_datadir}/aisleriot/cards/anglo.svgz
%{_datadir}/aisleriot/cards/anglo_bitmap.svgz %{_datadir}/aisleriot/cards/anglo_bitmap.svgz
%{_datadir}/aisleriot/cards/bellot.svgz %{_datadir}/aisleriot/cards/bellot.svgz