]>
Commit | Line | Data |
---|---|---|
0103a3d1 JR |
1 | %define _state stable |
2 | %define orgname pairs | |
3 | ||
4 | Summary: K Desktop Environment - A game to enhance your memory | |
756f1f54 | 5 | Summary(pl.UTF-8): K Desktop Environment - Gra rozwijająca pamięć |
0103a3d1 | 6 | Name: kde4-pairs |
dab3e2a2 | 7 | Version: 4.13.2 |
0103a3d1 JR |
8 | Release: 1 |
9 | License: GPL | |
10 | Group: X11/Applications/Science | |
f475026f | 11 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
dab3e2a2 | 12 | # Source0-md5: d271f7aefaa219cc8f89bc8cb44f2830 |
0103a3d1 JR |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
15 | BuildRequires: kde4-libkdeedu-devel >= %{version} | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Pairs - a game to enhance your memory. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | Pairs - gra rozwijająca pamięć. | |
23 | ||
24 | %prep | |
25 | %setup -q -n %{orgname}-%{version} | |
26 | ||
27 | %build | |
28 | install -d build | |
29 | cd build | |
30 | %cmake \ | |
31 | .. | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %{__make} -C build/ install \ | |
38 | DESTDIR=$RPM_BUILD_ROOT \ | |
39 | kde_htmldir=%{_kdedocdir} | |
40 | ||
06a99c1c | 41 | %find_lang pairseditor --with-kde |
0103a3d1 JR |
42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
06a99c1c | 46 | %files -f pairseditor.lang |
0103a3d1 JR |
47 | %defattr(644,root,root,755) |
48 | %attr(755,root,root) %{_bindir}/pairs | |
f9ddb20c | 49 | %attr(755,root,root) %{_bindir}/pairseditor |
0103a3d1 | 50 | %{_datadir}/apps/pairs |
f9ddb20c | 51 | %{_datadir}/apps/pairseditor |
0103a3d1 JR |
52 | %{_datadir}/config/pairs.knsrc |
53 | %{_desktopdir}/kde4/pairs.desktop | |
f9ddb20c | 54 | %{_desktopdir}/kde4/pairseditor.desktop |
0103a3d1 | 55 | %{_iconsdir}/hicolor/scalable/apps/pairs.svgz |
9f42c17e | 56 | %{_iconsdir}/hicolor/scalable/apps/pairseditor.svgz |
0103a3d1 | 57 | %{_iconsdir}/hicolor/*x*/apps/pairs.png |
f9ddb20c | 58 | %{_iconsdir}/hicolor/*x*/apps/pairseditor.png |