]> git.pld-linux.org Git - packages/gg2.git/blob - gg2.spec
- added BR
[packages/gg2.git] / gg2.spec
1
2 %define         snap 20030122
3
4 Summary:        GNU Gadu 2 - free talking
5 Summary(pl):    GNU Gadu 2 - wolne gadanie
6 Name:           gg2
7 Version:        %{snap}
8 Release:        1
9 Epoch:          1
10 License:        GPL v2+
11 Group:          Applications/Communications
12 Source0:        http://www.hakore.com/~krzak/gg2/%{name}-%{snap}.tar.gz
13 Source1:        %{name}.desktop
14 Patch0:         %{name}-gettext.patch
15 URL:            http://gadu.gnu.pl/
16 #BuildRequires: arts-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  esound-devel >= 0.2.7
20 BuildRequires:  iksemel-devel >= 0.0.1
21 BuildRequires:  glib2-devel  >= 2.1.0
22 BuildRequires:  gtk+2-devel  >= 2.1.0
23 BuildRequires:  libgadu-devel >= 20021123
24 BuildRequires:  libtlen-devel
25 BuildRequires:  libtool
26 BuildRequires:  intltool
27 BuildRequires:  xosd-devel   >= 2.0.0
28 BuildRequires:  pkgconfig
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Gadu-Gadu and Tlen.pl and any other instant messanger client with
33 GTK+2 GUI on GNU/GPL.
34
35 %description -l pl
36 Klient Gadu-Gadu i Tlen.pl oraz innych protoko³ów z GUI pod GTK+2 na
37 licencji GNU/GPL.
38
39 %package gui-gtk+2
40 Summary:        GTK+2 GUI plugin
41 Summary(pl):    Wtyczka z GUI w GTK+2
42 Group:          Applications/Communications
43 Requires:       %{name} = %{version}
44
45 %description gui-gtk+2
46 GTK+2 GUI plugin for GNU Gadu 2.
47
48 %description gui-gtk+2 -l pl
49 Wtyczka z GUI w GTK+2 do GNU Gadu 2.
50
51 %package emoticons
52 Summary:        Emoticons
53 Summary(pl):    Emotikony
54 Group:          Applications/Communications
55 Requires:       %{name} = %{version}
56
57 %description emoticons
58 Emotions icons and description files.
59
60 %description emoticons -l pl
61 Zestaw ikon z emotikonami, oraz plikiem konfiguracyjnym.
62
63 %package gadu-gadu
64 Summary:        Gadu-Gadu plugin
65 Summary(pl):    Wtyczka protoko³u Gadu-Gadu
66 Group:          Applications/Communications
67 Requires:       %{name} = %{version}
68
69 %description gadu-gadu
70 Gadu-Gadu protocol plugin.
71
72 %description gadu-gadu -l pl
73 Wtyczka protoko³u Gadu-Gadu.
74
75 %package tlen
76 Summary:        Tlen.pl plugin
77 Summary(pl):    Wtyczka protoko³u Tlen.pl
78 Group:          Applications/Communications
79 Requires:       %{name} = %{version}
80
81 %description tlen
82 Tlen.pl protocol plugin.
83
84 %description tlen -l pl
85 Wtyczka protoko³u Tlen.pl.
86
87 %package jabber
88 Summary:        Jabber.org plugin
89 Summary(pl):    Wtyczka protoko³u Jabber
90 Group:          Applications/Communications
91 Requires:       %{name} = %{version}
92
93 %description jabber
94 Jabber protocol plugin.
95
96 %description jabber -l pl
97 Wtyczka protoko³u Jabber.org.
98
99 %package sound-esd
100 Summary:        Sound support with ESD
101 Summary(pl):    Obs³uga d¼wiêku poprzez ESD
102 Group:          Applications/Communications
103 Requires:       %{name} = %{version}
104
105 %description sound-esd
106 Sound support with ESD.
107
108 %description sound-esd -l pl
109 Obs³uga d¼wiêku poprzez ESD.
110
111 %package sound-oss
112 Summary:        OSS sound support
113 Summary(pl):    Obs³uga d¼wiêku OSS
114 Group:          Applications/Communications
115 Requires:       %{name} = %{version}
116
117 %description sound-oss
118 OSS sound support.
119
120 %description sound-oss -l pl
121 Obs³uga d¼wiêku OSS.
122
123 #%package sound-aRts
124 #Summary:       Sound support with aRts
125 #Summary(pl):   Obs³uga d¼wiêku poprzez aRts
126 #Group:         Applications/Communications
127 #Requires:      %{name} = %{version}
128
129 #%description sound-aRts
130 #Sound support with aRts.
131
132 #%description sound-aRts -l pl
133 #Obs³uga d¼wiêku poprzez aRts.
134
135 %package xosd
136 Summary:        Support for X On Screen Display
137 Summary(pl):    Wy¶wietlanie komunikatów na ekranie X
138 Group:          Applications/Communications
139 Requires:       %{name} = %{version}
140
141 %description xosd
142 Support for X On Screen Display.
143
144 %description xosd -l pl
145 Wy¶wietlanie komunikatów na ekranie X.
146
147 %package docklet
148 Summary:        Support for Window Managers docklets
149 Summary(pl):    Obs³uga dokletów w ró¿nych zarz±dcach okien
150 Group:          Applications/Communications
151 Requires:       %{name} = %{version}
152
153 %description docklet
154 Support for Window Managers docklets (GNOME, KDE)
155
156 %description docklet -l pl
157 Obs³uga dokletów w ró¿nych zarz±dcach okien (GNOME, KDE)
158
159 %prep
160 %setup -q -n %{name}
161 %patch0 -p1
162
163 %build
164 rm -f missing
165 glib-gettextize --copy --force
166 intltoolize --copy --force
167 %{__libtoolize}
168 %{__aclocal}
169 %{__automake}
170 %{__autoconf}
171
172 %configure \
173         --disable-gdb \
174         --disable-debug \
175         --with-gtk2-gui \
176         --with-gadu-gadu \
177         --with-tlen \
178         --with-jabber \
179         --with-xosd \
180         --with-docklet \
181         --with-esd \
182         --with-oss
183 #       --with-arts
184
185 %{__make}
186
187 %install
188 rm -rf $RPM_BUILD_ROOT
189
190 %{__make} install \
191         DESTDIR=$RPM_BUILD_ROOT
192
193 install -d $RPM_BUILD_ROOT%{_datadir}/applications
194 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications
195 install -d $RPM_BUILD_ROOT%{_pixmapsdir}/
196 install $RPM_BUILD_ROOT%{_datadir}/%{name}/pixmaps/online.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
197
198 %find_lang %{name} --all-name --with-gnome
199
200 %clean
201 rm -rf $RPM_BUILD_ROOT
202
203 %files -f %{name}.lang
204 %defattr(644,root,root,755)
205 %doc AUTHORS ChangeLog NEWS README
206 %attr(755,root,root) %{_bindir}/gg2
207 %dir %{_libdir}/gg2
208 %{_datadir}/%{name}/sounds
209
210 %files gui-gtk+2
211 %defattr(644,root,root,755)
212 %attr(755,root,root) %{_libdir}/gg2/libGUI_plugin.so
213 %dir %{_datadir}/gg2
214 %dir %{_datadir}/gg2/pixmaps
215 %{_datadir}/gg2/pixmaps/*xpm
216 %{_datadir}/gg2/pixmaps/*png
217 %{_datadir}/gg2/pixmaps/*gif
218
219 %{_pixmapsdir}/%{name}.xpm
220 %{_datadir}/applications/gg2.desktop
221
222 %files emoticons
223 %attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons
224
225 %files gadu-gadu
226 %defattr(644,root,root,755)
227 %attr(755,root,root) %{_libdir}/gg2/libgadu_gadu_plugin.so
228
229 %files tlen
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_libdir}/gg2/libtlen_plugin.so
232
233 %files jabber
234 %defattr(644,root,root,755)
235 %attr(755,root,root) %{_libdir}/gg2/libjabber_plugin.so
236
237 %files sound-esd
238 %defattr(644,root,root,755)
239 %attr(755,root,root) %{_libdir}/gg2/libsound_esd_plugin.so
240
241 %files sound-oss
242 %defattr(644,root,root,755)
243 %attr(755,root,root) %{_libdir}/gg2/libsound_oss_plugin.so
244
245 %files xosd
246 %defattr(644,root,root,755)
247 %attr(755,root,root) %{_libdir}/gg2/libxosd_plugin.so
248
249 %files docklet
250 %defattr(644,root,root,755)
251 %attr(755,root,root) %{_libdir}/gg2/libdocklet_plugin.so
This page took 0.139321 seconds and 4 git commands to generate.