1 |
## NOTE Please ask before touching this spec - thanks ;) [barjac] |
2 |
#################################################################### |
3 |
# |
4 |
# $Id: harbour.spec 16946 2011-07-17 13:10:57Z vszakats $ |
5 |
# |
6 |
|
7 |
# --------------------------------------------------------------- |
8 |
# Copyright 2003 Przemyslaw Czerpak <druzus@polbox.com>, |
9 |
# Dave Pearson <davep@davep.org> |
10 |
# Harbour RPM spec file |
11 |
# |
12 |
# See COPYING for licensing terms. |
13 |
# --------------------------------------------------------------- |
14 |
|
15 |
# --------------------------------------------------------------- |
16 |
# HOWTO .rpm docs: |
17 |
# http://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHowTo |
18 |
# http://www.gurulabs.com/downloads/GURULABS-RPM-LAB/GURULABS-RPM-GUIDE-v1.0.PDF |
19 |
# --------------------------------------------------------------- |
20 |
|
21 |
# TOFIX: Contrib packages with dependencies will be packaged |
22 |
# into separate .rpms, but their headers will be packaged |
23 |
# into the core Harbour package. This f.e. makes it impossible |
24 |
# to detect a Harbour contrib package by checking the existence |
25 |
# of the header. [vszakats] |
26 |
# Fixed: All headers are now in the corrct packages [barjac] |
27 |
###################################################################### |
28 |
# |
29 |
# This spec has been adapted for Mageia from the original |
30 |
# which is available in the tarball. |
31 |
# |
32 |
###################################################################### |
33 |
## Definitions. |
34 |
###################################################################### |
35 |
|
36 |
%define hb_ldconf %([ -d /etc/ld.so.conf.d ] && echo /etc/ld.so.conf.d) |
37 |
%if "%{hb_ldconf}" == "" |
38 |
%undefine hb_ldconf |
39 |
%endif |
40 |
|
41 |
%define _with_jpeg 1 |
42 |
%define _with_localpcre 1 |
43 |
%define _with_localzlib 1 |
44 |
|
45 |
# Uncomment %%define to enable contrib package builds. |
46 |
# The "1" is ignored - only the existence of the define is checked. |
47 |
|
48 |
%define _with_allegro 1 |
49 |
%define _with_cairo 1 |
50 |
%define _with_cups 1 |
51 |
%define _with_curl 1 |
52 |
%define _with_firebird 1 |
53 |
%define _with_gd 1 |
54 |
%define _with_mysql 1 |
55 |
%define _with_odbc 1 |
56 |
%define _with_pgsql 1 |
57 |
%define _with_qt 1 |
58 |
|
59 |
%define libharbour %mklibname %{name} |
60 |
|
61 |
%define name harbour |
62 |
%define dname Harbour |
63 |
%define version 3.0.0 |
64 |
|
65 |
%define hb_etcdir /etc/%{name} |
66 |
%define hb_plat export HB_PLATFORM=linux |
67 |
%define hb_cc export HB_COMPILER=gcc |
68 |
%define hb_cflag export HB_USER_CFLAGS= |
69 |
%define hb_lflag export HB_USER_LDFLAGS= |
70 |
%define hb_dflag export HB_USER_DFLAGS= |
71 |
%define shl_path export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}`pwd`/lib/${HB_PLATFORM}/${HB_COMPILER}${HB_BUILD_NAME} |
72 |
%define hb_gpm export HB_WITH_GPM=%{!?_without_gpm:yes}%{?_without_gpm:no} |
73 |
%define hb_crs export HB_WITH_CURSES=%{!?_without_curses:yes}%{?_without_curses:no} |
74 |
%define hb_sln export HB_WITH_SLANG=%{!?_without_slang:yes}%{?_without_slang:no} |
75 |
%define hb_x11 export HB_WITH_X11=%{!?_without_x11:yes}%{?_without_x11:no} |
76 |
%define hb_local export HB_WITH_ZLIB=%{?_with_localzlib:local} ; export HB_WITH_PCRE=%{?_with_localpcre:local} |
77 |
%define hb_proot export HB_INSTALL_PKG_ROOT=%{buildroot} |
78 |
%define hb_bdir export HB_INSTALL_BIN=%{buildroot}%{_bindir} |
79 |
%define hb_idir export HB_INSTALL_INC=%{buildroot}%{_includedir}/%{name} |
80 |
%define hb_ldir export HB_INSTALL_LIB=%{buildroot}%{_libdir}/%{name} |
81 |
%define hb_ddir export HB_INSTALL_DYN=%{buildroot}%{_libdir}/%{name} |
82 |
%define hb_edir export HB_INSTALL_ETC=%{buildroot}%{hb_etcdir} |
83 |
%define hb_mdir export HB_INSTALL_MAN=%{buildroot}%{_mandir} |
84 |
%define hb_tdir export HB_INSTALL_DOC=%{buildroot}%{_docdir}/%{name} |
85 |
%define hb_blds export HB_BUILD_STRIP=all |
86 |
%define hb_bldsh export HB_BUILD_SHARED=%{!?_with_static:yes} |
87 |
%define hb_cmrc export HB_BUILD_NOGPLLIB=%{?_without_gpllib:yes} |
88 |
%define hb_ctrb export HB_BUILD_CONTRIBS="hbblink hbclipsm hbct hbgt hbmisc hbmzip hbbz2 hbnetio hbtip hbtpathy hbcomm hbhpdf hbziparc hbfoxpro hbsms hbfship hbxpp xhb rddbm rddsql hbsqlit3 sddsqlt3 hbnf hbhttpd hbformat hbunix hbzebra hblzf hbmemio hbmlzo hbmxml hbexpat hbide %{?_with_allegro:gtalleg} %{?_with_cairo:hbcairo} %{?_with_cups:hbcups} %{?_with_curl:hbcurl} %{?_with_freeimage:hbfimage} %{?_with_gd:hbgd} %{?_with_firebird:hbfbird sddfb} %{?_with_mysql:hbmysql sddmy} %{?_with_odbc:hbodbc sddodbc} %{?_with_pgsql:hbpgsql sddpg} %{?_with_qt:hbqt hbxbp} hbrun" |
89 |
%define hb_env %{hb_plat} ; %{hb_cc} ; %{hb_cflag} ; %{hb_lflag} ; %{hb_dflag} ; %{shl_path} ; %{hb_gpm} ; %{hb_crs} ; %{hb_sln} ; %{hb_x11} ; %{hb_local} ; %{hb_proot} ; %{hb_bdir} ; %{hb_idir} ; %{hb_ldir} ; %{hb_ddir} ; %{hb_edir} ; %{hb_mdir} ; %{hb_tdir} ; %{hb_ctrb} ; %{hb_cmrc} ; %{hb_blds} ; %{hb_bldsh} |
90 |
###################################################################### |
91 |
## Preamble. |
92 |
###################################################################### |
93 |
Summary: Free software Clipper compatible compiler |
94 |
Summary(pl): Darmowy kompilator kompatybilny z jM-DM-^Yzykiem Clipper |
95 |
Summary(pt_BR): Um compilador Clipper compativel Gratis |
96 |
Summary(ru): ????????? ??????????, ??????????? ? ?????? Clipper |
97 |
Summary(hu): Szabad szoftver Clipper kompatibilis fordM-CM--tM-CM-3 |
98 |
Name: %{name} |
99 |
Version: %{version} |
100 |
Release: %mkrel 2 |
101 |
License: GPLv2+ |
102 |
Group: Development/Other |
103 |
URL: http://harbour-project.org/ |
104 |
Source0: http://downloads.sourceforge.net/project/harbour-project/source/3.0.0/harbour-3.0.0.tar.xz |
105 |
Source1: hbide.png |
106 |
%{!?_without_curses:BuildRequires: ncurses-devel} |
107 |
%{!?_without_gpm:BuildRequires: gpm-devel} |
108 |
BuildRequires: openssl-devel |
109 |
BuildRequires: %{_lib}zlib-devel |
110 |
%{?_with_allegro:BuildRequires: %{_lib}allegro-devel} |
111 |
%{?_with_cairo:BuildRequires: %{_lib}cairo-devel} |
112 |
%{?_with_gd:BuildRequires: %{_lib}gd-devel} |
113 |
%{?_with_mysql:BuildRequires: %{_lib}mariadb-devel} |
114 |
%{?_with_qt:BuildRequires: pkgconfig(QtWebKit)} |
115 |
%{?_with_cups:BuildRequires: %{_lib}cups2-devel} |
116 |
%{?_with_curl:BuildRequires: %{_lib}curl-devel} |
117 |
%{?_with_firebird:BuildRequires: firebird-devel} |
118 |
%{?_with_odbc:BuildRequires: %{_lib}unixODBC-devel} |
119 |
%{?_with_pgsql:BuildRequires: %{_lib}pq9.1_5} |
120 |
|
121 |
Requires: %{libharbour} = %{version}-%{release} |
122 |
|
123 |
Provides: %{name} = %{version}-%{release} |
124 |
|
125 |
Patch0: harbour-3.0.0-mga-hbrun_DSO.patch |
126 |
%{?_with_curl:Patch1: harbour-3.0.0-mga-curl_types.h_core.c.patch} |
127 |
|
128 |
%define _noautoreq 'libharbour.*' |
129 |
|
130 |
%description |
131 |
%{dname} is a CA-Cl*pper compatible compiler for multiple platforms. This |
132 |
package includes a compiler, pre-processor, header files, virtual machine |
133 |
and documentation. |
134 |
Features: |
135 |
Written in ANSI C |
136 |
Multi-threading, Unicode, scriptable |
137 |
Full Clipper 5 compatibility |
138 |
Partial Xbase++ compatibility |
139 |
Highly compatible with xHarbour fork (via xhb library) |
140 |
|
141 |
%description -l pl |
142 |
%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator rozwijany na |
143 |
wielu rM-CM-3M-EM-<nych platformach. Ten pakiet zawiera kompilator, |
144 |
preprocesor, zbiory nagM-EM-^BM-CM-3wkowe, wirtualn+ maszynM-DM-^Y oraz |
145 |
dokumentacjM-DM-^Y. |
146 |
|
147 |
%description -l pt_BR |
148 |
%{dname} M-CM-) um compilador Clipper compativel para multiplas plataformas. |
149 |
Esse pacote contem um compilador, um prM-CM-)-processador, arquivos de |
150 |
cabeM-CM-'alho uma maquina virtual e documentaM-CM-'M-DM-^Co. |
151 |
|
152 |
%description -l ru |
153 |
%{dname} - ?????????????????? ??????????, ??????????? ? ?????? CA-Cl*pper. |
154 |
???? ????? ???????? ??????????, ????????????, ????? ??????????, ??????????? |
155 |
?????? ? ????????????. |
156 |
|
157 |
%description -l hu |
158 |
%{dname} egy tM-CM-6bb platformon is mM-EM-1kM-CM-6dM-EM-^Q CA-Cl*pper |
159 |
kompatibilis fordM-CM--tM-CM-3program. A csomag rM-CM-)sze a |
160 |
fordM-CM--tM-CM-3 maga, az elM-EM-^QfordM-CM--tM-CM-3, fejlM-CM-)c |
161 |
M-CM-!llomM-CM-!nyok, a virtuM-CM-!lis gM-CM-)p M-CM-)s |
162 |
fM-CM-<ggvM-CM-)nykM-CM-6nyvtM-CM-!rak, valamint a dokumentM-CM-!ciM-CM-3. |
163 |
|
164 |
###################################################################### |
165 |
## main shared lib |
166 |
###################################################################### |
167 |
|
168 |
%package -n %{libharbour} |
169 |
Summary: Shared runtime libaries for %{dname} compiler |
170 |
Summary(pl): Dzielone bilioteki dla kompilatora %{dname} |
171 |
Summary(ru): ????????? ???????????? ?????????? ??? ??????????? %{dname} |
172 |
Summary(hu): Megosztott kM-CM-6nyvtM-CM-!rak a(z) %{dname} fordM-CM--tM-CM-3hoz |
173 |
Group: Development/Other |
174 |
Provides: %{_lib}%{name}.so = %{version}-%{release} |
175 |
|
176 |
%description -n %{libharbour} |
177 |
%{dname} is a Clipper compatible compiler. |
178 |
This package provides %{dname} runtime shared libraries for programs |
179 |
linked dynamically. |
180 |
|
181 |
%description -l pl -n %{libharbour} |
182 |
%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator. |
183 |
Ten pakiet udostM-DM-^Ypnia dzielone bilioteki kompilatora %{dname} |
184 |
dla programM-CM-3w konsolidowanych dynamicznie. |
185 |
|
186 |
%description -l pt_BR -n %{libharbour} |
187 |
%{dname} M-CM-) um compilador compativel com o Clipper. |
188 |
Esse pacote %{dname} provem as bibliotecas compartilhadas para programas |
189 |
linkados dinamicamente. |
190 |
|
191 |
%description -l ru -n %{libharbour} |
192 |
%{dname} - ??????????, ??????????? ? ?????? CA-Cl*pper. |
193 |
???? ????? ???????? ????????? ???????????? ?????????? %{dname}, |
194 |
??????????? ??? ?????? ??????????? ?????????????? ????????. |
195 |
|
196 |
%description -l hu -n %{libharbour} |
197 |
A(z) %{dname} egy Clipper kompatibilis fordM-CM--tM-CM-3program. |
198 |
Ez a csomag biztosM-CM--tja a dinamikusan szerkesztett %{dname} |
199 |
programokhoz szM-CM-<ksM-CM-)ges megosztott (dinamikus) |
200 |
futtatM-CM-3kM-CM-6nyvtM-CM-!rakat. |
201 |
|
202 |
###################################################################### |
203 |
## contrib libs (without package requirements) |
204 |
###################################################################### |
205 |
|
206 |
%package contrib |
207 |
Summary: Contrib runtime libaries for %{dname} compiler |
208 |
Summary(pl): Bilioteki z drzewa contrib dla kompilatora %{dname} |
209 |
Summary(pt_BR): Libs contrib para %{dname} |
210 |
Summary(ru): ?????????? ?? ?????? contrib ??? ??????????? %{dname} |
211 |
Summary(hu): KiegM-CM-)szM-CM--tM-EM-^Q kM-CM-6nyvtM-CM-!rak a(z) %{dname} fordM-CM--tM-CM-3hoz |
212 |
Group: Development/Other |
213 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
214 |
|
215 |
%description contrib |
216 |
%{dname} is a Clipper compatible compiler. |
217 |
This package provides %{dname} contrib libraries for program linking. |
218 |
|
219 |
%description -l pl contrib |
220 |
%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator. |
221 |
Ten pakiet udostM-DM-^Ypnia statyczne bilioteki z drzewa contrib dla |
222 |
kompilatora %{dname}. |
223 |
|
224 |
%description -l pt_BR contrib |
225 |
%{dname} M-CM-) um compilador compativel com o clippe. |
226 |
Esse pacote %{dname} provem as bibliotecas contrib para linkagem |
227 |
dos programas. |
228 |
|
229 |
%description -l ru contrib |
230 |
%{dname} - ??????????, ??????????? ? ?????? CA-Cl*pper. |
231 |
???? ????? ???????? ??????????? ?????????? %{dname} ?? ?????? contrib. |
232 |
|
233 |
%description -l hu contrib |
234 |
A(z) %{dname} egy Clipper kompatibilis fordM-CM--tM-CM-3program. |
235 |
Ez a csomag kiegM-CM-)szM-CM--tM-EM-^Q (contrib) kM-CM-6nyvtM-CM-!rakat biztosM-CM--t |
236 |
statikus szerkesztM-CM-)shez. |
237 |
|
238 |
###################################################################### |
239 |
## contrib libs (with package requirements) |
240 |
###################################################################### |
241 |
|
242 |
## allegro library |
243 |
%{?_with_allegro:%package allegro} |
244 |
%{?_with_allegro:Summary: Allegro GT for %{dname} compiler} |
245 |
%{?_with_allegro:Summary(pl): Allegro GT dla kompilatora %{dname}} |
246 |
%{?_with_allegro:Group: Development/Other} |
247 |
%{?_with_allegro:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
248 |
|
249 |
%{?_with_allegro:%description allegro} |
250 |
%{?_with_allegro:%{dname} is a Clipper compatible compiler.} |
251 |
%{?_with_allegro:This package provides %{dname} Allegro GT library for program linking.} |
252 |
|
253 |
%{?_with_allegro:%description -l pl allegro} |
254 |
%{?_with_allegro:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
255 |
%{?_with_allegro:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y Allegro GT dla kompilatora %{dname}.} |
256 |
|
257 |
## cairo library |
258 |
%{?_with_cairo:%package cairo} |
259 |
%{?_with_cairo:Summary: Cairo library bindings for %{dname} compiler} |
260 |
%{?_with_cairo:Summary(pl): Bilioteka Cairo dla kompilatora %{dname}} |
261 |
%{?_with_cairo:Group: Development/Other} |
262 |
%{?_with_cairo:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
263 |
|
264 |
%{?_with_cairo:%description cairo} |
265 |
%{?_with_cairo:%{dname} is a Clipper compatible compiler.} |
266 |
%{?_with_cairo:This package provides %{dname} Cairo library for program linking.} |
267 |
|
268 |
%{?_with_cairo:%description -l pl cairo} |
269 |
%{?_with_cairo:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
270 |
%{?_with_cairo:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y Cairo dla kompilatora %{dname}.} |
271 |
|
272 |
## cups library |
273 |
%{?_with_cups:%package cups} |
274 |
%{?_with_cups:Summary: CUPS library bindings for %{dname} compiler} |
275 |
%{?_with_cups:Summary(pl): Bilioteka CUPS dla kompilatora %{dname}} |
276 |
%{?_with_cups:Group: Development/Other} |
277 |
%{?_with_cups:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
278 |
|
279 |
%{?_with_cups:%description cups} |
280 |
%{?_with_cups:%{dname} is a Clipper compatible compiler.} |
281 |
%{?_with_cups:This package provides %{dname} CUPS library for program linking.} |
282 |
|
283 |
%{?_with_cups:%description -l pl cups} |
284 |
%{?_with_cups:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
285 |
%{?_with_cups:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y CUPS dla kompilatora %{dname}.} |
286 |
|
287 |
## curl library |
288 |
%{?_with_curl:%package curl} |
289 |
%{?_with_curl:Summary: CURL library bindings for %{dname} compiler} |
290 |
%{?_with_curl:Summary(pl): Bilioteka CURL dla kompilatora %{dname}} |
291 |
%{?_with_curl:Group: Development/Other} |
292 |
%{?_with_curl:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
293 |
|
294 |
%{?_with_curl:%description curl} |
295 |
%{?_with_curl:%{dname} is a Clipper compatible compiler.} |
296 |
%{?_with_curl:This package provides %{dname} CURL library for program linking.} |
297 |
|
298 |
%{?_with_curl:%description -l pl curl} |
299 |
%{?_with_curl:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
300 |
%{?_with_curl:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y CURL dla kompilatora %{dname}.} |
301 |
|
302 |
## firebird library |
303 |
%{?_with_firebird:%package firebird} |
304 |
%{?_with_firebird:Summary: FireBird library bindings for %{dname} compiler} |
305 |
%{?_with_firebird:Summary(pl): Bilioteka FireBird dla kompilatora %{dname}} |
306 |
%{?_with_firebird:Group: Development/Other} |
307 |
%{?_with_firebird:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
308 |
|
309 |
%{?_with_firebird:%description firebird} |
310 |
%{?_with_firebird:%{dname} is a Clipper compatible compiler.} |
311 |
%{?_with_firebird:This package provides %{dname} FireBird library for program linking.} |
312 |
|
313 |
%{?_with_firebird:%description -l pl firebird} |
314 |
%{?_with_firebird:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
315 |
%{?_with_firebird:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y FireBird dla kompilatora %{dname}.} |
316 |
|
317 |
## freeimage library |
318 |
#%%{?_with_freeimage:%%package freeimage} |
319 |
#%%{?_with_freeimage:Summary: FreeImage library bindings for %%{dname} compiler} |
320 |
#%%{?_with_freeimage:Summary(pl): Bilioteka FreeImage dla kompilatora %%{dname}} |
321 |
#%%{?_with_freeimage:Group: Development/Other} |
322 |
#%%{?_with_freeimage:Requires: %%{name} = %%{?epoch:%%{epoch}:}%%{version}-%%{release}} |
323 |
|
324 |
#%%{?_with_freeimage:%%description freeimage} |
325 |
#%%{?_with_freeimage:%%{dname} is a Clipper compatible compiler.} |
326 |
#%%{?_with_freeimage:This package provides %%{dname} FreeImage library for program linking.} |
327 |
|
328 |
#%%{?_with_freeimage:%%description -l pl freeimage} |
329 |
#%%{?_with_freeimage:%%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
330 |
#%%{?_with_freeimage:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y FreeImage dla kompilatora %%{dname}.} |
331 |
|
332 |
## gd library |
333 |
%{?_with_gd:%package gd} |
334 |
%{?_with_gd:Summary: GD library bindings for %{dname} compiler} |
335 |
%{?_with_gd:Summary(pl): Bilioteka GD dla kompilatora %{dname}} |
336 |
%{?_with_gd:Group: Development/Other} |
337 |
%{?_with_gd:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
338 |
|
339 |
%{?_with_gd:%description gd} |
340 |
%{?_with_gd:%{dname} is a Clipper compatible compiler.} |
341 |
%{?_with_gd:This package provides %{dname} GD library for program linking.} |
342 |
|
343 |
%{?_with_gd:%description -l pl gd} |
344 |
%{?_with_gd:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
345 |
%{?_with_gd:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y GD dla kompilatora %{dname}.} |
346 |
|
347 |
## mysql library |
348 |
%{?_with_mysql:%package mysql} |
349 |
%{?_with_mysql:Summary: MYSQL library bindings for %{dname} compiler} |
350 |
%{?_with_mysql:Summary(pl): Bilioteka MYSQL dla kompilatora %{dname}} |
351 |
%{?_with_mysql:Group: Development/Other} |
352 |
%{?_with_mysql:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
353 |
|
354 |
%{?_with_mysql:%description mysql} |
355 |
%{?_with_mysql:%{dname} is a Clipper compatible compiler.} |
356 |
%{?_with_mysql:This package provides %{dname} MYSQL library for program linking.} |
357 |
|
358 |
%{?_with_mysql:%description -l pl mysql} |
359 |
%{?_with_mysql:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
360 |
%{?_with_mysql:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y MYSQL dla kompilatora %{dname}.} |
361 |
|
362 |
## odbc library |
363 |
%{?_with_odbc:%package odbc} |
364 |
%{?_with_odbc:Summary: ODBC library bindings for %{dname} compiler} |
365 |
%{?_with_odbc:Summary(pl): Bilioteka ODBC dla kompilatora %{dname}} |
366 |
%{?_with_odbc:Group: Development/Other} |
367 |
%{?_with_odbc:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
368 |
|
369 |
%{?_with_odbc:%description odbc} |
370 |
%{?_with_odbc:%{dname} is a Clipper compatible compiler.} |
371 |
%{?_with_odbc:This package provides %{dname} ODBC library for program linking.} |
372 |
|
373 |
%{?_with_odbc:%description -l pl odbc} |
374 |
%{?_with_odbc:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
375 |
%{?_with_odbc:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y ODBC dla kompilatora %{dname}.} |
376 |
|
377 |
## pgsql library |
378 |
%{?_with_pgsql:%package pgsql} |
379 |
%{?_with_pgsql:Summary: PGSQL library bindings for %{dname} compiler} |
380 |
%{?_with_pgsql:Summary(pl): Bilioteka PGSQL dla kompilatora %{dname}} |
381 |
%{?_with_pgsql:Group: Development/Other} |
382 |
%{?_with_pgsql:Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
383 |
|
384 |
%{?_with_pgsql:%description pgsql} |
385 |
%{?_with_pgsql:%{dname} is a Clipper compatible compiler.} |
386 |
%{?_with_pgsql:This package provides %{dname} PGSQL library for program linking.} |
387 |
|
388 |
%{?_with_pgsql:%description -l pl pgsql} |
389 |
%{?_with_pgsql:%{dname} to kompatybilny z jM-DM-^Yzykiem CA-Cl*pper kompilator.} |
390 |
%{?_with_pgsql:Ten pakiet udostM-DM-^Ypnia statyczn+ biliotekM-DM-^Y PGSQL dla kompilatora %{dname}.} |
391 |
|
392 |
## qt library |
393 |
%{?_with_qt:%package qt} |
394 |
%{?_with_qt:Summary: QT library bindings for %{dname} compiler} |
395 |
%{?_with_qt:Group: Development/Other} |
396 |
%{?_with_qt:Requires: libqt4-devel %{name} = %{?epoch:%{epoch}:}%{version}-%{release}} |
397 |
|
398 |
%{?_with_qt:%description qt} |
399 |
%{?_with_qt:%{dname} is a Clipper compatible compiler.} |
400 |
%{?_with_qt:This package provides %{dname} QT libraries for program linking.} |
401 |
|
402 |
###################################################################### |
403 |
# HBIDE package |
404 |
###################################################################### |
405 |
%package hbide |
406 |
Summary: Harbour Integrated Development Environment |
407 |
Group: Development/Other |
408 |
Requires: %{libharbour} = %{version}-%{release} |
409 |
|
410 |
%description hbide |
411 |
HBIDE is an integrated development environment written in %{dname} which |
412 |
demonstrates the capabilities of %{dname}-qt |
413 |
|
414 |
###################################################################### |
415 |
## Preperation. |
416 |
###################################################################### |
417 |
|
418 |
%prep |
419 |
%setup -q |
420 |
|
421 |
%patch0 -p0 |
422 |
%{?_with_curl:%patch1 -p0} |
423 |
|
424 |
###################################################################### |
425 |
## Build. |
426 |
###################################################################### |
427 |
|
428 |
%build |
429 |
%{hb_env} |
430 |
|
431 |
%make |
432 |
|
433 |
###################################################################### |
434 |
## Install. |
435 |
###################################################################### |
436 |
|
437 |
# Install harbour itself. |
438 |
|
439 |
%install |
440 |
%{hb_env} |
441 |
|
442 |
# necessary for shared linked hbmk2 used to execute postinst.hbs |
443 |
export LD_LIBRARY_PATH=$HB_INSTALL_LIB |
444 |
|
445 |
make install %{?_smp_mflags} |
446 |
|
447 |
%{?_without_curses:rm -f $HB_INSTALL_LIB/libgtcrs.a} |
448 |
%{?_without_slang:rm -f $HB_INSTALL_LIB/libgtsln.a} |
449 |
rm -fR %{!?hb_ldconf:$HB_INSTALL_ETC/ld.so.conf.d} |
450 |
rm -f %{?hb_ldconf:%{buildroot}/%{_libdir}/*.so*} |
451 |
rm -f $HB_INSTALL_LIB/libbz2.a \ |
452 |
$HB_INSTALL_LIB/libjpeg.a \ |
453 |
$HB_INSTALL_LIB/liblibhpdf.a \ |
454 |
$HB_INSTALL_LIB/libpng.a \ |
455 |
$HB_INSTALL_LIB/libsqlite3.a \ |
456 |
$HB_INSTALL_LIB/libexpat.a \ |
457 |
$HB_INSTALL_LIB/liblzf.a \ |
458 |
$HB_INSTALL_LIB/libminilzo.a \ |
459 |
$HB_INSTALL_LIB/libmxml.a |
460 |
|
461 |
cp -r examples %{buildroot}%{_datadir}/%{name}/ |
462 |
cp -r tests %{buildroot}%{_datadir}/%{name}/ |
463 |
|
464 |
mkdir -p %{buildroot}%{_iconsdir} |
465 |
cp %{SOURCE1} %{buildroot}%{_iconsdir}/ |
466 |
|
467 |
cat > hbide.desktop <<EOF |
468 |
[Desktop Entry] |
469 |
Comment[en_GB]=Harbour Integrated Development Environment |
470 |
Comment=Harbour Integrated Development Environment |
471 |
Exec=/usr/bin/hbide |
472 |
GenericName[en_GB]=Harbour IDE |
473 |
GenericName=Harbour IDE |
474 |
Icon=hbide |
475 |
Name[en_GB]=Harbour IDE |
476 |
Name=Harbour IDE |
477 |
Categories=Development;IDE;X-Mageia-CrossDesktop; |
478 |
StartupNotify=true |
479 |
Terminal=false |
480 |
Type=Application |
481 |
EOF |
482 |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications hbide.desktop |
483 |
|
484 |
###################################################################### |
485 |
## File list. |
486 |
###################################################################### |
487 |
|
488 |
%files |
489 |
%defattr(-,root,root,755) |
490 |
%{_docdir}/* |
491 |
%{_datadir}/%{name}/* |
492 |
|
493 |
%dir %{hb_etcdir} |
494 |
%verify(not md5 mtime) %config %{hb_etcdir}/hb-charmap.def |
495 |
%{_bindir}/harbour |
496 |
%{_bindir}/hbpp |
497 |
%{_bindir}/hbtest |
498 |
%{_bindir}/hbrun |
499 |
%{_bindir}/hbi18n |
500 |
%{_bindir}/hbmk2 |
501 |
%{_bindir}/hbmk2.*.hbl |
502 |
%{_bindir}/hb3rdpat.hbs |
503 |
%{_mandir}/man1/*.1* |
504 |
|
505 |
%dir %{_includedir}/%{name} |
506 |
%defattr(644,root,root) |
507 |
%{_includedir}/%{name}/xhb.hbx |
508 |
%{_includedir}/%{name}/hbcompat.ch |
509 |
%{_includedir}/%{name}/hbcompat.h |
510 |
%{_includedir}/%{name}/xhb.ch |
511 |
%{_includedir}/%{name}/xhbcls.ch |
512 |
%{_includedir}/%{name}/xhbextrn.ch |
513 |
%{_includedir}/%{name}/xhb.h |
514 |
%{_includedir}/%{name}/hbgt.hbx |
515 |
%{_includedir}/%{name}/ftmenuto.ch |
516 |
%{_includedir}/%{name}/hbnf.hbx |
517 |
%{_includedir}/%{name}/hbbz2.ch |
518 |
%{_includedir}/%{name}/hbbz2.hbx |
519 |
%{_includedir}/%{name}/hblzf.ch |
520 |
%{_includedir}/%{name}/hblzf.hbx |
521 |
%{_includedir}/%{name}/hbsms.hbx |
522 |
%{_includedir}/%{name}/hbcomm.hbx |
523 |
%{_includedir}/%{name}/harupdf.ch |
524 |
%{_includedir}/%{name}/hbhpdf.hbx |
525 |
%{_includedir}/%{name}/hbmisc.hbx |
526 |
%{_includedir}/%{name}/hbmlzo.ch |
527 |
%{_includedir}/%{name}/hbmlzo.hbx |
528 |
%{_includedir}/%{name}/hbmxml.ch |
529 |
%{_includedir}/%{name}/hbmxml.hbx |
530 |
%{_includedir}/%{name}/hbblink.ch |
531 |
%{_includedir}/%{name}/hbblink.hbx |
532 |
%{_includedir}/%{name}/hbhttpd.hbx |
533 |
%{_includedir}/%{name}/hbzebra.hbx |
534 |
%{_includedir}/%{name}/hbzebra.ch |
535 |
%{_includedir}/%{name}/hbclipsm.hbx |
536 |
%{_includedir}/%{name}/time87.ch |
537 |
%{_includedir}/%{name}/hbformat.hbx |
538 |
%{_includedir}/%{name}/hbfoxpro.ch |
539 |
%{_includedir}/%{name}/hbfoxpro.hbx |
540 |
%{_includedir}/%{name}/hbsqlit3.hbx |
541 |
%{_includedir}/%{name}/hbsqlit3.ch |
542 |
%{_includedir}/%{name}/hbtpathy.hbx |
543 |
%{_includedir}/%{name}/telepath.ch |
544 |
%{_includedir}/%{name}/hbziparc.hbx |
545 |
%{_includedir}/%{name}/hbtip.hbx |
546 |
%{_includedir}/%{name}/thtml.ch |
547 |
%{_includedir}/%{name}/tip.ch |
548 |
%{_includedir}/%{name}/hbfship.hbx |
549 |
%{_includedir}/%{name}/hbct.hbx |
550 |
%{_includedir}/%{name}/ct.ch |
551 |
%{_includedir}/%{name}/ctcom.ch |
552 |
%{_includedir}/%{name}/ctdisk.ch |
553 |
%{_includedir}/%{name}/cterror.ch |
554 |
%{_includedir}/%{name}/ctextern.ch |
555 |
%{_includedir}/%{name}/ct.h |
556 |
%{_includedir}/%{name}/ctmath.h |
557 |
%{_includedir}/%{name}/ctset.h |
558 |
%{_includedir}/%{name}/ctstrfil.h |
559 |
%{_includedir}/%{name}/ctstr.h |
560 |
%{_includedir}/%{name}/ctvideo.ch |
561 |
%{_includedir}/%{name}/ctwin.h |
562 |
%{_includedir}/%{name}/dll.ch |
563 |
%{_includedir}/%{name}/dmlb.ch |
564 |
%{_includedir}/%{name}/hbxpp.ch |
565 |
%{_includedir}/%{name}/hbxppext.ch |
566 |
%{_includedir}/%{name}/hbxpp.hbx |
567 |
%{_includedir}/%{name}/thread.ch |
568 |
%{_includedir}/%{name}/hbexpat.ch |
569 |
%{_includedir}/%{name}/hbexpat.hbx |
570 |
%{_includedir}/%{name}/hbmemio.hbx |
571 |
%{_includedir}/%{name}/hbnetio.hbx |
572 |
%{_includedir}/%{name}/hbssl.ch |
573 |
%{_includedir}/%{name}/hbssl.hbx |
574 |
%{_includedir}/%{name}/hbmzip.hbx |
575 |
%{_includedir}/%{name}/hbmzip.ch |
576 |
%{_includedir}/%{name}/hbrddsql.ch |
577 |
%{_includedir}/%{name}/tbrowse.ch |
578 |
%{_includedir}/%{name}/std.ch |
579 |
%{_includedir}/%{name}/setcurs.ch |
580 |
%{_includedir}/%{name}/simpleio.ch |
581 |
%{_includedir}/%{name}/set.ch |
582 |
%{_includedir}/%{name}/rddsys.ch |
583 |
%{_includedir}/%{name}/reserved.ch |
584 |
%{_includedir}/%{name}/ord.ch |
585 |
%{_includedir}/%{name}/inkey.ch |
586 |
%{_includedir}/%{name}/memoedit.ch |
587 |
%{_includedir}/%{name}/hbver.ch |
588 |
%{_includedir}/%{name}/hbzlib.ch |
589 |
%{_includedir}/%{name}/hbusrrdd.ch |
590 |
%{_includedir}/%{name}/hbthread.ch |
591 |
%{_includedir}/%{name}/hbtrace.ch |
592 |
%{_includedir}/%{name}/hbstrict.ch |
593 |
%{_includedir}/%{name}/hbsxdef.ch |
594 |
%{_includedir}/%{name}/hbstdgen.ch |
595 |
%{_includedir}/%{name}/hbsix.ch |
596 |
%{_includedir}/%{name}/hbsocket.ch |
597 |
%{_includedir}/%{name}/hbsetup.ch |
598 |
%{_includedir}/%{name}/hboo.ch |
599 |
%{_includedir}/%{name}/hbpers.ch |
600 |
%{_includedir}/%{name}/hbmemvar.ch |
601 |
%{_includedir}/%{name}/hbmath.ch |
602 |
%{_includedir}/%{name}/hbmemory.ch |
603 |
%{_includedir}/%{name}/hblpp.ch |
604 |
%{_includedir}/%{name}/hbmacro.ch |
605 |
%{_includedir}/%{name}/hblang.ch |
606 |
%{_includedir}/%{name}/hbhrb.ch |
607 |
%{_includedir}/%{name}/hbinkey.ch |
608 |
%{_includedir}/%{name}/hbgfxdef.ch |
609 |
%{_includedir}/%{name}/hbgtinfo.ch |
610 |
%{_includedir}/%{name}/hbextlng.ch |
611 |
%{_includedir}/%{name}/hbgfx.ch |
612 |
%{_includedir}/%{name}/hbextern.ch |
613 |
%{_includedir}/%{name}/hbdyn.ch |
614 |
%{_includedir}/%{name}/hbextcdp.ch |
615 |
%{_includedir}/%{name}/hbdebug.ch |
616 |
%{_includedir}/%{name}/hbcom.ch |
617 |
%{_includedir}/%{name}/hb.ch |
618 |
%{_includedir}/%{name}/hbclass.ch |
619 |
%{_includedir}/%{name}/getexit.ch |
620 |
%{_includedir}/%{name}/error.ch |
621 |
%{_includedir}/%{name}/fileio.ch |
622 |
%{_includedir}/%{name}/dbstruct.ch |
623 |
%{_includedir}/%{name}/directry.ch |
624 |
%{_includedir}/%{name}/dbedit.ch |
625 |
%{_includedir}/%{name}/dbinfo.ch |
626 |
%{_includedir}/%{name}/common.ch |
627 |
%{_includedir}/%{name}/button.ch |
628 |
%{_includedir}/%{name}/color.ch |
629 |
%{_includedir}/%{name}/box.ch |
630 |
%{_includedir}/%{name}/assert.ch |
631 |
%{_includedir}/%{name}/blob.ch |
632 |
%{_includedir}/%{name}/achoice.ch |
633 |
%{_includedir}/%{name}/hbusrrdd.hbx |
634 |
%{_includedir}/%{name}/hblang.hbx |
635 |
%{_includedir}/%{name}/hbscalar.hbx |
636 |
%{_includedir}/%{name}/harbour.hbx |
637 |
%{_includedir}/%{name}/hbcpage.hbx |
638 |
%{_includedir}/%{name}/hb_io.h |
639 |
%{_includedir}/%{name}/hbwinuni.h |
640 |
%{_includedir}/%{name}/hbznet.h |
641 |
%{_includedir}/%{name}/hbwince.h |
642 |
%{_includedir}/%{name}/hbxvm.h |
643 |
%{_includedir}/%{name}/hbvmpub.h |
644 |
%{_includedir}/%{name}/hbvmint.h |
645 |
%{_includedir}/%{name}/hbvmopt.h |
646 |
%{_includedir}/%{name}/hbver.h |
647 |
%{_includedir}/%{name}/hbvm.h |
648 |
%{_includedir}/%{name}/hbtrace.h |
649 |
%{_includedir}/%{name}/hbtypes.h |
650 |
%{_includedir}/%{name}/hbthread.h |
651 |
%{_includedir}/%{name}/hbsxfunc.h |
652 |
%{_includedir}/%{name}/hbtask.h |
653 |
%{_includedir}/%{name}/hbsocket.h |
654 |
%{_includedir}/%{name}/hbstack.h |
655 |
%{_includedir}/%{name}/hbsetup.h |
656 |
%{_includedir}/%{name}/hbregex.h |
657 |
%{_includedir}/%{name}/hbset.h |
658 |
%{_includedir}/%{name}/hbrddnsx.h |
659 |
%{_includedir}/%{name}/hbrddsdf.h |
660 |
%{_includedir}/%{name}/hbrddntx.h |
661 |
%{_includedir}/%{name}/hbrdddel.h |
662 |
%{_includedir}/%{name}/hbrddfpt.h |
663 |
%{_includedir}/%{name}/hbrddcdx.h |
664 |
%{_includedir}/%{name}/hbrdddbf.h |
665 |
%{_includedir}/%{name}/hbpp.h |
666 |
%{_includedir}/%{name}/hbmsgreg.h |
667 |
%{_includedir}/%{name}/hbpcode.h |
668 |
%{_includedir}/%{name}/hbmather.h |
669 |
%{_includedir}/%{name}/hbmath.h |
670 |
%{_includedir}/%{name}/hbmacro.h |
671 |
%{_includedir}/%{name}/hbinit.h |
672 |
%{_includedir}/%{name}/hbjson.h |
673 |
%{_includedir}/%{name}/hbhash.h |
674 |
%{_includedir}/%{name}/hbiniseg.h |
675 |
%{_includedir}/%{name}/hbgtreg.h |
676 |
%{_includedir}/%{name}/hbexprop.h |
677 |
%{_includedir}/%{name}/hbgtcore.h |
678 |
%{_includedir}/%{name}/hbdefs.h |
679 |
%{_includedir}/%{name}/hberrors.h |
680 |
%{_includedir}/%{name}/hbdbsort.h |
681 |
%{_includedir}/%{name}/hbdbferr.h |
682 |
%{_includedir}/%{name}/hbdbf.h |
683 |
%{_includedir}/%{name}/hbcompdf.h |
684 |
%{_includedir}/%{name}/hbdate.h |
685 |
%{_includedir}/%{name}/hbcomp.h |
686 |
%{_includedir}/%{name}/hbcdpreg.h |
687 |
%{_includedir}/%{name}/hbchksum.h |
688 |
%{_includedir}/%{name}/hbfloat.h |
689 |
%{_includedir}/%{name}/hbatomic.h |
690 |
%{_includedir}/%{name}/hbbfish.h |
691 |
%{_includedir}/%{name}/hbassert.h |
692 |
%{_includedir}/%{name}/hbapirdd.h |
693 |
%{_includedir}/%{name}/hbapistr.h |
694 |
%{_includedir}/%{name}/hbapiitm.h |
695 |
%{_includedir}/%{name}/hbapilng.h |
696 |
%{_includedir}/%{name}/hbapigt.h |
697 |
%{_includedir}/%{name}/hbapifs.h |
698 |
%{_includedir}/%{name}/hbapidbg.h |
699 |
%{_includedir}/%{name}/hbapierr.h |
700 |
%{_includedir}/%{name}/hbapicls.h |
701 |
%{_includedir}/%{name}/hbapicom.h |
702 |
%{_includedir}/%{name}/hbapicdp.h |
703 |
%{_includedir}/%{name}/extend.h |
704 |
%{_includedir}/%{name}/hbapi.h |
705 |
%{_includedir}/%{name}/clipdefs.h |
706 |
%{_includedir}/%{name}/rdd.api |
707 |
%{_includedir}/%{name}/vm.api |
708 |
%{_includedir}/%{name}/item.api |
709 |
%{_includedir}/%{name}/hbundoc.api |
710 |
%{_includedir}/%{name}/gt.api |
711 |
%{_includedir}/%{name}/fm.api |
712 |
%{_includedir}/%{name}/filesys.api |
713 |
%{_includedir}/%{name}/extend.api |
714 |
%{_includedir}/%{name}/error.api |
715 |
|
716 |
%defattr(644,root,root,755) |
717 |
%dir %{_libdir}/%{name} |
718 |
%{_libdir}/%{name}/libhbcpage.a |
719 |
%{_libdir}/%{name}/libhbcommon.a |
720 |
%{_libdir}/%{name}/libhbcplr.a |
721 |
%{_libdir}/%{name}/libhbdebug.a |
722 |
%{_libdir}/%{name}/librddfpt.a |
723 |
%{_libdir}/%{name}/librddcdx.a |
724 |
%{_libdir}/%{name}/librddntx.a |
725 |
%{_libdir}/%{name}/librddnsx.a |
726 |
%{_libdir}/%{name}/libgt[^a]*.a |
727 |
%{_libdir}/%{name}/libhblang.a |
728 |
%{_libdir}/%{name}/libhbmacro.a |
729 |
%{_libdir}/%{name}/libhbextern.a |
730 |
%{_libdir}/%{name}/libhbnulrdd.a |
731 |
%{_libdir}/%{name}/libhbnortl.a |
732 |
%{_libdir}/%{name}/libhbpp.a |
733 |
%{_libdir}/%{name}/libhbrdd.a |
734 |
%{_libdir}/%{name}/libhbhsx.a |
735 |
%{_libdir}/%{name}/libhbsix.a |
736 |
%{_libdir}/%{name}/libhbrtl.a |
737 |
%{_libdir}/%{name}/libhbvm.a |
738 |
%{_libdir}/%{name}/libhbvmmt.a |
739 |
%{_libdir}/%{name}/libhbusrrdd.a |
740 |
%{_libdir}/%{name}/libhbuddall.a |
741 |
%{_libdir}/%{name}/libhbbz2.a |
742 |
%{_libdir}/%{name}/libhbcomm.a |
743 |
%{_libdir}/%{name}/libhbexpat.a |
744 |
%{_libdir}/%{name}/libhbformat.a |
745 |
%{_libdir}/%{name}/libhblzf.a |
746 |
%{_libdir}/%{name}/libhbmemio.a |
747 |
%{_libdir}/%{name}/libhbmlzo.a |
748 |
%{_libdir}/%{name}/libhbmxml.a |
749 |
%{_libdir}/%{name}/libhbsqlit3.a |
750 |
%{_libdir}/%{name}/libhbunix.a |
751 |
%{_libdir}/%{name}/libhbzebra.a |
752 |
%{_libdir}/%{name}/libhbhttpd.a |
753 |
%{_libdir}/%{name}/libhbssl.a |
754 |
%{?_with_localzlib:%{_libdir}/%{name}/libhbzlib.a} |
755 |
%{?_with_localpcre:%{_libdir}/%{name}/libhbpcre.a} |
756 |
|
757 |
%files hbide |
758 |
%{_bindir}/hbide |
759 |
%{_datadir}/applications/hbide.desktop |
760 |
%{_iconsdir}/hbide.png |
761 |
|
762 |
%files -n %{libharbour} |
763 |
%defattr(755,root,root,755) |
764 |
%dir %{_libdir}/%{name} |
765 |
%{_libdir}/%{name}/libharbour*.so* |
766 |
%{!?hb_ldconf:%{_libdir}/libharbour*.so*} |
767 |
%{?hb_ldconf:%{hb_ldconf}/%{name}.conf} |
768 |
|
769 |
%files contrib |
770 |
%defattr(644,root,root,755) |
771 |
%dir %{_libdir}/%{name} |
772 |
%{_libdir}/%{name}/libhbnf.a |
773 |
%{_libdir}/%{name}/libhbblink.a |
774 |
%{_libdir}/%{name}/libhbmisc.a |
775 |
%{_libdir}/%{name}/libminizip.a |
776 |
%{_libdir}/%{name}/libhbmzip.a |
777 |
%{_libdir}/%{name}/libhbnetio.a |
778 |
%{_libdir}/%{name}/libhbct.a |
779 |
%{_libdir}/%{name}/libhbtip*.a |
780 |
%{_libdir}/%{name}/libhbfoxpro.a |
781 |
%{_libdir}/%{name}/libhbfship.a |
782 |
%{_libdir}/%{name}/libhbxpp.a |
783 |
%{_libdir}/%{name}/libxhb.a |
784 |
%{_libdir}/%{name}/libhbhpdf.a |
785 |
%{_libdir}/%{name}/libhbgt.a |
786 |
%{_libdir}/%{name}/libhbclipsm.a |
787 |
%{_libdir}/%{name}/libhbtpathy.a |
788 |
%{_libdir}/%{name}/libhbziparc.a |
789 |
%{_libdir}/%{name}/librddbm.a |
790 |
%{_libdir}/%{name}/librddsql.a |
791 |
%{_libdir}/%{name}/libsddsqlt3.a |
792 |
%{_libdir}/%{name}/libhbsms.a |
793 |
%([ -f %{_libdir}/%{name}/libhbssl.a ] && echo %{_libdir}/%{name}/libhbssl.a) |
794 |
|
795 |
%{?_with_allegro:%files allegro} |
796 |
%{?_with_allegro:%defattr(644,root,root,755)} |
797 |
%{?_with_allegro:%dir %{_libdir}/%{name}} |
798 |
%{?_with_allegro:%{_libdir}/%{name}/libgtalleg.a} |
799 |
|
800 |
%{?_with_cairo:%files cairo} |
801 |
%{?_with_cairo:%defattr(644,root,root,755)} |
802 |
%{?_with_cairo:%dir %{_libdir}/%{name}} |
803 |
%{?_with_cairo:%{_libdir}/%{name}/libhbcairo.a} |
804 |
%{?_with_cairo:%defattr(644,root,root)} |
805 |
%{?_with_cairo:%{_includedir}/%{name}/hbcairo.ch} |
806 |
%{?_with_cairo:%{_includedir}/%{name}/hbcairo.hbx} |
807 |
|
808 |
%{?_with_cups:%files cups} |
809 |
%{?_with_cups:%defattr(644,root,root,755)} |
810 |
%{?_with_cups:%dir %{_libdir}/%{name}} |
811 |
%{?_with_cups:%{_libdir}/%{name}/libhbcups.a} |
812 |
%{?_with_cups:%attr(644,root,root) %{_includedir}/%{name}/hbcups.hbx} |
813 |
|
814 |
%{?_with_curl:%files curl} |
815 |
%{?_with_curl:%defattr(644,root,root,755)} |
816 |
%{?_with_curl:%dir %{_libdir}/%{name}} |
817 |
%{?_with_curl:%{_libdir}/%{name}/libhbcurl.a} |
818 |
%{?_with_curl:%defattr(644,root,root)} |
819 |
%{?_with_curl:%{_includedir}/%{name}/hbcurl.ch} |
820 |
%{?_with_curl:%{_includedir}/%{name}/hbcurl.hbx} |
821 |
|
822 |
%{?_with_firebird:%files firebird} |
823 |
%{?_with_firebird:%defattr(644,root,root,755)} |
824 |
%{?_with_firebird:%dir %{_libdir}/%{name}} |
825 |
%{?_with_firebird:%{_libdir}/%{name}/libhbfbird.a} |
826 |
%{?_with_firebird:%{_libdir}/%{name}/libsddfb.a} |
827 |
%{?_with_firebird:%attr(644,root,root) %{_includedir}/%{name}/hbfbird.hbx} |
828 |
|
829 |
#%%{?_with_freeimage:%%files freeimage} |
830 |
#%%{?_with_freeimage:%%defattr(644,root,root,755)} |
831 |
#%%{?_with_freeimage:%%dir %%{_libdir}/%%{name}} |
832 |
#%%{?_with_freeimage:%%{_libdir}/%%{name}/libhbfimage.a} |
833 |
|
834 |
%{?_with_gd:%files gd} |
835 |
%{?_with_gd:%defattr(644,root,root,755)} |
836 |
%{?_with_gd:%dir %{_libdir}/%{name}} |
837 |
%{?_with_gd:%{_libdir}/%{name}/libhbgd.a} |
838 |
%{?_with_gd:%defattr(644,root,root)} |
839 |
%{?_with_gd:%{_includedir}/%{name}/gd.ch} |
840 |
%{?_with_gd:%{_includedir}/%{name}/gdextern.ch} |
841 |
%{?_with_gd:%{_includedir}/%{name}/hbgd.hbx} |
842 |
|
843 |
%{?_with_mysql:%files mysql} |
844 |
%{?_with_mysql:%defattr(644,root,root,755)} |
845 |
%{?_with_mysql:%dir %{_libdir}/%{name}} |
846 |
%{?_with_mysql:%{_libdir}/%{name}/libhbmysql.a} |
847 |
%{?_with_mysql:%{_libdir}/%{name}/libsddmy.a} |
848 |
%{?_with_mysql:%defattr(644,root,root)} |
849 |
%{?_with_mysql:%{_includedir}/%{name}/hbmysql.hbx} |
850 |
%{?_with_mysql:%{_includedir}/%{name}/mysql.ch} |
851 |
|
852 |
%{?_with_odbc:%files odbc} |
853 |
%{?_with_odbc:%defattr(644,root,root,755)} |
854 |
%{?_with_odbc:%dir %{_libdir}/%{name}} |
855 |
%{?_with_odbc:%{_libdir}/%{name}/libhbodbc.a} |
856 |
%{?_with_odbc:%{_libdir}/%{name}/libsddodbc.a} |
857 |
%{?_with_odbc:%defattr(644,root,root)} |
858 |
%{?_with_odbc:%{_includedir}/%{name}/hbodbc.hbx} |
859 |
%{?_with_odbc:%{_includedir}/%{name}/sql.ch} |
860 |
|
861 |
%{?_with_pgsql:%files pgsql} |
862 |
%{?_with_pgsql:%defattr(644,root,root,755)} |
863 |
%{?_with_pgsql:%dir %{_libdir}/%{name}} |
864 |
%{?_with_pgsql:%{_libdir}/%{name}/libhbpgsql.a} |
865 |
%{?_with_pgsql:%{_libdir}/%{name}/libsddpg.a} |
866 |
%{?_with_pgsql:%defattr(644,root,root)} |
867 |
%{?_with_pgsql:%{_includedir}/%{name}/hbpgsql.hbx} |
868 |
%{?_with_pgsql:%{_includedir}/%{name}/postgres.ch} |
869 |
|
870 |
%{?_with_qt:%files qt} |
871 |
%{?_with_qt:%defattr(644,root,root,755)} |
872 |
%{?_with_qt:%dir %{_libdir}/%{name}} |
873 |
%{?_with_qt:%{_libdir}/%{name}/libhbqt*.a} |
874 |
%{?_with_qt:%{_libdir}/%{name}/libhbxbp.a} |
875 |
%{?_with_qt:%defattr(644,root,root)} |
876 |
%{?_with_qt:%{_includedir}/%{name}/appevent.ch} |
877 |
%{?_with_qt:%{_includedir}/%{name}/gra.ch} |
878 |
%{?_with_qt:%{_includedir}/%{name}/hbqtcore.ch} |
879 |
%{?_with_qt:%{_includedir}/%{name}/hbqtcore.hbx} |
880 |
%{?_with_qt:%{_includedir}/%{name}/hbqtdesigner.hbx} |
881 |
%{?_with_qt:%{_includedir}/%{name}/hbqtgui.ch} |
882 |
%{?_with_qt:%{_includedir}/%{name}/hbqtgui.hbx} |
883 |
%{?_with_qt:%{_includedir}/%{name}/hbqtnetwork.hbx} |
884 |
%{?_with_qt:%{_includedir}/%{name}/hbqtsql.ch} |
885 |
%{?_with_qt:%{_includedir}/%{name}/hbqtsql.hbx} |
886 |
%{?_with_qt:%{_includedir}/%{name}/hbqtwebkit.ch} |
887 |
%{?_with_qt:%{_includedir}/%{name}/hbqtwebkit.hbx} |
888 |
%{?_with_qt:%{_includedir}/%{name}/hbxbp.hbx} |
889 |
%{?_with_qt:%{_includedir}/%{name}/xbp.ch} |
890 |
%{?_with_qt:%{_includedir}/%{name}/xbpdev.ch} |