]> git.pld-linux.org Git - packages/ggz-gtk-games.git/blob - ggz-gtk-games.spec
- new
[packages/ggz-gtk-games.git] / ggz-gtk-games.spec
1 Summary:        GNOME core client for GGZ
2 Summary(pl.UTF-8):      Klient GGZ dla środowiska GNOME
3 Name:           ggz-gtk-games
4 Version:        0.0.14.1
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  72049279f3f2d1a0a0b5196331867754
10 Patch0:         %{name}-nls-domains.patch
11 URL:            http://www.ggzgamingzone.org/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  ggz-client-libs-devel >= 0.0.14
16 BuildRequires:  gtk+2-devel >= 1:2.0.0
17 BuildRequires:  libggz-devel >= 0.0.14
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 Requires(post,preun):   ggz-client-libs >= 0.0.14
21 Requires:       ggz-client-libs >= 0.0.14
22 Requires:       libggz-devel >= 0.0.14
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This is the GNOME core client for GGZ.
27
28 %description -l pl.UTF-8
29 Ten pakiet to klient GGZ dla środowiska GNOME.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__aclocal} -I m4 -I m4/ggz
37 %{__autoconf}
38 %{__autoheader}
39 %{__automake}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 # collect modules.ggz pieces
50 install -d $RPM_BUILD_ROOT%{_datadir}/ggz/ggz-config
51 for d in chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe ; do
52         cp -p ${d}/module.dsc $RPM_BUILD_ROOT%{_datadir}/ggz/ggz-config/${d}.dsc
53 done
54 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules
55
56 # ggz* domains
57 %find_lang %{name} --all-name
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 for d in chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe ; do
64         %{_bindir}/ggz-config --install --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc
65 done
66
67 %preun
68 if [ "$1" = "0" ]; then
69         for d in chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe ; do
70                 %{_bindir}/ggz-config --install --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc
71         done
72 fi
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS QuickStart.GGZ README README.GGZ TODO
77 %attr(755,root,root) %{_libdir}/ggz/ggz.ccheckers
78 %attr(755,root,root) %{_libdir}/ggz/ggz.chess
79 %attr(755,root,root) %{_libdir}/ggz/ggz.combat
80 %attr(755,root,root) %{_libdir}/ggz/ggz.dots
81 %attr(755,root,root) %{_libdir}/ggz/ggz.ggzcards
82 %attr(755,root,root) %{_libdir}/ggz/ggz.hastings
83 %attr(755,root,root) %{_libdir}/ggz/ggz.reversi
84 %attr(755,root,root) %{_libdir}/ggz/ggz.spades
85 %attr(755,root,root) %{_libdir}/ggz/ggz.ttt
86 %{_datadir}/ggz/ccheckers
87 %{_datadir}/ggz/chess
88 %{_datadir}/ggz/combat
89 %{_datadir}/ggz/hastings
90 %{_datadir}/ggz/pixmaps
91 %{_datadir}/ggz/reversi
92 %{_datadir}/ggz/tictactoe
93 %{_datadir}/ggz/ggz-config/chess.dsc
94 %{_datadir}/ggz/ggz-config/chinese-checkers.dsc
95 %{_datadir}/ggz/ggz-config/combat.dsc
96 %{_datadir}/ggz/ggz-config/dots.dsc
97 %{_datadir}/ggz/ggz-config/ggzcards.dsc
98 %{_datadir}/ggz/ggz-config/hastings.dsc
99 %{_datadir}/ggz/ggz-config/reversi.dsc
100 %{_datadir}/ggz/ggz-config/spades.dsc
101 %{_datadir}/ggz/ggz-config/tictactoe.dsc
This page took 0.068239 seconds and 3 git commands to generate.