3 # _with_ipv6 - with IPv6 support
5 Summary: A GNOME Jabber client
6 Summary(pl.UTF-8): Klient Jabber dla GNOME
7 Summary(pt_BR.UTF-8): Um cliente GNOME para o Jabber
12 Group: Applications/Communications
13 Source0: http://www.jabberstudio.org/files/gabber/Gabber-%{version}.tar.gz
14 # Source0-md5: eea74466431b962349ae9a911f010ea2
15 Patch0: %{name}-types.patch
16 Patch1: %{name}-conffix.patch
17 URL: http://gabber.sourceforge.net/
18 BuildRequires: gconfmm-devel >= 2.0.0
19 BuildRequires: jabberoo-devel >= 1.9.1
20 BuildRequires: libglademm-devel >= 2.0.0
21 BuildRequires: libsigc++12-devel >= 1.2.3
22 BuildRequires: aspell-devel
23 Requires(post): GConf2
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Gabber is a GNOME client for the distributed Open Source instant
29 messaging system called Jabber. Gabber aims to be a fairly complete
30 client while remaining easy to use, trying to maintain a balance
31 between too many features and being powerful enough.
33 %description -l pl.UTF-8
34 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
35 systemu Natychmiastowych Wiadomości (IM - Instant Messaging) o nazwie
36 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostając przy
39 %description -l pt_BR.UTF-8
40 Gabber é um cliente GNOME para o sistema distribuído de mensagens
41 instantâneas Jabber. Gabber é um cliente completo, sendo poderoso e ao
42 mesmo tempo fácil de usar.
45 %setup -q -n Gabber-%{version}
50 CXXFLAGS="%{rpmcflags}"
52 --%{!?debug:dis}%{?debug:en}able-debug \
53 --disable-schemas-install \
54 %{?_with_ipv6:--enable-ipv6}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT \
63 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
65 # modules are loaded through Glib::Module, i.e. gmodule interface
66 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
69 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc AUTHORS NEWS README TODO
77 %{_sysconfdir}/gconf/schemas/*
78 %attr(755,root,root) %{_bindir}/*
79 %dir %{_libdir}/Gabber
80 %attr(755,root,root) %{_libdir}/Gabber/*.so
82 %{_desktopdir}/*.desktop