]> git.pld-linux.org Git - packages/ggz-grubby.git/blob - ggz-grubby.spec
- new
[packages/ggz-grubby.git] / ggz-grubby.spec
1 #
2 # Conditional build:
3 %bcond_without  silc    # SILC support
4 #
5 Summary:        Grubby - GGZ chat bot
6 Summary(pl.UTF-8):      Grubby - bot dla chatu GGZ
7 Name:           ggz-grubby
8 Version:        0.0.14.1
9 Release:        1
10 License:        GPL v2+
11 Group:          X11/Applications/Games
12 Source0:        http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5:  32f8a5992ce4c9d6fde19512ea0eee5c
14 Patch0:         %{name}-silc.patch
15 Patch1:         %{name}-link.patch
16 Patch2:         %{name}-libdir.patch
17 Patch3:         %{name}-ruby.patch
18 URL:            http://www.ggzgamingzone.org/
19 BuildRequires:  autoconf >= 2.50
20 BuildRequires:  automake
21 BuildRequires:  ggz-client-libs-devel >= 0.0.14
22 BuildRequires:  libggz-devel >= 0.0.14
23 BuildRequires:  libtool
24 BuildRequires:  perl-devel >= 1:5.6.0
25 # not ready
26 #BuildRequires: php-devel >= 4
27 BuildRequires:  pkgconfig
28 BuildRequires:  python-devel >= 2.2
29 BuildRequires:  ruby-devel >= 1.9
30 %{?with_silc:BuildRequires:     silc-toolkit-devel >= 1.1}
31 BuildRequires:  tcl-devel >= 8.5
32 Requires:       ggz-client-libs-devel >= 0.0.14
33 Requires:       libggz-devel >= 0.0.14
34 %{?with_silc:Requires:  silc-toolkit >= 1.1}
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 This package contains grubby, the almighty chatbot. It's a single
39 binary, but it is very flexible and extensible by plugins and scripts.
40
41 %description -l pl.UTF-8
42 Ten pakiet zawiera program grubby - wszechmocnego bota dla czatu GGZ.
43 Jest to pojedyncza binarka, ale jest bardzo elastyczna i rozszerzalna
44 poprzez wtyczki i skrypty.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50 %patch2 -p1
51 %patch3 -p1
52
53 %build
54 %{__libtoolize}
55 %{__aclocal} -I m4 -I m4/ggz
56 %{__autoconf}
57 %{__autoheader}
58 %{__automake}
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/grubby/*modules/*.{la,a}
69
70 %find_lang grubby
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files -f grubby.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README README.GGZ TODO
78 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ggz.modules
79 %attr(755,root,root) %{_bindir}/grubby
80 %attr(755,root,root) %{_bindir}/grubby-config
81 %attr(755,root,root) %{_libdir}/ggz/guru-chess
82 %attr(755,root,root) %{_libdir}/ggz/guru-ttt
83 %dir %{_libdir}/grubby
84 %dir %{_libdir}/grubby/coremodules
85 %attr(755,root,root) %{_libdir}/grubby/coremodules/libguru_*.so
86 %dir %{_libdir}/grubby/modules
87 %attr(755,root,root) %{_libdir}/grubby/modules/libgurumod_*.so
88 %dir %{_datadir}/grubby
89 %attr(755,root,root) %{_datadir}/grubby/*.pl
90 %attr(755,root,root) %{_datadir}/grubby/*.rb
91 %{_mandir}/man1/grubby-config.1*
92 %{_mandir}/man6/grubby.6*
93 %lang(de) %{_mandir}/de/man1/grubby-config.1*
94 %lang(de) %{_mandir}/de/man6/grubby.6*
This page took 0.124991 seconds and 3 git commands to generate.