]> git.pld-linux.org Git - packages/aisleriot.git/blob - aisleriot.spec
be8aa6800134289f3ec4cd4df8dc3ef283176f20
[packages/aisleriot.git] / aisleriot.spec
1 Summary:        A collection of card games
2 Name:           aisleriot
3 Version:        3.4.0.1
4 Release:        1
5 License:        GPL v3+ and LGPL v3+ and GFDL
6 Group:          X11/Applications/Games
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/aisleriot/3.4/%{name}-%{version}.tar.xz
8 # Source0-md5:  83348365662e7d8e64217c28d5e2fa4e
9 URL:            http://live.gnome.org/Aisleriot
10 BuildRequires:  GConf2-devel
11 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  cairo-devel >= 1.10.0
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.32.0
16 BuildRequires:  gnome-common
17 BuildRequires:  gtk+3-devel >= 3.0.0
18 BuildRequires:  guile-devel >= 5:2.0
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  libcanberra-gtk3-devel >= 0.26
21 BuildRequires:  librsvg-devel >= 2.32.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(find_lang) >= 1.35
25 BuildRequires:  rpmbuild(macros) >= 1.311
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 BuildRequires:  yelp-tools >= 3.2.0
29 Requires(post,preun):   GConf2
30 Requires(post,postun):  glib2 >= 1:2.26.0
31 Requires(post,postun):  gtk-update-icon-cache
32 Requires:       glib2 >= 1:2.32.0
33 Requires:       guile >= 5:2.0
34 Requires:       hicolor-icon-theme
35 Provides:       gnome-games-sol = %{version}
36 Obsoletes:      gnome-games-sol
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Aisleriot (also known as Solitaire or sol) is a collection of card
41 games which are easy to play with the aid of a mouse. The rules for
42 the games have been coded for your pleasure in the GNOME scripting
43 language (Scheme).
44
45 %prep
46 %setup -q
47
48 %build
49 %{__intltoolize}
50 %{__libtoolize}
51 %{__aclocal} -I m4
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure \
56         --disable-silent-rules \
57         --with-guile="2.0"
58 %{__make} -j1
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %find_lang %{name} --with-gnome
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %update_icon_cache hicolor
73 %gconf_schema_install aisleriot.schemas
74 %glib_compile_schemas
75
76 %preun
77 %gconf_schema_uninstall aisleriot.schemas
78
79 %postun
80 %update_icon_cache hicolor
81 %glib_compile_schemas
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS TODO
86 %attr(755,root,root) %{_bindir}/sol
87 %dir %{_libdir}/aisleriot
88 %attr(755,root,root) %{_libdir}/aisleriot/ar-cards-renderer
89 %{_libdir}/aisleriot/guile
90 %{_sysconfdir}/gconf/schemas/aisleriot.schemas
91 %{_datadir}/aisleriot
92 %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
93 %{_desktopdir}/freecell.desktop
94 %{_desktopdir}/sol.desktop
95 %{_iconsdir}/hicolor/*/*/*.png
96 %{_mandir}/man6/sol.6*
This page took 0.050385 seconds and 2 git commands to generate.