]> git.pld-linux.org Git - packages/pidgin.git/blob - pidgin.spec
a4dd5cac153944a2d858c7369d0f2e564b120fe7
[packages/pidgin.git] / pidgin.spec
1 %bcond_without  doc             # do not generate and include documentation
2 %bcond_without  gtkspell        # without gtkspell support
3 #
4 %include        /usr/lib/rpm/macros.perl
5 Summary:        A client compatible with AOL's 'Instant Messenger'
6 Summary(ko):    AOL ÀνºÅÏÆ® ¸Þ½ÅÀú¿Í È£È¯µÇ´Â Å¬¶óÀ̾ðÆ®
7 Summary(pl):    Klient kompatybilny z AOL Instant Messenger
8 Summary(pt_BR): Um cliente para o AOL Instant Messenger (AIM)
9 Summary(de):    Gaim ist ein Instant Messenger
10 Name:           gaim
11 Version:        1.3.1
12 Release:        1
13 Epoch:          1
14 License:        GPL
15 Group:          Applications/Communications
16 Source0:        http://dl.sourceforge.net/gaim/%{name}-%{version}.tar.bz2
17 # Source0-md5:  a76e59c5093773169fbb232782a2f116
18 Patch0:         %{name}-nolibs.patch
19 Patch1:         %{name}-desktop.patch
20 Patch2:         %{name}-GG-evo.patch
21 URL:            http://gaim.sourceforge.net/
22 BuildRequires:  audiofile-devel
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  evolution-data-server >= 0.0.95
26 BuildRequires:  gettext-devel
27 BuildRequires:  gtk+2-devel >= 1:2.2.0
28 %{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.4}
29 BuildRequires:  libao-devel
30 BuildRequires:  libtool
31 BuildRequires:  perl-devel
32 BuildRequires:  pkgconfig
33 BuildRequires:  rpm-perlprov
34 BuildRequires:  xcursor-devel
35 %if %{with doc}
36 BuildRequires:  doxygen
37 BuildRequires:  graphviz
38 %endif
39 Requires:       gaim-ui = %{epoch}:%{version}-%{release}
40 #Requires:      libao
41 # weird: it *should* break after DynaLoader's version change, but it doesn't
42 #Requires:      perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 Gaim allows you to talk to anyone using AOL's Instant Messenger
47 service (you can sign up at http://www.aim.aol.com). It uses the TOC
48 version of the AOL protocol, so your buddy list is stored on AOL's
49 servers and can be retrieved from anywhere. It contains many of the
50 same features as AOL's IM client while at the same time incorporating
51 many new features. Gaim also contains a multiple connection feature
52 which consists of protocol plugins. These plugins allow you to use
53 gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
54 Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
55
56 %description -l pl
57 Gaim pozwala na rozmowy z dowoln± osob± u¿ywaj±c± us³ugi AOL Instant
58 Messenger (mo¿na siê zarejestrowaæ pod adresem
59 http://www.aim.aol.com/). Program u¿ywa wersji TOC protoko³u AOL wiêc
60 Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byæ
61 przes³ana gdziekolwiek. Gaim zawiera wiele udogodnieñ dostêpnych w
62 kliencie AOL IM jak równie¿ dodaje w³asne. Gaim umo¿liwia tak¿e dostêp
63 do us³ug takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
64 oraz Gadu-Gadu.
65
66 %description -l pt_BR
67 GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço
68 tik/toc da AOL. É desenvolvido ativamente e suporta muitas das
69 características do cliente da AOL, tendo uma interface similiar.
70 Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!,
71 MSN, Jabber e Napster.
72
73 %description -l de
74 Gaim ist ein Instant Messenger der von Mark Spencer ursprünglich für
75 unixähnliche Systeme (GNU/Linux, BSD) geschrieben wurde, nun aber auch
76 auf Microsoft Windows und Mac OS X lauffähig ist und mit vielen
77 Plugins stark erweitert werden kann.
78
79 %package ui-gtk
80 Summary:        gtk+ user interface for gaim
81 Summary(pl):    Interfejs u¿ytkownika gaim korzystaj±cy z gtk+
82 Group:          Applications/Communications
83 Provides:       gaim-ui = %{epoch}:%{version}-%{release}
84
85 %description ui-gtk
86 gtk+ user interface for gaim.
87
88 %description ui-gtk -l pl
89 Interfejs u¿ytkownika gaim korzystaj±cy z gtk+.
90
91 %package devel
92 Summary:        Development files for gaim-remote library
93 Summary(pl):    Pliki programistyczne biblioteki gaim-remote
94 Group:          Development/Libraries
95 Requires:       %{name} = %{epoch}:%{version}-%{release}
96 Requires:       glib2-devel >= 2.0.0
97 Requires:       gtk+2-devel >= 1:2.2.0
98
99 %description devel
100 Development files for gaim-remote library.
101
102 %description devel -l pl
103 Pliki programistyczne biblioteki gaim-remote.
104
105 %package perl
106 Summary:        Gaim files for perl scripts
107 Summary(pl):    Pliki Gaim dla skryptów perl
108 Group:          Development/Libraries
109 Requires:       %{name} = %{epoch}:%{version}-%{release}
110
111 %description perl
112 Gaim files for perl scripts.
113
114 %description perl -l pl
115 Pliki Gaim dla skryptów perl.
116
117 %package doc
118 Summary:        Gaim documentation for developers (HTML format)
119 Summary(pl):    Dokumentacja Gaim dla programistów (format HTML)
120 Group:          Development/Libraries
121
122 %description doc
123 Gaim documentation for developers (HTML format).
124
125 %description doc -l pl
126 Dokumentacja Gaim dla programistów (format HTML).
127
128 %prep
129 %setup -q
130 %patch0 -p1
131 %patch1 -p1
132 %patch2 -p1
133
134 %build
135 %{__libtoolize}
136 %{__gettextize}
137 %{__aclocal}
138 %{__autoheader}
139 %{__autoconf}
140 %{__automake}
141 %configure \
142         --disable-nas \
143         --enable-nss=no \
144         --with-perl-lib=vendor \
145         %{!?with_gtkspell:--disable-gtkspell}
146
147 %{__make}
148 %{?with_doc:%{__make} docs}
149
150 %install
151 rm -rf $RPM_BUILD_ROOT
152
153 %{__make} install \
154         DESTDIR=$RPM_BUILD_ROOT
155
156 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la
157
158 # for future my_MM not supported by glibc yet
159 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/my{_MM,}
160
161 %find_lang %{name} --with-gnome --all-name
162
163 %clean
164 rm -rf $RPM_BUILD_ROOT
165
166 %post   -p /sbin/ldconfig
167 %postun -p /sbin/ldconfig
168
169 %files -f %{name}.lang
170 %defattr(644,root,root,755)
171 %doc AUTHORS ChangeLog NEWS README* HACKING doc/{CREDITS,FAQ}
172 %attr(755,root,root) %{_bindir}/gaim-remote
173 %attr(755,root,root) %{_libdir}/libgaim-remote.so.0.0.0
174 %dir %{_libdir}/gaim
175 %attr(755,root,root) %{_libdir}/gaim/[!pi]*.so
176 %attr(755,root,root) %{_libdir}/gaim/idle*.so
177 %{_pixmapsdir}/*
178 %{_mandir}/man?/*
179 %{_datadir}/sounds/%{name}
180
181 %files ui-gtk
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_bindir}/gaim
184 %attr(755,root,root) %{_libdir}/gaim/iconaway.so
185 %{_desktopdir}/gaim.desktop
186
187 %files devel
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/libgaim-remote.so
190 %{_libdir}/libgaim-remote.la
191 %dir %{_includedir}/gaim
192 %{_includedir}/gaim/*.h
193 %{_pkgconfigdir}/*
194
195 %files perl
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_libdir}/gaim/perl.so
198 %{perl_vendorarch}/*.pm
199 %dir %{perl_vendorarch}/auto/Gaim
200 %{perl_vendorarch}/auto/Gaim/*.ix
201 %{perl_vendorarch}/auto/Gaim/*.bs
202 %attr(755,root,root) %{perl_vendorarch}/auto/Gaim/*.so
203
204 %if %{with doc}
205 %files doc
206 %defattr(644,root,root,755)
207 %doc doc/html/*.{html,png,css}
208 %endif
This page took 0.042585 seconds and 3 git commands to generate.