# Conditional build:
# _with_ipv6 - with IPv6 support
#
-
Summary: A GNOME Jabber client
Summary(pl): Klient Jabber dla GNOME
Summary(pt_BR): Um cliente GNOME para o Jabber
Name: gabber
-Version: 1.9.0
-Release: 0.1
+Version: 1.9.4
+Release: 1.1
License: GPL
Group: Applications/Communications
-# take source 0 from cvs, please
-Source0: http://www.jabberstudio.org/projects/gabber/releases/download.php?file=%{name}-%{version}.tar.gz
+Source0: http://www.jabberstudio.org/files/gabber/Gabber-%{version}.tar.gz
+# Source0-md5: eea74466431b962349ae9a911f010ea2
+Patch0: %{name}-types.patch
+Patch1: %{name}-conffix.patch
URL: http://gabber.sourceforge.net/
-Requires: gnupg
BuildRequires: gconfmm-devel >= 2.0.0
-BuildRequires: jabberoo-devel >= 1.9.0.1
+BuildRequires: jabberoo-devel >= 1.9.1
BuildRequires: libglademm-devel >= 2.0.0
-BuildRequires: libsigc++-devel >= 1.2.3
+BuildRequires: libsigc++12-devel >= 1.2.3
+BuildRequires: aspell-devel
+Requires(post): GConf2
+Requires: gnupg
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Gabber is a Gnome client for the distributed Open Source instant
+Gabber is a GNOME client for the distributed Open Source instant
messaging system called Jabber. Gabber aims to be a fairly complete
client while remaining easy to use, trying to maintain a balance
between too many features and being powerful enough.
mesmo tempo fácil de usar.
%prep
-%setup -q
+%setup -q -n Gabber-%{version}
+%patch0 -p1
+%patch1 -p1
%build
-rm -f missing
-glib-gettextize
-intltoolize
-%{__libtoolize}
-%{__aclocal}
-%{__autoheader}
-%{__autoconf}
-%{__automake}
CXXFLAGS="%{rpmcflags}"
%configure \
--%{!?debug:dis}%{?debug:en}able-debug \
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-#%find_lang %{name} --with-gnome --all-name
+# modules are loaded through Glib::Module, i.e. gmodule interface
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
%clean
rm -rf $RPM_BUILD_ROOT
%post
-/usr/bin/scrollkeeper-update
%gconf_schema_install
-%postun -p /usr/bin/scrollkeeper-update
-
-#%files -f %{name}.lang
%files
%defattr(644,root,root,755)
%doc AUTHORS NEWS README TODO
%{_sysconfdir}/gconf/schemas/*
%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/*.so*
-%{_libdir}/*.la
-%{_datadir}/%{name}
-%{_datadir}/applications/*
+%dir %{_libdir}/Gabber
+%attr(755,root,root) %{_libdir}/Gabber/*.so
+%{_datadir}/Gabber
+%{_desktopdir}/*
%{_pixmapsdir}/*