]> git.pld-linux.org Git - packages/pidgin.git/blobdiff - pidgin.spec
- fix iconv in gg plugin
[packages/pidgin.git] / pidgin.spec
index 39ae0c42fafbee8ef8ed13e38f241a023e59bed1..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
@@ -33,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
@@ -42,10 +46,13 @@ 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
@@ -56,7 +63,8 @@ autoheader
 autoconf
 automake -a -c
 %configure \
-        --enable-panel \
+       %{?_with_panel:--enable-panel} \
+       %{?!_with_panel:--disable-panel} \
        --enable-esd \
        --disable-nas \
        --disable-artsc \
@@ -66,12 +74,16 @@ automake -a -c
 %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
 
@@ -81,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.02769 seconds and 4 git commands to generate.