/[packages]/cauldron/harbour/current/SPECS/harbour.spec
ViewVC logotype

Annotation of /cauldron/harbour/current/SPECS/harbour.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30