/[packages]/cauldron/aisleriot/current/SPECS/aisleriot.spec
ViewVC logotype

Annotation of /cauldron/aisleriot/current/SPECS/aisleriot.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1709471 - (hide annotations) (download)
Wed Mar 24 21:33:17 2021 UTC (2 months, 4 weeks ago) by ovitters
File size: 2436 byte(s)
SILENT update url_ver macro
1 ovitters 1709471 %define url_ver %{lua: ver = rpm.expand("%{version}"); majmin, count1 = string.gsub(ver, "^([0123456789]+%.[0123456789]+).*", "%1", 1); if count1 == 0 then print(ver); return; end; maj, count2 = string.gsub(majmin, "^([0123456789]+).*", "%1", 1); if count2 == 0 then print(majmin) elseif tonumber(majmin) < 40 then print(majmin) else print(maj) end}
2 wally 167780
3 wally 119470 Name: aisleriot
4 wally 592638 Summary: A compilation of solitaire card games
5 ovitters 1439062 Version: 3.22.9
6 tmb 1649784 Release: %mkrel 7
7 wally 592638 Group: Games/Cards
8     License: GPLv3+
9 wally 1643465 Url: https://wiki.gnome.org/Apps/Aisleriot
10 ovitters 484893 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
11 pterjan 908177 Patch0: aisleriot-3.16.2-fix-linking.patch
12 wally 1648061 Patch1: aisleriot-guile3.0.patch
13 wally 869751 BuildRequires: pkgconfig(cairo)
14 wally 167780 BuildRequires: pkgconfig(gmodule-2.0)
15     BuildRequires: pkgconfig(gobject-2.0)
16     BuildRequires: pkgconfig(gthread-2.0)
17 wally 869751 BuildRequires: pkgconfig(gtk+-3.0)
18 wally 1648061 BuildRequires: pkgconfig(guile-3.0)
19 wally 167780 BuildRequires: pkgconfig(ice)
20 wally 869751 BuildRequires: pkgconfig(libcanberra-gtk3)
21     BuildRequires: pkgconfig(librsvg-2.0)
22 wally 167780 BuildRequires: pkgconfig(sm)
23 ovitters 1055323 BuildRequires: pkgconfig(Qt5Svg)
24 wally 119470 BuildRequires: intltool
25 fwang 145242 BuildRequires: yelp-tools
26     BuildRequires: itstool
27 tv 222341 BuildRequires: gnome-doc-utils
28     BuildRequires: docbook-dtds
29 fwang 145272 BuildRequires: rpm-mageia-setup-build >= 1.144
30 wally 427700 BuildRequires: gnome-common
31 pterjan 225605 # For autoreconf, due to Patch0
32     BuildRequires: gettext-devel
33 ovitters 666287 BuildRequires: appdata-tools
34 wally 815327 # For help
35     Requires: yelp
36 zezinho 1443165 # For solitaire (mga#25086)
37     Requires: PySolFC-cardsets
38 wally 119470
39     %description
40     Aisleriot (also known as Solitaire or sol) is a collection of card games
41     which are easy to play with the aid of a mouse. The rules for the games
42     have been coded for your pleasure in the GNOME scripting language (Scheme).
43    
44     %prep
45 ovitters 1055878 %autosetup -p1
46 wally 119470
47     %build
48 wally 851272 NOCONFIGURE=1 gnome-autogen.sh
49 wally 1478265 %configure \
50 wally 1374169 --with-platform=gtk-only \
51 daviddavid 1449425 --with-card-theme-formats=svg,fixed,pysol \
52 wally 427700 --with-pysol-card-theme-path=%{_datadir}/PySolFC \
53 wally 119470 --disable-schemas-compile \
54 fwang 145257 --disable-static
55 ovitters 1573493 %make_build
56 wally 119470
57     %install
58 wally 1374169 %make_install
59 wally 119470
60 wally 731074 #fix .desktop file
61     desktop-file-edit %{buildroot}%{_datadir}/applications/sol.desktop
62    
63 ovitters 1143220 %find_lang %{name} --with-gnome
64 wally 119470
65     %files -f %{name}.lang
66 wally 394256 %{_bindir}/sol
67 wally 188406 %{_libdir}/%{name}/
68 pterjan 337863 %{_libexecdir}/%{name}/
69 dams 485924 %{_libdir}/valgrind/%{name}.supp
70 wally 119470 %{_datadir}/applications/sol.desktop
71     %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
72 wally 851272 %{_iconsdir}/hicolor/*/apps/*
73 wally 119470 %{_mandir}/man6/sol.*
74 wally 264681 %{_datadir}/%{name}/
75 ovitters 1100794 %{_datadir}/metainfo/sol.appdata.xml

  ViewVC Help
Powered by ViewVC 1.1.28