]> git.pld-linux.org Git - packages/gg2.git/blobdiff - gg2.spec
- up to 2.0.6
[packages/gg2.git] / gg2.spec
index 8d35ad22f5e690a4565ef806cddf035c9630c778..44c9b44efab44041076e50aa37795d8b5b4ef0ba 100644 (file)
--- a/gg2.spec
+++ b/gg2.spec
@@ -1,6 +1,6 @@
 #
-# Conditional build:
-%bcond_with    arts
+# Conditional build: 
+%bcond_without arts
 %bcond_without perl
 %bcond_without esd
 %bcond_without gtkspell
@@ -9,35 +9,35 @@ 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
+Version:       2.0.6
 Release:       1
 Epoch:         3
 License:       GPL v2+
 Group:         Applications/Communications
-Source0:       http://osdn.dl.sourceforge.net/ggadu/%{name}-%{version}.tar.bz2
-# Source0-md5: 7a9a1e49c289b24758e5a347136ec81a
+Source0:       http://osdn.dl.sourceforge.net/sourceforge/ggadu/%{name}-%{version}.tar.gz
+# Source0-md5: ed977cb5bc00b37c9ceaece94f785b65
 URL:           http://www.gnugadu.org/
-%{?with_arts:BuildRequires:    arts-devel}
+%{?with_arts:BuildRequires:    artsc-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: gtk+2-devel  >= 2.4.0
 BuildRequires: libtlen-devel
 BuildRequires: libtool
-BuildRequires: loudmouth-devel >= 0.15.1
+BuildRequires: loudmouth-devel >= 0.16-4
 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
-BuildRequires:  aspell-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
@@ -140,6 +140,7 @@ Summary(es):        Plugin de Jabber.org
 Summary(pl):   Wtyczka protoko³u Jabber
 Group:         Applications/Communications
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      loudmouth >= 0.16-4
 
 %description jabber
 Jabber protocol plugin.
@@ -296,9 +297,24 @@ Make possible exchange data with other applications.
 %description remote -l es
 Permite intercambiar los datos con otras aplicaciones.
 
+
 %description remote -l pl
 Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami.
 
+
+%package history-external
+Summary:       Allow to view GNU Gadu chat history
+Summary(pl):   Pozwala przegl±daæ historiê rozmów GNU Gadu.
+Group:         Applications/Communications
+Requires:      gtk+2
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description history-external
+Allow to view GNU Gadu chat history
+
+%description history-external -l pl
+Pozwala przegl±daæ historiê rozmów GNU Gadu.
+
 %package update
 Summary:       Check for new GNU Gadu newer version
 Summary(es):   Verifica si hay versiones nuevas de GNU Gadu
@@ -333,13 +349,13 @@ Temas para el GUI de GNU Gadu 2.
 Motywy graficzne dla GUI GNU Gadu 2.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 
 %build
 rm -f missing
 %{__gettextize}
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I src/plugins/gadu_gadu/libgadu/m4
 %{__automake}
 %{__autoconf}
 
@@ -355,10 +371,12 @@ rm -f missing
        --with-docklet_system_tray \
        --with-docklet_dockapp \
        --with%{!?with_esd:out}-esd \
+       --with%{!?with_arts:out}-arts \
        --with-oss \
        --with-external \
        --with-update \
-       --with%{!?with_arts:out}-arts \
+       --with-history-external-viewer \
+       --with-gghist \
        --with%{!?with_gtkspell:out}-gtkspell \
        --%{?with_perl:with}%{!?with_perl:without}-perl \
        --with-remote
@@ -465,6 +483,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gg2/libremote_plugin.so
 
+%files history-external
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gghist
+%attr(755,root,root) %{_libdir}/gg2/libhistory_external_plugin.so
+
 %files update
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gg2/libupdate_plugin.so
@@ -478,6 +501,8 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/gg2/pixmaps/icons/classic
 %dir %{_datadir}/gg2/pixmaps/icons/modern
 %dir %{_datadir}/gg2/pixmaps/icons/rozgwiazda
+%dir %{_datadir}/gg2/pixmaps/icons/ghosts
+%dir %{_datadir}/gg2/pixmaps/icons/tlen-classic
 %{_datadir}/gg2/pixmaps/icons/bubble/*.png
 %{_datadir}/gg2/pixmaps/icons/bubble/README
 %{_datadir}/gg2/pixmaps/icons/classic/*.png
@@ -488,5 +513,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/gg2/pixmaps/icons/rozgwiazda/license.txt
 %{_datadir}/gg2/pixmaps/icons/ghosts/*.png
 %{_datadir}/gg2/pixmaps/icons/ghosts/README
-%{_datadir}/gg2/pixmaps/icons/tlen-3d/README
-%{_datadir}/gg2/pixmaps/icons/tlen-3d/*.png
+%{_datadir}/gg2/pixmaps/icons/tlen-classic/*.png
This page took 0.058761 seconds and 4 git commands to generate.