]> git.pld-linux.org Git - packages/gabber.git/blobdiff - gabber.spec
- s/xml-i18n-tools/intltool/ in BR, more specific Requires; release 3
[packages/gabber.git] / gabber.spec
index 818027a24a04b0a76c3b49d24dd17229e932f94c..dd72595596dde55abd59014ba01bafe7ec75986e 100644 (file)
@@ -1,34 +1,38 @@
+#
+# 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:       0.8.4
-Release:       1
+Version:       0.8.7
+Release:       3
 License:       GPL
 Group:         Applications/Communications
-Group(de):     Applikationen/Kommunikation
-Group(pl):     Aplikacje/Komunikacja
 Source0:       http://prdownloads.sourceforge.net/gabber/%{name}-%{version}.tar.gz
 Patch0:                %{name}-DESTDIR.patch
-patch1:                %{name}-ac_fixes.patch
 URL:           http://gabber.sourceforge.net/
 BuildRequires: ORBit-devel
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gal-devel >= 0.19
+BuildRequires: gdk-pixbuf-gnome-devel
+BuildRequires: gettext-devel
 BuildRequires: gnome-libs-devel >= 1.2.13
 BuildRequires: gnomemm-devel >= 1.2.0
-BuildRequires: gettext-devel
+BuildRequires: gnome-print-devel
 BuildRequires: gtk+-devel >= 1.2.5
 BuildRequires: gtkmm-devel >= 1.2.5
-BuildRequires: libtool
-BuildRequires: libglade-devel >= 0.17
+BuildRequires: intltool
+BuildRequires: libglade-gnome-devel >= 0.17
 BuildRequires: libsigc++-devel
 BuildRequires: libunicode-devel
 BuildRequires: openssl-devel >= 0.9.6a
-BuildRequires: gal-devel >= 0.3
 BuildRequires: scrollkeeper
-BuildRequires: xml-i18n-tools
-Prereq:                /sbin/ldconfig
-Prereq:                scrollkeeper
+BuildRequires: xmms-devel
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): scrollkeeper
 Requires:      applnk
 Requires:      gnupg
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,33 +54,41 @@ systemu Natychmiastowych Wiadomo
 Jabber. Gabber jest kompletnym klientem systemu Jabber pozostaj±c przy
 tym prostym w u¿yciu.
 
+%description -l pt_BR
+Gabber é um cliente GNOME para o sistema distribuído de mensagens
+instantâneas Jabber. Gabber é um cliente completo, sendo poderoso e ao
+mesmo tempo fácil de usar.
+
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
-cd jabberoo
-rm missing
-libtoolize --copy --force
-gettextize --copy --force
+sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
+mv -f configure.in.tmp configure.in
+rm -f missing
+xml-i18n-toolize --copy --force
+%{__gettextize}
 aclocal -I %{_aclocaldir}/gnome
 autoheader
-autoconf
-automake -a -c
-cd ..
-
-rm missing
-libtoolize --copy --force
-xml-i18n-toolize --copy --force
-gettextize --copy --force
+%{__autoconf}
+%{__automake}
+cd jabberoo
+rm -f missing
 aclocal -I %{_aclocaldir}/gnome
 autoheader
-autoconf
-automake -a -c
+%{__autoconf}
+%{__automake}
+cd ..
+CXXFLAGS="%{rpmcflags}"
 %configure \
+       --%{!?debug:dis}%{?debug:en}able-debug \
        --enable-gnome \
        --enable-panel \
+       --enable-ssl \
+       --enable-screensaver \
+       --enable-xmms \
+       %{?_with_ipv6:--enable-ipv6} \
        --disable-perl
 
 %{__make}
@@ -87,26 +99,24 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        Applicationsdir=%{_applnkdir}/Network/Communications \
-       omf_dest_dir=%{_omf_dest_dir}/omf/gabber
-
-gzip -9nf AUTHORS NEWS README TODO
+       omf_dest_dir=%{_omf_dest_dir}/%{name}
 
 %find_lang %{name} --with-gnome --all-name
 
-%post  -p /usr/bin/scrollkeeper-update
-%postun -p /usr/bin/scrollkeeper-update
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /usr/bin/scrollkeeper-update
+%postun -p /usr/bin/scrollkeeper-update
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
-%{_sysconfdir}/*/*/*
+%doc AUTHORS NEWS README TODO
+%{_sysconfdir}/sound/events/*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man?/*
 %{_applnkdir}/Network/Communications/*.desktop
 %{_datadir}/%{name}
-%{_omf_dest_dir}/omf/%{name}
+%{_omf_dest_dir}/%{name}
 %{_pixmapsdir}/*
 %{_datadir}/sounds/*
This page took 0.077434 seconds and 4 git commands to generate.