]>
Commit | Line | Data |
---|---|---|
de77fa88 | 1 | Summary: A collection of card games |
92f8de87 | 2 | Summary(pl.UTF-8): Kolekcja gier karcianych |
de77fa88 | 3 | Name: aisleriot |
5042c323 | 4 | Version: 3.20.2 |
92f8de87 | 5 | Release: 1 |
de77fa88 MB |
6 | License: GPL v3+ and LGPL v3+ and GFDL |
7 | Group: X11/Applications/Games | |
da86f7da | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.20/%{name}-%{version}.tar.xz |
5042c323 | 9 | # Source0-md5: d382e42a162bccd038fa3812726452eb |
ca1f6c85 | 10 | URL: https://wiki.gnome.org/Apps/Aisleriot |
de77fa88 MB |
11 | BuildRequires: GConf2-devel |
12 | BuildRequires: autoconf >= 2.53 | |
13 | BuildRequires: automake >= 1:1.9 | |
14 | BuildRequires: cairo-devel >= 1.10.0 | |
92f8de87 | 15 | BuildRequires: desktop-file-utils |
78cbcbf8 | 16 | BuildRequires: gettext-tools |
40994bfc | 17 | BuildRequires: glib2-devel >= 1:2.32.0 |
de77fa88 | 18 | BuildRequires: gnome-common |
f73c2984 | 19 | BuildRequires: gtk+3-devel >= 3.4.0 |
de77fa88 MB |
20 | BuildRequires: guile-devel >= 5:2.0 |
21 | BuildRequires: intltool >= 0.40.0 | |
fa028694 | 22 | BuildRequires: itstool |
de77fa88 MB |
23 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
24 | BuildRequires: librsvg-devel >= 2.32.0 | |
92f8de87 | 25 | BuildRequires: libstdc++-devel |
de77fa88 | 26 | BuildRequires: libtool |
92f8de87 JB |
27 | BuildRequires: libxml2-progs |
28 | BuildRequires: pkgconfig >= 1:0.15 | |
de77fa88 MB |
29 | BuildRequires: rpmbuild(find_lang) >= 1.35 |
30 | BuildRequires: rpmbuild(macros) >= 1.311 | |
31 | BuildRequires: tar >= 1:1.22 | |
32 | BuildRequires: xz | |
33 | BuildRequires: yelp-tools >= 3.2.0 | |
34 | Requires(post,preun): GConf2 | |
92f8de87 | 35 | Requires(post,postun): glib2 >= 1:2.32.0 |
754f16f1 | 36 | Requires(post,postun): gtk-update-icon-cache |
92f8de87 | 37 | Requires: cairo >= 1.10.0 |
40994bfc | 38 | Requires: glib2 >= 1:2.32.0 |
92f8de87 | 39 | Requires: gtk+3 >= 3.4.0 |
de77fa88 MB |
40 | Requires: guile >= 5:2.0 |
41 | Requires: hicolor-icon-theme | |
92f8de87 JB |
42 | Requires: libcanberra-gtk3 >= 0.26 |
43 | Requires: librsvg >= 2.32.0 | |
de77fa88 MB |
44 | Provides: gnome-games-sol = %{version} |
45 | Obsoletes: gnome-games-sol | |
46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
47 | ||
48 | %description | |
49 | Aisleriot (also known as Solitaire or sol) is a collection of card | |
50 | games which are easy to play with the aid of a mouse. The rules for | |
51 | the games have been coded for your pleasure in the GNOME scripting | |
52 | language (Scheme). | |
53 | ||
92f8de87 JB |
54 | %description -l pl.UTF-8 |
55 | Aisleriot (znany także jako Pasjans, Solitaire lub sol) to kolekcja | |
56 | gier karcianych, łatwych do rozgrywania przy pomocy myszy. Zasady gier | |
57 | zostały zakodowane w języku skryptowym GNOME (Scheme). | |
58 | ||
59 | %package -n valgrind-aisleriot | |
60 | Summary: Aisleriot support for Valgrind | |
61 | Summary(pl.UTF-8): Obsługa Aisleriota dla Valgrinda | |
62 | Group: Development/Libraries | |
63 | Requires: %{name} = %{version}-%{release} | |
64 | Requires: valgrind | |
65 | ||
66 | %description -n valgrind-aisleriot | |
67 | Aisleriot support for Valgrind. | |
68 | ||
69 | %description -n valgrind-aisleriot -l pl.UTF-8 | |
70 | Obsługa Aisleriota dla Valgrinda. | |
71 | ||
de77fa88 MB |
72 | %prep |
73 | %setup -q | |
74 | ||
75 | %build | |
76 | %{__intltoolize} | |
77 | %{__libtoolize} | |
78 | %{__aclocal} -I m4 | |
79 | %{__autoconf} | |
80 | %{__autoheader} | |
81 | %{__automake} | |
92f8de87 | 82 | bash %configure \ |
de77fa88 | 83 | --disable-silent-rules \ |
ca1f6c85 | 84 | --with-pysol-card-theme-path=%{_datadir}/pysol \ |
de77fa88 MB |
85 | --with-guile="2.0" |
86 | %{__make} -j1 | |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %{__make} install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
94 | %find_lang %{name} --with-gnome | |
95 | ||
96 | %clean | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %post | |
ca1f6c85 | 100 | %update_icon_cache HighContrast |
de77fa88 MB |
101 | %update_icon_cache hicolor |
102 | %gconf_schema_install aisleriot.schemas | |
103 | %glib_compile_schemas | |
104 | ||
105 | %preun | |
106 | %gconf_schema_uninstall aisleriot.schemas | |
107 | ||
108 | %postun | |
ca1f6c85 | 109 | %update_icon_cache HighContrast |
de77fa88 MB |
110 | %update_icon_cache hicolor |
111 | %glib_compile_schemas | |
112 | ||
113 | %files -f %{name}.lang | |
114 | %defattr(644,root,root,755) | |
115 | %doc AUTHORS ChangeLog NEWS TODO | |
116 | %attr(755,root,root) %{_bindir}/sol | |
117 | %dir %{_libdir}/aisleriot | |
118 | %attr(755,root,root) %{_libdir}/aisleriot/ar-cards-renderer | |
40994bfc | 119 | %{_libdir}/aisleriot/guile |
de77fa88 MB |
120 | %{_sysconfdir}/gconf/schemas/aisleriot.schemas |
121 | %{_datadir}/aisleriot | |
92f8de87 | 122 | %{_datadir}/appdata/sol.appdata.xml |
de77fa88 | 123 | %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml |
de77fa88 | 124 | %{_desktopdir}/sol.desktop |
92f8de87 JB |
125 | %{_iconsdir}/hicolor/*x*/apps/gnome-aisleriot.png |
126 | %{_iconsdir}/hicolor/*x*/apps/gnome-freecell.png | |
127 | %{_iconsdir}/hicolor/symbolic/apps/gnome-aisleriot-symbolic.svg | |
de77fa88 | 128 | %{_mandir}/man6/sol.6* |
92f8de87 JB |
129 | |
130 | %files -n valgrind-aisleriot | |
131 | %defattr(644,root,root,755) | |
132 | %{_libdir}/valgrind/aisleriot.supp |