3 # _with_ipv6 - with IPv6 support
5 Summary: A GNOME Jabber client
6 Summary(pl): Klient Jabber dla GNOME
7 Summary(pt_BR): Um cliente GNOME para o Jabber
12 Group: Applications/Communications
13 Source0: http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
14 Patch0: %{name}-DESTDIR.patch
15 Patch1: %{name}-ac_fixes.patch
16 URL: http://gabber.sourceforge.net/
17 BuildRequires: ORBit-devel
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: gal-devel >= 0.19
21 BuildRequires: gdk-pixbuf-gnome-devel
22 BuildRequires: gettext-devel
23 BuildRequires: gnome-libs-devel >= 1.2.13
24 BuildRequires: gnomemm-devel >= 1.2.0
25 BuildRequires: gnome-print-devel
26 BuildRequires: gtk+-devel >= 1.2.5
27 BuildRequires: gtkmm-devel >= 1.2.5
28 BuildRequires: intltool
29 BuildRequires: libglade-gnome-devel >= 0.17
30 BuildRequires: libsigc++1-devel
31 BuildRequires: libunicode-devel
32 BuildRequires: openssl-devel >= 0.9.6a
33 BuildRequires: scrollkeeper
34 BuildRequires: xmms-devel
35 Requires(post,postun): /sbin/ldconfig
36 Requires(post,postun): scrollkeeper
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 %define _prefix /usr/X11R6
42 %define _sysconfdir /etc/X11/GNOME
43 %define _mandir %{_prefix}/man
44 %define _omf_dest_dir %(scrollkeeper-config --omfdir)
47 Gabber is a Gnome client for the distributed Open Source instant
48 messaging system called Jabber. Gabber aims to be a fairly complete
49 client while remaining easy to use, trying to maintain a balance
50 between too many features and being powerful enough.
53 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
54 systemu Natychmiastowych Wiadomo¶ci (IM - Instant Messaging) o nazwie
55 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
59 Gabber é um cliente GNOME para o sistema distribuído de mensagens
60 instantâneas Jabber. Gabber é um cliente completo, sendo poderoso e ao
61 mesmo tempo fácil de usar.
69 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
70 mv -f configure.in.tmp configure.in
72 intltoolize --copy --force
74 aclocal -I %{_aclocaldir}/gnome
80 aclocal -I %{_aclocaldir}/gnome
85 CXXFLAGS="%{rpmcflags}"
87 --%{!?debug:dis}%{?debug:en}able-debug \
91 --enable-screensaver \
93 %{?_with_ipv6:--enable-ipv6} \
99 rm -rf $RPM_BUILD_ROOT
102 DESTDIR=$RPM_BUILD_ROOT \
103 Applicationsdir=%{_applnkdir}/Network/Communications \
104 omf_dest_dir=%{_omf_dest_dir}/%{name}
106 %find_lang %{name} --with-gnome --all-name
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /usr/bin/scrollkeeper-update
112 %postun -p /usr/bin/scrollkeeper-update
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
116 %doc AUTHORS NEWS README TODO
117 %{_sysconfdir}/sound/events/*
118 %attr(755,root,root) %{_bindir}/*
120 %{_applnkdir}/Network/Communications/*.desktop
122 %{_omf_dest_dir}/%{name}