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