X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gg2.spec;h=cd8d806079beec7866a7eb093db6121f558df712;hb=ca5bcf46776eff7dfd3f233bc5a19d7715cb8d1a;hp=16a2323b2d279d9177c1c824461010a0caec7f69;hpb=caa293aad27a9b8efcc32eb3e27a33802c2be0bd;p=packages%2Fgg2.git diff --git a/gg2.spec b/gg2.spec index 16a2323..cd8d806 100644 --- a/gg2.spec +++ b/gg2.spec @@ -1,42 +1,43 @@ - +# +# Conditional build: %bcond_with arts %bcond_without perl %bcond_without esd - -%define _snap 20031122 +%bcond_without gtkspell +# Summary: GNU Gadu 2 - free talking Summary(es): GNU Gadu 2 - charlar libremente Summary(pl): GNU Gadu 2 - wolne gadanie Name: gg2 -Version: 2.0 -Release: 2.%{_snap}.1 -Epoch: 2 +Version: 2.0.2 +Release: 1 +Epoch: 3 License: GPL v2+ Group: Applications/Communications -Source0: http://gg.tiwek.com/gg2/snapshots/%{name}-%{_snap}.tar.bz2 -# Source0-md5: 2fe054116952b8e7ee63c72845ec88fa -Source1: %{name}.desktop -URL: http://www.gadu.gnu.pl/ -BuildRequires: perl-devel +Source0: http://dl.sourceforge.net/ggadu/%{name}-%{version}.tar.bz2 +# Source0-md5: 60505673a9c662e071caf6d1e181f2d6 +URL: http://www.gnugadu.org/ +%{?with_arts:BuildRequires: arts-devel} BuildRequires: autoconf BuildRequires: automake >= 1.7 %{?with_esd:BuildRequires: esound-devel >= 0.2.7} BuildRequires: gettext-devel >= 0.11.0 BuildRequires: glib2-devel >= 2.2.0 BuildRequires: gtk+2-devel >= 2.2.0 -BuildRequires: intltool -BuildRequires: libgadu-devel >= 4:1.4 BuildRequires: libtlen-devel BuildRequires: libtool -BuildRequires: loudmouth-devel >= 0.13.1 +BuildRequires: loudmouth-devel >= 0.15.1 +BuildRequires: openssl-devel >= 0.9.7d +%{?with_perl:BuildRequires: perl-devel} +%{?with_gtkspell:BuildRequires: gtkspell-devel} +%{?with_gtkspell:BuildRequires: aspell-devel} BuildRequires: pkgconfig BuildRequires: xosd-devel >= 2.0.0 -%{?with_arts:BuildRequires: arts-devel} -%{?with_perl:BuildRequires: perl-devel} +Requires: gg2-ui BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Gadu-Gadu, Tlen.pl and others instant messanger client with +Gadu-Gadu, Tlen.pl and others instant messenger client with GTK+2 GUI on GNU/GPL. %description -l es @@ -73,6 +74,7 @@ Summary: GTK+2 GUI plugin Summary(es): Plugin de GUI en GTK+2 Summary(pl): Wtyczka z GUI w GTK+2 Group: Applications/Communications +Provides: gg2-ui Requires: %{name} = %{epoch}:%{version}-%{release} %description gui-gtk+2 @@ -148,7 +150,6 @@ Un plugin para el protocolo Jabber. %description jabber -l pl Wtyczka protoko³u Jabber. -%if %{with esd} %package sound-esd Summary: Sound support with ESD Summary(es): Soporte de sonido a través de ESD @@ -164,7 +165,6 @@ Soporte de sonido a trav %description sound-esd -l pl Obs³uga d¼wiêku poprzez ESD. -%endif %package sound-oss Summary: OSS sound support @@ -198,7 +198,6 @@ Soporte de sonido a trav %description sound-external -l pl Obs³uga d¼wiêku przez zewnêtrzny program. -%if %{with arts} %package sound-aRts Summary: Sound support with aRts Summary(es): Soporte de sonido a través de aRts @@ -214,7 +213,6 @@ Soporte de sonido a trav %description sound-aRts -l pl Obs³uga d¼wiêku poprzez aRts. -%endif %package xosd Summary: Support for X On Screen Display @@ -241,7 +239,7 @@ Requires: %{name} = %{epoch}:%{version}-%{release} Obsoletes: %{name}-docklet %description docklet-system-tray -Support for Window Managers nofinication areas (GNOME, KDE). +Support for Window Managers notification areas (GNOME, KDE). %description docklet-system-tray -l es Soporte para áreas de notificación de los Manejantes de Ventanas @@ -252,17 +250,20 @@ Obs %package docklet-dockapp Summary: Support for WindowMaker-style dockapp -Summary(es): Soporte para áreas de notificación de los Manejantes de Ventanas -Summary(pl): Obs³uga obszarów powiadomieñ w ró¿nych zarz±dcach okien +Summary(es): Soporte de dockapp estilo WindowMaker +Summary(pl): Obs³uga dokowalnego apletu zgodnego z WindowMakerem Group: Applications/Communications Requires: %{name} = %{epoch}:%{version}-%{release} Obsoletes: %{name}-docklet %description docklet-dockapp -Support for WindowMaker-style dockapp +Support for WindowMaker-style dockapp. + +%description docklet-dockapp -l es +Suporte de dockapp estilo WindowMaker. %description docklet-dockapp -l pl -Obs³uga dokowalnego apletu zgodnego z WindowMaker +Obs³uga dokowalnego apletu zgodnego z WindowMakerem. %package sms Summary: SMS Gateway @@ -278,13 +279,15 @@ Send SMS to cellular phones via web gateways. Manda mensajes SMS a móviles vía puertas del Web. %description sms -l pl -Wtyczka wysy³aj±ca wiadomo¶ci SMS na telefony komórkowe przez bramki WWW. +Wtyczka wysy³aj±ca wiadomo¶ci SMS na telefony komórkowe przez bramki +WWW. %package remote Summary: Remote access from other applications Summary(es): Acceso remoto desde otras aplicaciones Summary(pl): Dostêp do programu z innych aplikacji Group: Applications/Communications +Provides: gg2-ui Requires: %{name} = %{epoch}:%{version}-%{release} %description remote @@ -330,13 +333,13 @@ Temas para el GUI de GNU Gadu 2. Motywy graficzne dla GUI GNU Gadu 2. %prep -%setup -q -n %{name}-%{_snap} +%setup -q -n %{name}-%{version} %build rm -f missing -intltoolize --copy --force +%{__gettextize} %{__libtoolize} -%{__aclocal} +%{__aclocal} -I src/plugins/gadu_gadu/libgadu/m4 %{__automake} %{__autoconf} @@ -351,12 +354,13 @@ intltoolize --copy --force --with-sms \ --with-docklet_system_tray \ --with-docklet_dockapp \ - --%{?with_esd:with}%{?!with_esd:without}-esd \ + --with%{!?with_esd:out}-esd \ --with-oss \ --with-external \ --with-update \ - --%{?with_arts:with}%{?!with_arts:without}-arts \ - --%{?with_perl:enable}%{?!with_perl:disable}-perl \ + --with%{!?with_arts:out}-arts \ + --with%{!?with_gtkspell:out}-gtkspell \ + --%{?with_perl:with}%{!?with_perl:without}-perl \ --with-remote %{__make} @@ -368,10 +372,7 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_desktopdir} -install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} -install -d $RPM_BUILD_ROOT%{_pixmapsdir} -install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/sounds -install $RPM_BUILD_ROOT%{_datadir}/%{name}/pixmaps/icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png +install gg2.desktop $RPM_BUILD_ROOT%{_desktopdir}/gg2.desktop %find_lang %{name} --all-name --with-gnome @@ -410,7 +411,7 @@ rm -rf $RPM_BUILD_ROOT %files emoticons %defattr(644,root,root,755) -%attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons +%{_datadir}/gg2/pixmaps/emoticons %files gadu-gadu %defattr(644,root,root,755)