]>
Commit | Line | Data |
---|---|---|
85a8a1cc | 1 | |
2 | %define snap 20021123 | |
3 | ||
a99c1ee5 MK |
4 | Summary: GNU Gadu 2 - free talking |
5 | Summary(pl): GNU Gadu 2 - wolne gadanie | |
85a8a1cc | 6 | Name: gg2 |
7 | Version: 0 | |
8 | Release: 0.%{snap} | |
a99c1ee5 MK |
9 | Epoch: 1 |
10 | License: GPL v2+ | |
85a8a1cc | 11 | Group: Applications/Communications |
a99c1ee5 | 12 | Source0: http://www.hakore.com/~krzak/gg2/%{name}-%{snap}.tar.bz2 |
85a8a1cc | 13 | URL: http://gadu.gnu.pl/ |
85a8a1cc | 14 | BuildRequires: automake |
a99c1ee5 MK |
15 | BuildRequires: libtool |
16 | Requires: glib2 | |
85a8a1cc | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
a99c1ee5 | 19 | %define _prefix /usr/X11R6 |
85a8a1cc | 20 | |
21 | %description | |
a99c1ee5 MK |
22 | Gadu-Gadu and Tlen.pl and any other instant messanger client with |
23 | GTK+2 GUI on GNU/GPL | |
24 | ||
25 | %description -l pl | |
26 | Klient Gadu-Gadu i Tlen.pl oraz innych protokolow z GUI w GTK+2 na | |
27 | licencji GNU/GPL | |
28 | ||
29 | %package gui-gtk+2 | |
30 | Summary: GTK+2 GUI plugin | |
31 | Summary(pl): GTK+2 GUI plugin | |
32 | Group: Applications/Communications | |
33 | BuildRequires: gtk+2-devel | |
34 | Requires: gtk+2 | |
35 | Requires: %{name} = %{version} | |
36 | ||
37 | %description gui-gtk+2 | |
38 | GTK+2 GUI plugin | |
39 | ||
40 | %description gui-gtk+2 -l pl | |
41 | GTK+2 GUI plugin | |
42 | ||
43 | ||
44 | ||
45 | %package gadu-gadu | |
46 | Summary: Gadu-Gadu plugin | |
47 | Summary(pl): Gadu-Gadu plugin | |
48 | Group: Applications/Communications | |
49 | BuildRequires: libgadu-devel | |
50 | Requires: libgadu | |
51 | Requires: %{name} = %{version} | |
52 | ||
53 | %description gadu-gadu | |
54 | Gadu-Gadu protocol plugin | |
85a8a1cc | 55 | |
56 | %description -l pl | |
a99c1ee5 MK |
57 | Plugin protokolu Gadu-Gadu |
58 | ||
59 | ||
60 | ||
61 | %package tlen | |
62 | Summary: Tlen.pl plugin | |
63 | Summary(pl): Tlen.pl plugin | |
64 | Group: Applications/Communications | |
65 | BuildRequires: libtlen-devel | |
66 | Requires: libtlen | |
67 | Requires: %{name} = %{version} | |
68 | ||
69 | %description tlen | |
70 | Tlen.pl protocol plugin | |
71 | ||
72 | %description tlen -l pl | |
73 | Plugin protokolu Tlen.pl | |
74 | ||
75 | ||
76 | %package sound-esd | |
77 | Summary: Sound support with ESD | |
78 | Summary(pl): Obsluga dzwieku z ESD | |
79 | Group: Applications/Communications | |
80 | BuildRequires: esound-devel | |
81 | Requires: esound | |
82 | Requires: %{name} = %{version} | |
83 | ||
84 | %description sound-esd | |
85 | Sound support with ESD | |
86 | ||
87 | %description sound-esd -l pl | |
88 | Obsluga dzwieku z ESD | |
89 | ||
90 | ||
91 | %package sound-aRts | |
92 | Summary: Sound support with aRts | |
93 | Summary(pl): Obsluga dzwieku z aRts | |
94 | Group: Applications/Communications | |
95 | BuildRequires: arts-devel | |
96 | Requires: arts | |
97 | Requires: %{name} = %{version} | |
98 | ||
99 | %description sound-aRts | |
100 | Sound support with aRts | |
101 | ||
102 | %description sound-aRts -l pl | |
103 | Obsluga dzwieku z aRts | |
104 | ||
105 | ||
106 | %package xosd | |
107 | Summary: Support for X On Screen Display | |
108 | Summary(pl): Wyswietlanie komunikatow na ekranie | |
109 | Group: Applications/Communications | |
110 | BuildRequires: xosd-devel | |
111 | Requires: xosd | |
112 | Requires: %{name} = %{version} | |
113 | ||
114 | %description xosd | |
115 | Support for X On Screen Display | |
116 | ||
117 | %description xosd -l pl | |
118 | Wyswietlanie komunikatow na ekranie | |
119 | ||
120 | ||
121 | %package docklet | |
122 | Summary: Support for Window Managers docklets | |
123 | Summary(pl): Obsluga dockletow w roznych menadzerach okien | |
124 | Group: Applications/Communications | |
125 | Requires: XFree86-libs | |
126 | Requires: %{name} = %{version} | |
127 | ||
128 | %description docklet | |
129 | Support for Window Managers docklets | |
130 | ||
131 | %description docklet -l pl | |
132 | Obsluga dockletow w roznych menadzerach okien | |
133 | ||
85a8a1cc | 134 | |
135 | %prep | |
a99c1ee5 MK |
136 | %setup -q -n %{name}-%{snam} |
137 | ||
85a8a1cc | 138 | |
139 | %build | |
a99c1ee5 | 140 | rm -f missing |
85a8a1cc | 141 | %{__libtoolize} |
142 | %{__aclocal} | |
143 | %{__automake} | |
144 | %{__autoconf} | |
a99c1ee5 | 145 | |
85a8a1cc | 146 | %configure \ |
a99c1ee5 MK |
147 | --with-gtk2-gui |
148 | --with-gadu-gadu | |
149 | --with-tlen | |
150 | --with-xosd | |
151 | --with-docklet | |
85a8a1cc | 152 | --with-esd |
a99c1ee5 MK |
153 | --with-arts |
154 | ||
85a8a1cc | 155 | %{__make} |
156 | ||
157 | %install | |
158 | rm -rf $RPM_BUILD_ROOT | |
a99c1ee5 | 159 | |
85a8a1cc | 160 | %{__make} install \ |
161 | DESTDIR=$RPM_BUILD_ROOT | |
162 | ||
163 | %clean | |
164 | rm -rf $RPM_BUILD_ROOT | |
165 | ||
166 | %files | |
167 | %defattr(644,root,root,755) | |
a99c1ee5 MK |
168 | %doc AUTHORS ChangeLog NEWS README |
169 | %attr(755,root,root) %{_bindir}/gg2 | |
170 | %attr(755,root,root) %{_datadir}/gg2/pixmaps/*xpm | |
171 | %attr(755,root,root) %{_datadir}/gg2/pixmaps/*png | |
172 | ||
173 | %files gui-gtk+2 | |
174 | %defattr(644,root,root,755) | |
175 | %attr(755,root,root) %{_datadir}/gg2/libGUI_plugin.so | |
176 | %attr(755,root,root) %{_datadir}/gg2/pixmaps/emoticons/* | |
177 | ||
178 | %files gadu-gadu | |
179 | %defattr(644,root,root,755) | |
180 | %attr(755,root,root) %{_datadir}/gg2/libgadu_gadu_plugin.so | |
181 | ||
182 | %files tlen | |
183 | %defattr(644,root,root,755) | |
184 | %attr(755,root,root) %{_datadir}/gg2/libtlen_plugin.so | |
185 | ||
186 | %files sound-esd | |
187 | %defattr(644,root,root,755) | |
188 | %attr(755,root,root) %{_datadir}/gg2/libsound_esd_plugin.so | |
189 | ||
190 | %files xosd | |
191 | %defattr(644,root,root,755) | |
192 | %attr(755,root,root) %{_datadir}/gg2/libxosd_plugin.so |