]> git.pld-linux.org Git - packages/ggz-grubby.git/blame - ggz-grubby.spec
- new
[packages/ggz-grubby.git] / ggz-grubby.spec
CommitLineData
5c1c6879
JB
1#
2# Conditional build:
3%bcond_without silc # SILC support
4#
5Summary: Grubby - GGZ chat bot
6Summary(pl.UTF-8): Grubby - bot dla chatu GGZ
7Name: ggz-grubby
8Version: 0.0.14.1
9Release: 1
10License: GPL v2+
11Group: X11/Applications/Games
12Source0: http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
13# Source0-md5: 32f8a5992ce4c9d6fde19512ea0eee5c
14Patch0: %{name}-silc.patch
15Patch1: %{name}-link.patch
16Patch2: %{name}-libdir.patch
17Patch3: %{name}-ruby.patch
18URL: http://www.ggzgamingzone.org/
19BuildRequires: autoconf >= 2.50
20BuildRequires: automake
21BuildRequires: ggz-client-libs-devel >= 0.0.14
22BuildRequires: libggz-devel >= 0.0.14
23BuildRequires: libtool
24BuildRequires: perl-devel >= 1:5.6.0
25# not ready
26#BuildRequires: php-devel >= 4
27BuildRequires: pkgconfig
28BuildRequires: python-devel >= 2.2
29BuildRequires: ruby-devel >= 1.9
30%{?with_silc:BuildRequires: silc-toolkit-devel >= 1.1}
31BuildRequires: tcl-devel >= 8.5
32Requires: ggz-client-libs-devel >= 0.0.14
33Requires: libggz-devel >= 0.0.14
34%{?with_silc:Requires: silc-toolkit >= 1.1}
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38This package contains grubby, the almighty chatbot. It's a single
39binary, but it is very flexible and extensible by plugins and scripts.
40
41%description -l pl.UTF-8
42Ten pakiet zawiera program grubby - wszechmocnego bota dla czatu GGZ.
43Jest to pojedyncza binarka, ale jest bardzo elastyczna i rozszerzalna
44poprzez 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
63rm -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
73rm -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.08966 seconds and 4 git commands to generate.