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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.28