]> git.pld-linux.org Git - packages/pidgin.git/blobdiff - pidgin.spec
fixed a small typo
[packages/pidgin.git] / pidgin.spec
index 54dd34ff42c15bfc5a8ef66e998f4fcc7b386c49..195b8ae6a2ffb8da97e288457e1faeeaaee60d90 100644 (file)
@@ -1,25 +1,31 @@
+# This file does not like to be adapterized!
 Summary:       A client compatible with AOL's 'Instant Messenger'
-Summary(es):   Klient kompatybilny z programem AOLa 'Instant Messenger'
+Summary(pl):   Klient kompatybilny z AOL Instant Messenger
+Summary(pt_BR):        Um cliente para o AOL Instant Messenger (AIM)
 Name:          gaim
-Version:       0.11.0pre10
-Release:       1
-Epoch:         0
+Version:       0.56
+Release:       0.1
+Epoch:         1
 License:       GPL
 Group:         Applications/Communications
-Group(de):     Applikationen/Kommunikation
-Group(pl):     Aplikacje/Komunikacja
 Source0:       http://prdownloads.sourceforge.net/gaim/%{name}-%{version}.tar.bz2
+Patch0:                %{name}-gg_logoff.patch
+Patch1:                %{name}-AC_LIBOBJ.patch
+Patch2:                %{name}-am_ac.patch
 URL:           http://gaim.sourceforge.net/
+BuildRequires: ORBit-devel
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gnome-libs-devel >= 1.2.13
+BuildRequires: esound-devel
 BuildRequires: gtk+-devel >= 1.2.5
-BuildRequires: ORBit-devel
 BuildRequires: gettext-devel
-BuildRequires: esound-devel
-BuildRequires: automake
-BuildRequires: autoconf
 BuildRequires: libtool
-Prereq:                /sbin/ldconfig
+BuildRequires: perl-devel
+BuildRequires: gnome-core-devel
+BuildRequires: gdk-pixbuf-devel
 Requires:      applnk
+Requires:      gaim-ui
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
@@ -34,7 +40,8 @@ servers and can be retrieved from anywhere. It contains many of the
 same features as AOL's IM client while at the same time incorporating
 many new features. Gaim also contains a multiple connection feature
 which consists of protocol plugins. These plugins allow you to use
-gaim to connect to other chat services such as Yahoo!, ICQ, and IRC.
+gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
+Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
 
 %description -l pl
 Gaim pozwala na rozmowy z dowoln± osob± u¿ywaj±c± us³ugi AOL Instant
@@ -43,35 +50,95 @@ http://www.aim.aol.com/). Program u
 Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byc
 przes³ana gdziekolwiek. Gaim zawiera wiele udogodnieñ dostêpnych w
 kliencie AOL IM jak równie¿ dodaje w³asne. Gaim umo¿liwia tak¿e dostêp
-do us³ug takich jak Yahoo!, ICQ oraz IRC.
+do us³ug takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
+oraz Gadu-Gadu.
+
+%description -l pt_BR
+GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço
+tik/toc da AOL. É desenvolvido ativamente e suporta muitas das
+características do cliente da AOL, tendo uma interface similiar.
+Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!,
+MSN, Jabber e Napster.
+
+%package ui-gtk
+Summary:       gtk+ user interface for gaim
+Summary(pl):   Interfejs u¿ytkownika gaim korzystaj±cy z gtk+
+Group:         Applications/Communications
+Provides:      gaim-ui
+
+%description ui-gtk
+gtk+ user interface for gaim.
+
+%description ui-gtk -l pl
+Interfejs u¿ytkownika gaim korzystaj±cy z gtk+.
+
+%package ui-gnome
+Summary:       GNOME user interface for gaim (applet)
+Summary(pl):   Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet)
+Group:         Applications/Communications
+Provides:      gaim-ui
+
+%description ui-gnome
+GNOME user interface for gaim (applet).
+
+%description ui-gnome -l pl
+Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet).
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-rm missing
+rm -f missing
+rm -f configure.in
 libtoolize --copy --force
 gettextize --copy --force
 aclocal -I m4
 autoheader
 autoconf
-automake -a -c
+automake -a -c -f
 %configure \
-       --enable-gnome \
-       --enable-panel \
-       --disable-perl
+       --disable-panel \
+       --enable-esd \
+       --disable-nas \
+       --disable-artsc \
+       --disable-gnome \
+       --with-gtk-prefix=/usr/X11R6 \
+       --with-gdk-pixbuf-config=/usr/X11R6/bin/gdk-pixbuf-config 
+%{__make} 
+mv plugins/iconaway{,_standalone}.so
+mv src/gaim{,_standalone}
+%{__make} clean
 
+%configure \
+       --enable-panel \
+       --enable-esd \
+       --disable-nas \
+       --disable-artsc \
+       --enable-gnome \
+       --with-gtk-prefix=/usr/X11R6 \
+       --with-gdk-pixbuf-config=/usr/X11R6/bin/gdk-pixbuf-config 
 %{__make}
-
+       
 %install
 rm -rf $RPM_BUILD_ROOT
 
+# NOTE: make ignores gaimdesktopdir set below.
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       gaimdesktopdir=%{_applnkdir}/Network/Communications
-       
-gzip -9nf AUTHORS ChangeLog NEWS README* STATUS TODO HACKING \
-       doc/{CREDITS,FAQ,PROTOCOL}
+       gaimdesktopdir=%{_applnkdir}/Network/Communications \
+       distribdesktopdir=%{_applnkdir}/Network/Communications
+
+mv $RPM_BUILD_ROOT{%{_datadir}/gnome/apps/Internet/gaim.desktop,%{_applnkdir}/Network/Communications}
+
+mv $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway{,_applet}.so
+install plugins/iconaway_standalone.so $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway.so
+install src/gaim_standalone $RPM_BUILD_ROOT%{_bindir}/gaim
+
+gzip -9nf AUTHORS ChangeLog NEWS README* TODO HACKING \
+       doc/{CREDITS,FAQ}
 
 %find_lang %{name} --with-gnome --all-name
 
@@ -81,10 +148,20 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {*,doc/*}.gz
-%{_sysconfdir}/CORBA/servers/*
-%attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/gaim
-%attr(755,root,root) %{_libdir}/gaim/*
-%{_applnkdir}/Network/Communications/*.desktop
+%attr(755,root,root) %{_libdir}/gaim/[^i]*.so
 %{_pixmapsdir}/*
 %{_mandir}/man?/*
+
+%files ui-gtk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gaim
+%attr(755,root,root) %{_libdir}/gaim/iconaway.so
+%{_applnkdir}/Network/Communications/gaim.desktop
+
+%files ui-gnome
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gaim_applet
+%attr(755,root,root) %{_libdir}/gaim/iconaway_applet.so
+%{_applnkdir}/Network/Communications/gaim_applet.desktop
+%{_sysconfdir}/CORBA/servers/*
This page took 0.036013 seconds and 4 git commands to generate.