]>
Commit | Line | Data |
---|---|---|
8730de2b JB |
1 | Summary: Hitori puzzle game for GNOME |
2 | Summary(pl.UTF-8): Hitori - układanka logiczna dla GNOME | |
3 | Name: hitori | |
817a5b13 | 4 | Version: 0.4.5 |
8730de2b JB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/hitori/0.4/%{name}-%{version}.tar.xz | |
817a5b13 | 9 | # Source0-md5: 9a5c0536d76235dd62b194396aa0cccf |
8730de2b JB |
10 | URL: https://wiki.gnome.org/Apps/Hitori |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake | |
13 | BuildRequires: cairo-devel >= 1.4 | |
14 | BuildRequires: glib2-devel >= 2.0 | |
15 | BuildRequires: gnome-common | |
16 | BuildRequires: gtk+3-devel >= 3.0 | |
17 | BuildRequires: intltool >= 0.35.0 | |
18 | BuildRequires: libtool >= 2:2 | |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: yelp-tools | |
21 | Requires(post,postun): gtk-update-icon-cache | |
22 | Requires: hicolor-icon-theme | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Hitori is a small application written to allow one to play the | |
27 | eponymous puzzle game, which is similar in theme to more popular | |
28 | puzzles such as Sudoku. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Hitori to mała aplikacja pozwalająca na grę w tytułową układankę | |
32 | logiczną - bardzo podobną tematycznie do bardziej popularnych, | |
33 | takich jak Sudoku. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
39 | %{__libtoolize} | |
40 | %{__aclocal} | |
41 | %{__autoconf} | |
42 | %{__autoheader} | |
43 | %{__automake} | |
44 | %configure \ | |
45 | --disable-silent-rules | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %find_lang %{name} --with-gnome | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %update_icon_cache hicolor | |
62 | ||
63 | %postun | |
64 | %update_icon_cache hicolor | |
65 | ||
66 | %files -f %{name}.lang | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS MAINTAINERS NEWS README | |
69 | %attr(755,root,root) %{_bindir}/hitori | |
70 | %{_datadir}/hitori | |
71 | %{_datadir}/appdata/hitori.appdata.xml | |
72 | %{_desktopdir}/hitori.desktop | |
73 | %{_iconsdir}/hicolor/*/apps/hitori.png |