1 Summary: A GNOME Jabber client
2 Summary(pl): Klient Jabber dla GNOME
7 Group: Applications/Communications
8 Group(de): Applikationen/Kommunikation
9 Group(pl): Aplikacje/Komunikacja
10 Source0: http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
11 Patch0: %{name}-DESTDIR.patch
12 URL: http://gabber.sourceforge.net/
13 BuildRequires: ORBit-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gal-devel >= 0.18
17 BuildRequires: gdk-pixbuf-devel
18 BuildRequires: gettext-devel
19 BuildRequires: gnome-libs-devel >= 1.2.13
20 BuildRequires: gnomemm-devel >= 1.2.0
21 BuildRequires: gnome-print-devel
22 BuildRequires: gtk+-devel >= 1.2.5
23 BuildRequires: gtkmm-devel >= 1.2.5
24 BuildRequires: libglade-devel >= 0.17
25 BuildRequires: libsigc++-devel
26 BuildRequires: libunicode-devel
27 BuildRequires: openssl-devel >= 0.9.6a
28 BuildRequires: scrollkeeper
29 BuildRequires: xml-i18n-tools
30 BuildRequires: xmms-devel
31 Prereq: /sbin/ldconfig
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 %define _prefix /usr/X11R6
38 %define _sysconfdir /etc/X11/GNOME
39 %define _mandir %{_prefix}/man
40 %define _omf_dest_dir %(scrollkeeper-config --omfdir)
43 Gabber is a Gnome client for the distributed Open Source instant
44 messaging system called Jabber. Gabber aims to be a fairly complete
45 client while remaining easy to use, trying to maintain a balance
46 between too many features and being powerful enough.
49 Gabber jest klientem GNOME dla dystrybuowanego na zasadach Open Source
50 systemu Natychmiastowych Wiadomo¶ci (IM - Instant Messaging) o nazwie
51 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
59 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
60 mv -f configure.in.tmp configure.in
62 xml-i18n-toolize --copy --force
63 gettextize --copy --force
64 aclocal -I %{_aclocaldir}/gnome
70 aclocal -I %{_aclocaldir}/gnome
74 CXXFLAGS="%{rpmcflags}"
76 --%{?debug:dis}%{!?devbug:en}able-debug \
80 --enable-screensaver \
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT \
91 Applicationsdir=%{_applnkdir}/Network/Communications \
92 omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
94 gzip -9nf AUTHORS NEWS README TODO
96 %find_lang %{name} --with-gnome --all-name
98 %post -p /usr/bin/scrollkeeper-update
99 %postun -p /usr/bin/scrollkeeper-update
102 rm -rf $RPM_BUILD_ROOT
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
107 %{_sysconfdir}/sound/events/*
108 %attr(755,root,root) %{_bindir}/*
110 %{_applnkdir}/Network/Communications/*.desktop
112 %{_omf_dest_dir}/omf/%{name}