]> git.pld-linux.org Git - packages/gg2.git/blobdiff - gg2.spec
- snapshot 20031020
[packages/gg2.git] / gg2.spec
index e3859d3f738de06029cb8f3620290bc8cfc226b3..797cdf31d95f230f1c3679325d018b24282fe2e0 100644 (file)
--- a/gg2.spec
+++ b/gg2.spec
@@ -1,26 +1,30 @@
 
-%define                _pre    pre3
+%bcond_with    arts
+%bcond_without perl
+
+%define                _snap   20031020
 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:       1.%{_pre}.1
-Epoch:         1
+Release:       2.%{_snap}.1
+Epoch:         2
 License:       GPL v2+
 Group:         Applications/Communications
-Source0:       http://dl.sourceforge.net/sourceforge/ggadu/%{name}-%{version}%{_pre}.tar.gz
-# Source0-md5: 49c52cec6869c9ed1b3c015f37401879
+#Source0:      http://dl.sourceforge.net/sourceforge/ggadu/%{name}-%{version}-%{_snap}.tar.gz
+Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}-%{_snap}.tar.gz
+# Source0-md5: 2b1540839e84b39688c68d008d0725eb
 Source1:       %{name}.desktop
 URL:           http://www.gadu.gnu.pl/
-#BuildRequires:        arts-devel
 BuildRequires: perl-devel
 BuildRequires: autoconf
 BuildRequires: automake >= 1.7
 BuildRequires: esound-devel >= 0.2.7
-BuildRequires: iksemel-devel >= 0.0.1
+BuildRequires: loudmouth-devel >= 0.13.1
 BuildRequires: glib2-devel  >= 2.2.0
 BuildRequires: gtk+2-devel  >= 2.2.0
-BuildRequires: libgadu-devel >= 1.0
+BuildRequires: libgadu-devel <= 3:1.3-1
 BuildRequires: libtlen-devel
 BuildRequires: libtool
 BuildRequires: intltool
@@ -28,18 +32,25 @@ BuildRequires:      gettext-devel >= 0.11.0
 BuildRequires: xosd-devel   >= 2.0.0
 BuildRequires: pkgconfig
 BuildRequires: fontconfig-devel
+%{?with_arts:BuildRequires:    arts-devel}
+%{?with_perl:BuildRequires:    perl-devel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Gadu-Gadu, Tlen.pl and others instant messanger client with
 GTK+2 GUI on GNU/GPL.
 
+%description -l es
+Un cliente para Gadu-Gadu, Tlen.pl y otros protocolos con un GUI de
+GTK+2, bajo la licencia GNU/GPL.
+
 %description -l pl
 Klient Gadu-Gadu, Tlen.pl oraz innych protoko³ów z GUI pod GTK+2 na
 licencji GNU/GPL.
 
 %package devel
 Summary:       Headers for libgg2_core library to develop plugins
+Summary(es):   Cabeceras para la biblioteca libgg2_core para desarrollar plugins
 Summary(pl):   Pliki nag³ówkowe biblioteki libgg2_core potrzebne do rozwijania wtyczek
 Group:         Applications/Communications
 Requires:      %{name} = %{epoch}:%{version}
@@ -50,6 +61,10 @@ Requires:    perl-devel
 This package contains header files for libgg2_core library, needed to
 develop plugins for GNU Gadu 2.
 
+%description devel -l es
+Este paquete contiene los ficheros de cabeceras de la biblioteca
+libgg2_core necesarios para desarrollar plugins para GNU Gadu 2.
+
 %description devel -l pl
 Ten pakiet zawiera pliki nag³ówkowe biblioteki libgg2_core, potrzebne
 do rozwijania wtyczek do GNU Gadu 2.
@@ -150,17 +165,19 @@ Sound support with external player.
 %description sound-external -l pl
 Obs³uga d¼wiêku przez zewnêtrzny program.
 
-#%package sound-aRts
-#Summary:      Sound support with aRts
-#Summary(pl):  Obs³uga d¼wiêku poprzez aRts
-#Group:                Applications/Communications
-#Requires:     %{name} = %{version}
+%if %{with arts}
+%package sound-aRts
+Summary:       Sound support with aRts
+Summary(pl):   Obs³uga d¼wiêku poprzez aRts
+Group:         Applications/Communications
+Requires:      %{name} = %{version}
 
-#%description sound-aRts
-#Sound support with aRts.
+%description sound-aRts
+Sound support with aRts.
 
-#%description sound-aRts -l pl
-#Obs³uga d¼wiêku poprzez aRts.
+%description sound-aRts -l pl
+Obs³uga d¼wiêku poprzez aRts.
+%endif
 
 %package xosd
 Summary:       Support for X On Screen Display
@@ -188,7 +205,7 @@ Obs
 
 %package sms
 Summary:       SMS Gateway
-Summary(pl):    Bramka SMS
+Summary(pl):   Bramka SMS
 Group:         Applications/Communications
 Requires:      %{name} = %{epoch}:%{version}
 
@@ -202,7 +219,7 @@ Wtyczka wysy
 Summary:       Remote access from other applications
 Summary(pl):   Dostêp do programu z innych aplikacji
 Group:         Applications/Communications
-Requires:      %{name} = %{epoch}:%{version} 
+Requires:      %{name} = %{epoch}:%{version}
 
 %description remote
 Make possible exchange data with other applications.
@@ -220,11 +237,11 @@ Requires: %{name}-gui-gtk+2
 %description themes
 Themes for GNU Gadu 2 GUI.
 
-%description themes
+%description themes -l pl
 Motywy graficzne dla GUI GNU Gadu 2.
 
 %prep
-%setup -q -n %{name}-%{version}%{_pre}
+%setup -q -n %{name}-%{version}-%{_snap}
 
 %build
 rm -f missing
@@ -247,9 +264,13 @@ intltoolize --copy --force
        --with-oss \
        --with-sms \
        --with-external \
-       --with-remote \
-       --enable-perl
-#      --with-arts
+%if %{with arts}
+       --with-arts \
+%endif
+%if %{with perl}
+       --enable-perl \
+%endif
+       --with-remote
 
 %{__make}
 
@@ -330,6 +351,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gg2/libsound_external_plugin.so
 
+%if %{with arts}
+%files sound-aRts
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gg2/libsound_arts_plugin.so
+%endif
+
 %files xosd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
This page took 0.063308 seconds and 4 git commands to generate.