]> git.pld-linux.org Git - packages/kde4-palapeli.git/blame - kde4-palapeli.spec
- updated to 4.13.1 (by update-kde4.sh)
[packages/kde4-palapeli.git] / kde4-palapeli.spec
CommitLineData
a6436fe4
WF
1#TODO: devel package
2%define _state stable
3%define orgname palapeli
4%define qtver 4.8.0
5
6Summary: Palapeli
7Name: kde4-%{orgname}
2c918730 8Version: 4.13.1
a6436fe4
WF
9Release: 1
10License: GPL
11Group: X11/Applications/Games
12Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
2c918730 13# Source0-md5: 6278509f2c172691d1210174e96d1b3e
a6436fe4
WF
14BuildRequires: automoc4 >= 0.9.88
15BuildRequires: cmake >= 2.8.0
16BuildRequires: kde4-kdelibs-devel >= %{version}
17BuildRequires: kde4-libkdegames-devel >= %{version}
18BuildRequires: qt4-build >= %{qtver}
19BuildRequires: qt4-qmake >= %{qtver}
20BuildRequires: rpmbuild(macros) >= 1.600
21Obsoletes: kde4-kdegames-%{orgname}
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Palapeli.
26
27%prep
28%setup -q -n %{orgname}-%{version}
29
30%build
31install -d build
32cd build
33%cmake \
34 ../
35
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} -C build install \
42 DESTDIR=$RPM_BUILD_ROOT \
43 kde_htmldir=%{_kdedocdir}
44
45install -d $RPM_BUILD_ROOT/var/games
46# remove locolor icons
47rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
48
49%find_lang %{orgname} --with-kde
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post -p /sbin/ldconfig
55%postun -p /sbin/ldconfig
56
57%files -f %{orgname}.lang
58%defattr(644,root,root,755)
59%attr(755,root,root) %{_bindir}/palapeli
60%attr(755,root,root) %{_libdir}/kde4/palapeli_jigsawslicer.so
61%attr(755,root,root) %{_libdir}/kde4/palapeli_rectslicer.so
62%attr(755,root,root) %{_libdir}/kde4/palathumbcreator.so
63%attr(755,root,root) %{_libdir}/kde4/palapeli_goldbergslicer.so
64%attr(755,root,root) %ghost %{_libdir}/libpala.so.?
65%attr(755,root,root) %{_libdir}/libpala.so.*.*.*
66%{_datadir}/apps/palapeli
67%{_datadir}/kde4/services/ServiceMenus/palapeli_servicemenu.desktop
68%{_datadir}/kde4/services/palapeli_jigsawslicer.desktop
69%{_datadir}/kde4/services/palapeli_rectslicer.desktop
70%{_datadir}/kde4/services/palathumbcreator.desktop
71%{_datadir}/kde4/services/palapeli_goldbergslicer.desktop
72%{_datadir}/kde4/servicetypes/libpala-slicerplugin.desktop
73%{_datadir}/mime/packages/palapeli-mimetypes.xml
74%{_desktopdir}/kde4/palapeli.desktop
75%{_datadir}/config/palapeli-collectionrc
76%{_iconsdir}/hicolor/*x*/apps/palapeli.png
77%{_iconsdir}/hicolor/*x*/mimetypes/application-x-palapeli.png
This page took 0.085717 seconds and 4 git commands to generate.