summaryrefslogtreecommitdiff
path: root/aisleriot.spec
blob: c90c55758c556b860fcb599fde5a2588d5c9eb47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Name:    aisleriot
Epoch:   1
Version: 3.22.33
Release: 1
Summary: A collection of card games

License: GPL-3.0-or-later and LGPL-3.0-or-later and GFDL-1.1-or-later and GFDL-1.3-only
URL:     https://wiki.gnome.org/Apps/Aisleriot
Source0: https://gitlab.gnome.org/GNOME/aisleriot/-/archive/%{version}/%{name}-%{version}.tar.bz2

BuildRequires: meson >= 0.62.0
BuildRequires: (pkgconfig(guile-3.0) >= 3.0.0 or pkgconfig(guile-2.2) >= 2.2.0 or pkgconfig(guile-2.0) >= 2.0.0)
BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(gio-2.0) >= 2.32.0
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.18.0
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: /usr/bin/gzip
BuildRequires: /usr/bin/itstool
BuildRequires: /usr/bin/msgfmt
BuildRequires: /usr/bin/msginit
BuildRequires: /usr/bin/msgmerge
BuildRequires: /usr/bin/xgettext
BuildRequires: /usr/bin/xmllint

%description
Aisleriot is a collection of over 80 card games programmed in scheme.

%prep
%autosetup -p1

%build
%meson \
	-Dtheme_pysol=false \
	-Dtheme_kde=false
%meson_build

%install
%meson_install

# Omit the valgrind suppression file; only for use during development
rm $RPM_BUILD_ROOT%{_libdir}/valgrind/aisleriot.supp

%find_lang %{name} --with-gnome

%files -f %{name}.lang
%doc AUTHORS
%license COPYING.GPL3 COPYING.LGPL3 COPYING.GFDL
%{_bindir}/*
%{_libdir}/aisleriot
%{_libexecdir}/aisleriot/
%{_datadir}/aisleriot
%{_datadir}/applications/sol.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/metainfo/sol.metainfo.xml
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
%{_mandir}/man6/sol.6*

%changelog
* Thu Aug 15 2024 Funda Wang <fundawang@yeah.net> - 1:3.22.33-1
- update to version 3.22.33

* Fri May 26 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 1:3.22.9-1
- Package init