]> git.pld-linux.org Git - packages/pidgin.git/blobdiff - pidgin.spec
- fix iconv in gg plugin
[packages/pidgin.git] / pidgin.spec
index 8fa5af273e172ebbd9c811b158ecd3ba24cb37ef..28e8e46d72f4efb815c8d701f83c480e1d9a6385 100644 (file)
@@ -1,13 +1,16 @@
+# _with_panel  GNOME panel support
 Summary:       A client compatible with AOL's 'Instant Messenger'
 Summary(pl):   Klient kompatybilny z programem AOLa 'Instant Messenger'
 Name:          gaim
-Version:       0.43
-Release:       1
+Version:       0.45
+Release:       3
 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}-font-by-locale.patch
+Patch1:                %{name}-iconv.patch
 URL:           http://gaim.sourceforge.net/
 BuildRequires: ORBit-devel
 BuildRequires: autoconf
@@ -17,6 +20,7 @@ BuildRequires:        esound-devel
 BuildRequires: gtk+-devel >= 1.2.5
 BuildRequires: gettext-devel
 BuildRequires: libtool
+BuildRequires: perl-devel
 Requires:      applnk
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,7 +36,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
@@ -41,35 +46,44 @@ 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.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-#rm  -f missing
+rm  -f missing
 libtoolize --copy --force
 gettextize --copy --force
 aclocal -I m4
 autoheader
 autoconf
-#automake -a -c
+automake -a -c
 %configure \
-       --enable-gnome \
-       --enable-panel \
-       --disable-perl
-
+       %{?_with_panel:--enable-panel} \
+       %{?!_with_panel:--disable-panel} \
+       --enable-esd \
+       --disable-nas \
+       --disable-artsc \
+       --with-gnome
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
+# NOTE: make ignores gaimdesktopdir set below.
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       gaimdesktopdir=%{_applnkdir}/Network/Communications
+       gaimdesktopdir=%{_applnkdir}/Network/Communications \
+       distribdesktopdir=%{_applnkdir}/Network/Communications
+
+mv $RPM_BUILD_ROOT{%{_datadir}/gnome/apps/Internet/gaim.desktop,%{_applnkdir}/Network/Communications}
        
 gzip -9nf AUTHORS ChangeLog NEWS README* STATUS TODO HACKING \
-       doc/{CREDITS,FAQ,PROTOCOL}
+       doc/{CREDITS,FAQ}
 
 %find_lang %{name} --with-gnome --all-name
 
@@ -79,10 +93,10 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {*,doc/*}.gz
-%{_sysconfdir}/CORBA/servers/*
+%{?_with_panel:%{_sysconfdir}/CORBA/servers/*}
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/gaim
-%attr(755,root,root) %{_libdir}/gaim/*
+%attr(755,root,root) %{_libdir}/gaim/*.so
 %{_applnkdir}/Network/Communications/*.desktop
 %{_pixmapsdir}/*
 %{_mandir}/man?/*
This page took 0.033537 seconds and 4 git commands to generate.