]> git.pld-linux.org Git - packages/gg2.git/blobdiff - gg2.spec
- use dl.sourceforge.net in Source0 URL
[packages/gg2.git] / gg2.spec
index 8c6c141c919d708f680f869d7c31d0f986da5805..3f7fb379d35c2cf8578de79a79ee9f6b65a3e951 100644 (file)
--- a/gg2.spec
+++ b/gg2.spec
@@ -3,21 +3,20 @@
 %bcond_with    arts
 %bcond_without perl
 %bcond_without esd
+%bcond_without gtkspell
 #
-%define                _snap   20031122
 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
+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/
+Source0:       http://dl.sourceforge.net/ggadu/%{name}-%{version}.tar.bz2
+# Source0-md5: 7a9a1e49c289b24758e5a347136ec81a
+URL:           http://www.gnugadu.org/
 %{?with_arts:BuildRequires:    arts-devel}
 BuildRequires: autoconf
 BuildRequires: automake >= 1.7
@@ -25,14 +24,16 @@ BuildRequires:      automake >= 1.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
+Requires:      gg2-ui
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -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
@@ -285,6 +287,7 @@ 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,11 +333,11 @@ 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}
 %{__automake}
@@ -356,7 +359,8 @@ intltoolize --copy --force
        --with-external \
        --with-update \
        --with%{!?with_arts:out}-arts \
-       --%{?with_perl:enable}%{!?with_perl:disable}-perl \
+       --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)
This page took 0.060465 seconds and 4 git commands to generate.