]> git.pld-linux.org Git - packages/ggz-kde-games.git/blame - ggz-kde-games.spec
- new
[packages/ggz-kde-games.git] / ggz-kde-games.spec
CommitLineData
765729c8
JB
1Summary: GGZ Gaming Zone - KDE frontends and clients
2Summary(pl.UTF-8): GGZ Gaming Zone - interfejsy i klienci KDE
3Name: ggz-kde-games
4Version: 0.0.14.1
5Release: 1
6License: GPL v2+
7Group: X11/Applications/Games
8Source0: http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: b70e6934e7a1bbbcacd5d33c4d81ccc3
10URL: http://www.ggzgamingzone.org/
11BuildRequires: gettext-devel
12BuildRequires: ggz-client-libs-devel >= 0.0.14
13BuildRequires: kdelibs-devel >= 3
14BuildRequires: libggz-devel >= 0.0.14
15BuildRequires: librsvg-devel >= 2.0
16BuildRequires: pkgconfig
17BuildRequires: qt-devel >= 3
18Requires(post,preun): ggz-client-libs >= 0.0.14
19Requires: ggz-client-libs >= 0.0.14
20Requires: kdelibs >= 3
21Requires: libggz >= 0.0.14
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25GGZ Gaming Zone - KDE frontends and clients.
26
27%description -l pl.UTF-8
28GGZ Gaming Zone - interfejsy i klienci KDE.
29
30%prep
31%setup -q
32
33%build
34%configure
35
36%{__make}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44# collect modules.ggz pieces
45install -d $RPM_BUILD_ROOT%{_datadir}/ggz/ggz-config
46for d in KReversi fyrdman kcc kconnectx kdots keepalive koenig krosswater ktictactux muehle ; do
47 cp -p ${d}/module.dsc $RPM_BUILD_ROOT%{_datadir}/ggz/ggz-config/${d}.dsc
48done
49%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules
50
51# po: KReversi fyrdman kdots koenig krosswater ktictactux muehle
52# khtml: muehle
53%find_lang %{name} --with-kde --all-name
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post
59for d in KReversi fyrdman kcc kconnectx kdots keepalive koenig krosswater ktictactux muehle ; do
60 %{_bindir}/ggz-config --install --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc --force
61done
62
63%preun
64if [ "$1" = "0" ]; then
65 for d in KReversi fyrdman kcc kconnectx kdots keepalive koenig krosswater ktictactux muehle ; do
66 %{_bindir}/ggz-config --remove --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc
67 done
68fi
69
70
71%files -f %{name}.lang
72%defattr(644,root,root,755)
73%doc AUTHORS ChangeLog NEWS QuickStart.GGZ README* TODO muehle/muehle.txt
74%attr(755,root,root) %{_libdir}/ggz/fyrdman
75%attr(755,root,root) %{_libdir}/ggz/ggz.kreversi
76%attr(755,root,root) %{_libdir}/ggz/kcc
77%attr(755,root,root) %{_libdir}/ggz/kconnectx
78%attr(755,root,root) %{_libdir}/ggz/kdots_client
79%attr(755,root,root) %{_libdir}/ggz/keepalive
80%attr(755,root,root) %{_libdir}/ggz/koenig
81%attr(755,root,root) %{_libdir}/ggz/krosswater_client
82%attr(755,root,root) %{_libdir}/ggz/ktictactux_client
83%attr(755,root,root) %{_libdir}/ggz/muehle
84%{_datadir}/apps/ggz.kreversi
85%{_datadir}/apps/kconnectx
86%{_datadir}/apps/koenig
87%{_datadir}/apps/ktictactux
88%{_datadir}/config/fyrdmanrc
89%{_datadir}/config/kccrc
90%{_datadir}/config/koenigrc
91%{_datadir}/config/ktictactuxrc
92%{_datadir}/config/muehlerc
93%{_datadir}/ggz/ggz-config/KReversi.dsc
94%{_datadir}/ggz/ggz-config/fyrdman.dsc
95%{_datadir}/ggz/ggz-config/kcc.dsc
96%{_datadir}/ggz/ggz-config/kconnectx.dsc
97%{_datadir}/ggz/ggz-config/kdots.dsc
98%{_datadir}/ggz/ggz-config/keepalive.dsc
99%{_datadir}/ggz/ggz-config/koenig.dsc
100%{_datadir}/ggz/ggz-config/krosswater.dsc
101%{_datadir}/ggz/ggz-config/ktictactux.dsc
102%{_datadir}/ggz/ggz-config/muehle.dsc
103%{_datadir}/ggz/fyrdman
104%{_datadir}/ggz/kcc
105%{_datadir}/ggz/kdots
106%{_datadir}/ggz/keepalive
107%{_datadir}/ggz/kreversi
108%{_datadir}/ggz/krosswater
109%{_datadir}/ggz/ktictactux
110%{_datadir}/ggz/muehle
111%{_desktopdir}/fyrdman.desktop
112%{_desktopdir}/kcc.desktop
113%{_desktopdir}/keepalive.desktop
114%{_desktopdir}/ktictactux.desktop
115%{_desktopdir}/muehle.desktop
116%{_mandir}/man6/muehle-ai.pl.6*
This page took 0.058807 seconds and 4 git commands to generate.