]> git.pld-linux.org Git - packages/pidgin.git/blob - pidgin.spec
- updated to brand new 0.60
[packages/pidgin.git] / pidgin.spec
1 # This file does not like to be adapterized!
2 Summary:        A client compatible with AOL's 'Instant Messenger'
3 Summary(pl):    Klient kompatybilny z AOL Instant Messenger
4 Summary(pt_BR): Um cliente para o AOL Instant Messenger (AIM)
5 Name:           gaim
6 Version:        0.60
7 Release:        1
8 Epoch:          1
9 License:        GPL
10 Group:          Applications/Communications
11 Source0:        http://belnet.dl.sourceforge.net/sourceforge/gaim/%{name}-%{version}.tar.gz
12 # Patch0:               %{name}-gg_logoff.patch
13 # Patch1:               %{name}-am_ac.patch
14 # Patch2:               %{name}-tw.patch
15 URL:            http://gaim.sourceforge.net/
16 BuildRequires:  ORBit-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gnome-libs-devel >= 1.2.13
20 BuildRequires:  esound-devel
21 BuildRequires:  gtk+2-devel >= 2.1.0
22 BuildRequires:  gettext-devel
23 BuildRequires:  libtool
24 BuildRequires:  perl-devel
25 BuildRequires:  gnome-core-devel
26 BuildRequires:  gdk-pixbuf-devel
27 Requires:       applnk
28 Requires:       gaim-ui = %{version}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _sysconfdir     /etc/X11/GNOME
32 %define         _prefix /usr/X11R6
33
34 %description
35 Gaim allows you to talk to anyone using AOL's Instant Messenger
36 service (you can sign up at http://www.aim.aol.com). It uses the TOC
37 version of the AOL protocol, so your buddy list is stored on AOL's
38 servers and can be retrieved from anywhere. It contains many of the
39 same features as AOL's IM client while at the same time incorporating
40 many new features. Gaim also contains a multiple connection feature
41 which consists of protocol plugins. These plugins allow you to use
42 gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
43 Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
44
45 %description -l pl
46 Gaim pozwala na rozmowy z dowoln± osob± u¿ywaj±c± us³ugi AOL Instant
47 Messenger (mo¿na siê zarejstrowaæ pod adresem
48 http://www.aim.aol.com/). Program u¿ywa wersji TOC protoko³u AOL wiêc
49 Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byc
50 przes³ana gdziekolwiek. Gaim zawiera wiele udogodnieñ dostêpnych w
51 kliencie AOL IM jak równie¿ dodaje w³asne. Gaim umo¿liwia tak¿e dostêp
52 do us³ug takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
53 oraz Gadu-Gadu.
54
55 %description -l pt_BR
56 GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço
57 tik/toc da AOL. É desenvolvido ativamente e suporta muitas das
58 características do cliente da AOL, tendo uma interface similiar.
59 Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!,
60 MSN, Jabber e Napster.
61
62 %package ui-gtk
63 Summary:        gtk+ user interface for gaim
64 Summary(pl):    Interfejs u¿ytkownika gaim korzystaj±cy z gtk+
65 Group:          Applications/Communications
66 Provides:       gaim-ui = %{version}-%{release}
67
68 %description ui-gtk
69 gtk+ user interface for gaim.
70
71 %description ui-gtk -l pl
72 Interfejs u¿ytkownika gaim korzystaj±cy z gtk+.
73
74 # %package ui-gnome
75 # Summary:      GNOME user interface for gaim (applet)
76 # Summary(pl):  Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet)
77 # Group:                Applications/Communications
78 # Provides:     gaim-ui = %{version}-%{release}
79
80 # %description ui-gnome
81 # GNOME user interface for gaim (applet).
82
83 # %description ui-gnome -l pl
84 # Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet).
85
86 %prep
87 %setup -qn %{name}-%{version}
88 # %patch0 -p1
89 # %patch1 -p1
90 # %patch2 -p1
91
92 %build
93 rm -f missing
94 %{__libtoolize}
95 %{__gettextize}
96 %{__aclocal} 
97 %{__autoheader}
98 %{__autoconf}
99 %{__automake}
100 %configure \
101         --disable-panel \
102         --enable-esd \
103         --disable-nas \
104         --disable-artsc \
105         --disable-gnome \
106         --with-gtk-prefix=/usr/X11R6 \
107         --with-gdk-pixbuf-config=/usr/X11R6/bin/gdk-pixbuf-config 
108 %{__make} 
109 mv plugins/.libs/iconaway{,_standalone}.so
110 mv src/gaim{,_standalone}
111 %{__make} clean
112
113 %configure \
114         --enable-panel \
115         --enable-esd \
116         --disable-nas \
117         --disable-artsc \
118         --enable-gnome \
119         --with-gtk-prefix=/usr/X11R6 \
120         --with-gdk-pixbuf-config=/usr/X11R6/bin/gdk-pixbuf-config 
121 %{__make}
122         
123 %install
124 rm -rf $RPM_BUILD_ROOT
125 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
126
127 # NOTE: make ignores gaimdesktopdir set below.
128 %{__make} install \
129         DESTDIR=$RPM_BUILD_ROOT \
130         gaimdesktopdir=%{_applnkdir}/Network/Communications \
131         distribdesktopdir=%{_applnkdir}/Network/Communications
132
133 mv $RPM_BUILD_ROOT{%{_datadir}/applications/gaim.desktop,%{_applnkdir}/Network/Communications}
134
135 mv $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway{,_applet}.so
136 install plugins/.libs/iconaway.so $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway.so
137 install src/gaim_standalone $RPM_BUILD_ROOT%{_bindir}/gaim
138
139 %find_lang %{name} --with-gnome --all-name
140
141 %clean
142 rm -rf $RPM_BUILD_ROOT
143
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
146 %doc AUTHORS ChangeLog NEWS README* TODO HACKING doc/{CREDITS,FAQ}
147 %dir %{_libdir}/gaim
148 %attr(755,root,root) %{_libdir}/gaim/[^i]*.so
149 %{_pixmapsdir}/*
150 %{_mandir}/man?/*
151 %{_datadir}/sounds/%{name}/*.wav
152
153 %files ui-gtk
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_bindir}/gaim
156 %attr(755,root,root) %{_libdir}/gaim/iconaway.so
157 %{_applnkdir}/Network/Communications/gaim.desktop
158
159 # %files ui-gnome
160 # %defattr(644,root,root,755)
161 # %attr(755,root,root) %{_bindir}/gaim_applet
162 # %attr(755,root,root) %{_libdir}/gaim/iconaway_applet.so
163 # %{_applnkdir}/Network/Communications/gaim_applet.desktop
164 # %{_sysconfdir}/CORBA/servers/*
This page took 0.063544 seconds and 3 git commands to generate.