]> git.pld-linux.org Git - packages/aisleriot.git/blob - aisleriot.spec
14f35a8b734984868915a9655cbaf1e6a774ff69
[packages/aisleriot.git] / aisleriot.spec
1 Summary:        A collection of card games
2 Summary(pl.UTF-8):      Kolekcja gier karcianych
3 Name:           aisleriot
4 Version:        3.16.2
5 Release:        1
6 License:        GPL v3+ and LGPL v3+ and GFDL
7 Group:          X11/Applications/Games
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.16/%{name}-%{version}.tar.xz
9 # Source0-md5:  00a71ccef4df729178b56353453fbbcd
10 URL:            https://wiki.gnome.org/Apps/Aisleriot
11 BuildRequires:  GConf2-devel
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  cairo-devel >= 1.10.0
15 BuildRequires:  desktop-file-utils
16 BuildRequires:  gettext-tools
17 BuildRequires:  glib2-devel >= 1:2.32.0
18 BuildRequires:  gnome-common
19 BuildRequires:  gtk+3-devel >= 3.4.0
20 BuildRequires:  guile-devel >= 5:2.0
21 BuildRequires:  intltool >= 0.40.0
22 BuildRequires:  itstool
23 BuildRequires:  libcanberra-gtk3-devel >= 0.26
24 BuildRequires:  librsvg-devel >= 2.32.0
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtool
27 BuildRequires:  libxml2-progs
28 BuildRequires:  pkgconfig >= 1:0.15
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
35 Requires(post,postun):  glib2 >= 1:2.32.0
36 Requires(post,postun):  gtk-update-icon-cache
37 Requires:       cairo >= 1.10.0
38 Requires:       glib2 >= 1:2.32.0
39 Requires:       gtk+3 >= 3.4.0
40 Requires:       guile >= 5:2.0
41 Requires:       hicolor-icon-theme
42 Requires:       libcanberra-gtk3 >= 0.26
43 Requires:       librsvg >= 2.32.0
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
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
72 %prep
73 %setup -q
74
75 %build
76 %{__intltoolize}
77 %{__libtoolize}
78 %{__aclocal} -I m4
79 %{__autoconf}
80 %{__autoheader}
81 %{__automake}
82 bash %configure \
83         --disable-silent-rules \
84         --with-pysol-card-theme-path=%{_datadir}/pysol \
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
100 %update_icon_cache HighContrast
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
109 %update_icon_cache HighContrast
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
119 %{_libdir}/aisleriot/guile
120 %{_sysconfdir}/gconf/schemas/aisleriot.schemas
121 %{_datadir}/aisleriot
122 %{_datadir}/appdata/sol.appdata.xml
123 %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
124 %{_desktopdir}/sol.desktop
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
128 %{_mandir}/man6/sol.6*
129
130 %files -n valgrind-aisleriot
131 %defattr(644,root,root,755)
132 %{_libdir}/valgrind/aisleriot.supp
This page took 0.08302 seconds and 2 git commands to generate.