]> git.pld-linux.org Git - packages/gg2.git/blobdiff - gg2.spec
- updated to snap 20030125
[packages/gg2.git] / gg2.spec
index 830a53ffc254cb271a1d0e05fdaf28a8eb49da6d..5bcea727f4be8e384f365b996eb811a53149ee22 100644 (file)
--- a/gg2.spec
+++ b/gg2.spec
@@ -1,5 +1,5 @@
 
-%define                snap 20021204
+%define                snap 20030125
 
 Summary:       GNU Gadu 2 - free talking
 Summary(pl):   GNU Gadu 2 - wolne gadanie
@@ -9,23 +9,24 @@ Release:      1
 Epoch:         1
 License:       GPL v2+
 Group:         Applications/Communications
-Source0:       http://www.hakore.com/~krzak/gg2/%{name}-%{snap}.tar.bz2
+Source0:       http://www.hakore.com/~krzak/gg2/%{name}-%{snap}.tar.gz
+Source1:       %{name}.desktop
 URL:           http://gadu.gnu.pl/
 #BuildRequires:        arts-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: esound-devel >= 0.2.7
-BuildRequires: glib2-devel  >= 2.0.1
-BuildRequires: gtk+2-devel  >= 2.0.1
+BuildRequires: iksemel-devel >= 0.0.1
+BuildRequires: glib2-devel  >= 2.1.0
+BuildRequires: gtk+2-devel  >= 2.1.0
 BuildRequires: libgadu-devel >= 20021123
 BuildRequires: libtlen-devel
 BuildRequires: libtool
 BuildRequires: intltool
 BuildRequires: xosd-devel   >= 2.0.0
+BuildRequires:  pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
 Gadu-Gadu and Tlen.pl and any other instant messanger client with
 GTK+2 GUI on GNU/GPL.
@@ -82,6 +83,18 @@ Tlen.pl protocol plugin.
 %description tlen -l pl
 Wtyczka protoko³u Tlen.pl.
 
+%package jabber
+Summary:       Jabber.org plugin
+Summary(pl):   Wtyczka protoko³u Jabber
+Group:         Applications/Communications
+Requires:      %{name} = %{version}
+
+%description jabber
+Jabber protocol plugin.
+
+%description jabber -l pl
+Wtyczka protoko³u Jabber.org.
+
 %package sound-esd
 Summary:       Sound support with ESD
 Summary(pl):   Obs³uga d¼wiêku poprzez ESD
@@ -147,6 +160,8 @@ Obs
 
 %build
 rm -f missing
+glib-gettextize --copy --force
+intltoolize --copy --force
 %{__libtoolize}
 %{__aclocal}
 %{__automake}
@@ -158,6 +173,7 @@ rm -f missing
        --with-gtk2-gui \
        --with-gadu-gadu \
        --with-tlen \
+       --with-jabber \
        --with-xosd \
        --with-docklet \
        --with-esd \
@@ -172,6 +188,11 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_datadir}/applications
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}/
+install $RPM_BUILD_ROOT%{_datadir}/%{name}/pixmaps/online.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+
 %find_lang %{name} --all-name --with-gnome
 
 %clean
@@ -182,6 +203,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/gg2
 %dir %{_libdir}/gg2
+%{_datadir}/%{name}/sounds
 
 %files gui-gtk+2
 %defattr(644,root,root,755)
@@ -192,6 +214,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/gg2/pixmaps/*png
 %{_datadir}/gg2/pixmaps/*gif
 
+%{_pixmapsdir}/%{name}.xpm
+%{_datadir}/applications/gg2.desktop
+
 %files emoticons
 %attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons
 
@@ -203,6 +228,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
 
+%files jabber
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
+
 %files sound-esd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
This page took 0.087913 seconds and 4 git commands to generate.