-%define snap 20021204
+%define snap 20030104
Summary: GNU Gadu 2 - free talking
Summary(pl): GNU Gadu 2 - wolne gadanie
License: GPL v2+
Group: Applications/Communications
Source0: http://www.hakore.com/~krzak/gg2/%{name}-%{snap}.tar.bz2
+Source1: %{name}.desktop
URL: http://gadu.gnu.pl/
#BuildRequires: arts-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: esound-devel >= 0.2.7
+BuildRequires: iksemel-devel >= 0.0.1
BuildRequires: glib2-devel >= 2.0.1
BuildRequires: gtk+2-devel >= 2.0.1
BuildRequires: libgadu-devel >= 20021123
%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
+Tlen.pl 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
--with-gtk2-gui \
--with-gadu-gadu \
--with-tlen \
+ --with-jabber \
--with-xosd \
--with-docklet \
--with-esd \
%{__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
%{_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
%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