]>
Commit | Line | Data |
---|---|---|
6641ee5d MB |
1 | Summary: Simple interface for playing, saving, printing and solving Sudoku |
2 | Summary(pl.UTF-8): Prosty interfejs do grania, zapisywania, drukowania i rozwiązywania Sudoku | |
3 | Name: gnome-sudoku | |
8d28913f | 4 | Version: 3.12.1 |
6641ee5d MB |
5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: X11/Applications/Games | |
8d28913f MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-sudoku/3.12/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 620d85ad3aa8e3434317c3e509f4a246 | |
6641ee5d | 10 | URL: https://wiki.gnome.org/Apps/Sudoku |
8d28913f MB |
11 | BuildRequires: appdata-tools |
12 | BuildRequires: autoconf >= 2.63 | |
6641ee5d | 13 | BuildRequires: automake >= 1:1.11 |
8d28913f MB |
14 | BuildRequires: gnome-common |
15 | BuildRequires: intltool >= 0.50.0 | |
6641ee5d | 16 | BuildRequires: pkgconfig |
8d28913f MB |
17 | BuildRequires: python3 >= 1:3.2 |
18 | BuildRequires: python3-pygobject3-devel >= 3.12.0 | |
6641ee5d MB |
19 | BuildRequires: yelp-tools |
20 | Requires(post,postun): gtk-update-icon-cache | |
21 | Requires(post,postun): glib2 >= 1:2.26.0 | |
22 | Requires: gdk-pixbuf2 | |
23 | Requires: gobject-introspection >= 0.10.0 | |
24 | Requires: gtk+3 | |
25 | Requires: hicolor-icon-theme | |
8d28913f MB |
26 | Requires: python3-pycairo |
27 | Requires: python3-pygobject3 | |
6641ee5d | 28 | Provides: gnome-games-sudoku = 1:%{version}-%{release} |
6641ee5d MB |
29 | Obsoletes: gnome-games-sudoku < 1:3.8.0 |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | GNOME Sudoku provides a simple interface for playing, saving, printing | |
34 | and solving Sudoku. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | GNOME Sudoku dostarcza prosty interfejs do grania, zapisywania, | |
38 | drukowania i rozwiązywania Sudoku. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__intltoolize} | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__automake} | |
48 | %configure \ | |
49 | --disable-silent-rules | |
50 | ||
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
6641ee5d MB |
59 | %find_lang %{name} --with-gnome |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post | |
65 | %glib_compile_schemas | |
66 | %update_icon_cache HighContrast | |
67 | %update_icon_cache hicolor | |
68 | ||
69 | %postun | |
70 | %glib_compile_schemas | |
71 | %update_icon_cache HighContrast | |
72 | %update_icon_cache hicolor | |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
76 | %doc NEWS | |
77 | %attr(755,root,root) %{_bindir}/gnome-sudoku | |
78 | %{_datadir}/appdata/gnome-sudoku.appdata.xml | |
79 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-sudoku.gschema.xml | |
80 | %{_datadir}/gnome-sudoku | |
81 | %{_desktopdir}/gnome-sudoku.desktop | |
82 | %{_iconsdir}/HighContrast/*/*/*.png | |
83 | %{_iconsdir}/hicolor/*/*/*.png | |
84 | %{_iconsdir}/hicolor/*/*/*.svg | |
8d28913f MB |
85 | %dir %{py3_sitescriptdir}/gnome_sudoku |
86 | %{py3_sitescriptdir}/gnome_sudoku/*.py | |
87 | %{py3_sitescriptdir}/gnome_sudoku/__pycache__ | |
88 | %dir %{py3_sitescriptdir}/gnome_sudoku/gtk_goodies | |
89 | %{py3_sitescriptdir}/gnome_sudoku/gtk_goodies/*.py | |
90 | %{py3_sitescriptdir}/gnome_sudoku/gtk_goodies/__pycache__ | |
6641ee5d | 91 | %{_mandir}/man6/gnome-sudoku.6* |