1 |
barjac |
294033 |
## NOTE Please ask before touching - thanks ;) [barjac] |
2 |
barjac |
288570 |
#################################################################### |
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 |
barjac |
294033 |
# |
15 |
barjac |
287760 |
###################################################################### |
16 |
|
|
# |
17 |
barjac |
294033 |
# Adapted for Mageia from the original spec in the tarball. |
18 |
barjac |
287760 |
# |
19 |
|
|
###################################################################### |
20 |
|
|
|
21 |
barjac |
294033 |
%define debug_packages %{nil} |
22 |
|
|
%define debug_package %{nil} |
23 |
barjac |
287760 |
%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 |
barjac |
294033 |
# Comment %%define(s) to disable contrib package builds for testing. |
33 |
barjac |
287760 |
%define _with_allegro 1 |
34 |
|
|
%define _with_cairo 1 |
35 |
|
|
%define _with_cups 1 |
36 |
|
|
%define _with_curl 1 |
37 |
barjac |
294033 |
%define _with_freeimage 1 |
38 |
barjac |
287760 |
%define _with_firebird 1 |
39 |
|
|
%define _with_gd 1 |
40 |
|
|
%define _with_mysql 1 |
41 |
|
|
%define _with_odbc 1 |
42 |
barjac |
288220 |
%define _with_pgsql 1 |
43 |
barjac |
287760 |
%define _with_qt 1 |
44 |
barjac |
294033 |
%define _with_hbide 1 |
45 |
barjac |
287760 |
|
46 |
barjac |
294033 |
# 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}-dev_qt -d -s |
82 |
|
|
%endif |
83 |
barjac |
287760 |
|
84 |
barjac |
294033 |
%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 |
barjac |
287760 |
|
110 |
barjac |
294033 |
%define name harbour |
111 |
|
|
%define dname Harbour |
112 |
|
|
%define version 3.0.0 |
113 |
|
|
|
114 |
|
|
Name: %{name} |
115 |
|
|
Version: %{version} |
116 |
|
|
Release: %mkrel 5 |
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 |
barjac |
287760 |
%{!?_without_curses:BuildRequires: ncurses-devel} |
124 |
|
|
%{!?_without_gpm:BuildRequires: gpm-devel} |
125 |
barjac |
294033 |
BuildRequires: openssl-devel |
126 |
|
|
BuildRequires: libz-devel |
127 |
barjac |
287760 |
|
128 |
barjac |
294033 |
%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 |
barjac |
287760 |
|
162 |
barjac |
294033 |
Requires: %{libharbour} = %{version}-%{release} |
163 |
|
|
Provides: %{name} = %{version}-%{release} |
164 |
|
|
Obsoletes: %{name}-debug = 3.0.0-4 |
165 |
barjac |
287760 |
|
166 |
barjac |
294033 |
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 |
barjac |
287760 |
|
171 |
barjac |
294033 |
%define _noautoreq 'libharbour.*' |
172 |
barjac |
287760 |
|
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 |
barjac |
294033 |
Summary: Shared runtime libaries for %{dname} compiler |
187 |
barjac |
287775 |
Group: Development/Other |
188 |
barjac |
287760 |
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 |
barjac |
294033 |
%package -n %{devharbour} |
196 |
|
|
Summary: Static libaries for %{dname} compiler |
197 |
|
|
Group: Development/Other |
198 |
|
|
Provides: %{_lib}%{name}.so = %{version}-%{release} |
199 |
barjac |
287760 |
|
200 |
barjac |
294033 |
%description -n %{devharbour} |
201 |
|
|
%{dname} is a Clipper compatible compiler. |
202 |
|
|
This package provides %{dname} runtime shared libraries for programs |
203 |
|
|
linked dynamically. |
204 |
barjac |
287760 |
|
205 |
|
|
###################################################################### |
206 |
|
|
## contrib libs (without package requirements) |
207 |
|
|
###################################################################### |
208 |
|
|
|
209 |
barjac |
294033 |
%package -n %{dev_contrib} |
210 |
barjac |
287760 |
Summary: Contrib runtime libaries for %{dname} compiler |
211 |
barjac |
287775 |
Group: Development/Other |
212 |
barjac |
287760 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
213 |
barjac |
294033 |
Obsoletes: %{name}-contrib = 3.0.0-4 |
214 |
barjac |
287760 |
|
215 |
barjac |
294033 |
%description -n %{dev_contrib} |
216 |
barjac |
287760 |
%{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 |
barjac |
294033 |
%if %{_with_allegro} == 1 |
225 |
|
|
%package -n %{dev_allegro} |
226 |
|
|
Summary: Allegro GT for %{dname} compiler |
227 |
|
|
Group: Development/Other |
228 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
229 |
|
|
Obsoletes: %{name}-allegro = 3.0.0-4 |
230 |
barjac |
287760 |
|
231 |
barjac |
294033 |
%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 |
barjac |
287760 |
|
236 |
|
|
## cairo library |
237 |
barjac |
294033 |
%if %{_with_cairo} == 1 |
238 |
|
|
%package -n %{dev_cairo} |
239 |
|
|
Summary: Cairo library bindings for %{dname} compiler |
240 |
|
|
Group: Development/Other |
241 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
242 |
|
|
Obsoletes: %{name}-cairo = 3.0.0-4 |
243 |
barjac |
287760 |
|
244 |
barjac |
294033 |
%description -n %{dev_cairo} |
245 |
|
|
%{dname} is a Clipper compatible compiler. |
246 |
|
|
This package provides %{dname} Cairo library for program linking. |
247 |
|
|
%endif |
248 |
barjac |
287760 |
|
249 |
|
|
## cups library |
250 |
barjac |
294033 |
%if %{_with_cups} == 1 |
251 |
|
|
%package -n %{dev_cups} |
252 |
|
|
Summary: CUPS library bindings for %{dname} compiler |
253 |
|
|
Group: Development/Other |
254 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
255 |
|
|
Obsoletes: %{name}-cups = 3.0.0-4 |
256 |
barjac |
287760 |
|
257 |
barjac |
294033 |
%description -n %{dev_cups} |
258 |
|
|
%{dname} is a Clipper compatible compiler.} |
259 |
|
|
This package provides %{dname} CUPS library for program linking.} |
260 |
|
|
%endif |
261 |
barjac |
287760 |
|
262 |
|
|
## curl library |
263 |
barjac |
294033 |
%if %{_with_curl} == 1 |
264 |
|
|
%package -n %{dev_curl} |
265 |
|
|
Summary: CURL library bindings for %{dname} compiler |
266 |
|
|
Group: Development/Other |
267 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
268 |
|
|
Obsoletes: %{name}-curl = 3.0.0-4 |
269 |
barjac |
287760 |
|
270 |
barjac |
294033 |
%description -n %{dev_curl} |
271 |
|
|
%{dname} is a Clipper compatible compiler. |
272 |
|
|
This package provides %{dname} CURL library for program linking. |
273 |
|
|
%endif |
274 |
barjac |
287760 |
|
275 |
|
|
## firebird library |
276 |
barjac |
294033 |
%if %{_with_firebird} == 1 |
277 |
|
|
%package -n %{dev_firebird} |
278 |
|
|
Summary: FireBird library bindings for %{dname} compiler |
279 |
|
|
Group: Development/Other |
280 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
281 |
|
|
Obsoletes: %{name}-firebird = 3.0.0-4 |
282 |
barjac |
287760 |
|
283 |
barjac |
294033 |
%description -n %{dev_firebird} |
284 |
|
|
%{dname} is a Clipper compatible compiler. |
285 |
|
|
This package provides %{dname} FireBird library for program linking. |
286 |
|
|
%endif |
287 |
barjac |
287760 |
|
288 |
|
|
## freeimage library |
289 |
barjac |
294033 |
%if %{_with_freeimage} == 1 |
290 |
|
|
%package -n %{dev_freeimage} |
291 |
|
|
Summary: FreeImage library bindings for %{dname} compiler |
292 |
|
|
Group: Development/Other |
293 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
294 |
barjac |
287760 |
|
295 |
barjac |
294033 |
%description -n %{dev_freeimage} |
296 |
|
|
%{dname} is a Clipper compatible compiler. |
297 |
|
|
This package provides %%{dname} FreeImage library for program linking. |
298 |
|
|
%endif |
299 |
barjac |
287760 |
|
300 |
|
|
## gd library |
301 |
barjac |
294033 |
%if %{_with_gd} == 1 |
302 |
|
|
%package -n %{dev_gd} |
303 |
|
|
Summary: GD library bindings for %{dname} compiler |
304 |
|
|
Group: Development/Other |
305 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
306 |
|
|
Obsoletes: %{name}-gd = 3.0.0-4 |
307 |
barjac |
287760 |
|
308 |
barjac |
294033 |
%description -n %{dev_gd} |
309 |
|
|
%{dname} is a Clipper compatible compiler. |
310 |
|
|
This package provides %{dname} GD library for program linking. |
311 |
|
|
%endif |
312 |
barjac |
287760 |
|
313 |
|
|
## mysql library |
314 |
barjac |
294033 |
%if %{_with_mysql} == 1 |
315 |
|
|
%package -n %{dev_mysql} |
316 |
|
|
Summary: MYSQL library bindings for %{dname} compiler |
317 |
|
|
Group: Development/Other |
318 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
319 |
|
|
Obsoletes: %{name}-mysql = 3.0.0-4 |
320 |
barjac |
287760 |
|
321 |
barjac |
294033 |
%description -n %{dev_mysql} |
322 |
|
|
%{dname} is a Clipper compatible compiler. |
323 |
|
|
This package provides %{dname} MYSQL library for program linking. |
324 |
|
|
%endif |
325 |
barjac |
287760 |
|
326 |
|
|
## odbc library |
327 |
barjac |
294033 |
%if %{_with_odbc} == 1 |
328 |
|
|
%package -n %{dev_odbc} |
329 |
|
|
Summary: ODBC library bindings for %{dname} compiler |
330 |
|
|
Group: Development/Other |
331 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
332 |
|
|
Obsoletes: %{name}-odbc = 3.0.0-4 |
333 |
barjac |
287760 |
|
334 |
barjac |
294033 |
%description -n %{dev_odbc} |
335 |
|
|
%{dname} is a Clipper compatible compiler. |
336 |
|
|
This package provides %{dname} ODBC library for program linking. |
337 |
|
|
%endif |
338 |
barjac |
287760 |
|
339 |
|
|
## pgsql library |
340 |
barjac |
294033 |
%if %{_with_pgsql} == 1 |
341 |
|
|
%package -n %{dev_pgsql} |
342 |
|
|
Summary: PGSQL library bindings for %{dname} compiler |
343 |
|
|
Group: Development/Other |
344 |
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
345 |
|
|
Obsoletes: %{name}-pgsql = 3.0.0-4 |
346 |
barjac |
287760 |
|
347 |
barjac |
294033 |
%description -n %{dev_pgsql} |
348 |
|
|
%{dname} is a Clipper compatible compiler. |
349 |
|
|
This package provides %{dname} PGSQL library for program linking. |
350 |
|
|
%endif |
351 |
barjac |
287760 |
|
352 |
|
|
## qt library |
353 |
barjac |
294033 |
%if %{_with_qt} == 1 |
354 |
|
|
%package -n %{dev_qt} |
355 |
|
|
Summary: QT library bindings for %{dname} compiler |
356 |
|
|
Group: Development/Other |
357 |
|
|
Requires: libqt4-devel %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
358 |
|
|
Obsoletes: %{name}-qt = 3.0.0-4 |
359 |
barjac |
287760 |
|
360 |
barjac |
294033 |
%description -n %{dev_qt} |
361 |
|
|
%{dname} is a Clipper compatible compiler. |
362 |
|
|
This package provides %{dname} QT libraries for program linking. |
363 |
|
|
%endif |
364 |
barjac |
287760 |
|
365 |
barjac |
288570 |
%package hbide |
366 |
|
|
Summary: Harbour Integrated Development Environment |
367 |
|
|
Group: Development/Other |
368 |
|
|
Requires: %{libharbour} = %{version}-%{release} |
369 |
barjac |
287760 |
|
370 |
barjac |
288570 |
%description hbide |
371 |
barjac |
294033 |
HBIDE is an integrated development environment written in %{dname}. |
372 |
barjac |
288570 |
|
373 |
barjac |
287760 |
###################################################################### |
374 |
|
|
|
375 |
|
|
%prep |
376 |
|
|
%setup -q |
377 |
|
|
|
378 |
|
|
%patch0 -p0 |
379 |
|
|
%{?_with_curl:%patch1 -p0} |
380 |
|
|
|
381 |
|
|
|
382 |
|
|
%build |
383 |
|
|
%{hb_env} |
384 |
|
|
|
385 |
|
|
%make |
386 |
|
|
|
387 |
|
|
%install |
388 |
|
|
%{hb_env} |
389 |
|
|
|
390 |
|
|
# necessary for shared linked hbmk2 used to execute postinst.hbs |
391 |
|
|
export LD_LIBRARY_PATH=$HB_INSTALL_LIB |
392 |
|
|
|
393 |
|
|
make install %{?_smp_mflags} |
394 |
|
|
|
395 |
|
|
%{?_without_curses:rm -f $HB_INSTALL_LIB/libgtcrs.a} |
396 |
|
|
%{?_without_slang:rm -f $HB_INSTALL_LIB/libgtsln.a} |
397 |
|
|
rm -fR %{!?hb_ldconf:$HB_INSTALL_ETC/ld.so.conf.d} |
398 |
|
|
rm -f %{?hb_ldconf:%{buildroot}/%{_libdir}/*.so*} |
399 |
|
|
rm -f $HB_INSTALL_LIB/libbz2.a \ |
400 |
|
|
$HB_INSTALL_LIB/libjpeg.a \ |
401 |
|
|
$HB_INSTALL_LIB/liblibhpdf.a \ |
402 |
|
|
$HB_INSTALL_LIB/libpng.a \ |
403 |
|
|
$HB_INSTALL_LIB/libsqlite3.a \ |
404 |
|
|
$HB_INSTALL_LIB/libexpat.a \ |
405 |
|
|
$HB_INSTALL_LIB/liblzf.a \ |
406 |
|
|
$HB_INSTALL_LIB/libminilzo.a \ |
407 |
|
|
$HB_INSTALL_LIB/libmxml.a |
408 |
barjac |
288220 |
|
409 |
barjac |
288671 |
mkdir -p %{buildroot}%{_datadir}/%{name}/ |
410 |
barjac |
288570 |
cp -r examples %{buildroot}%{_datadir}/%{name}/ |
411 |
|
|
cp -r tests %{buildroot}%{_datadir}/%{name}/ |
412 |
barjac |
287760 |
|
413 |
barjac |
288570 |
mkdir -p %{buildroot}%{_iconsdir} |
414 |
|
|
cp %{SOURCE1} %{buildroot}%{_iconsdir}/ |
415 |
|
|
|
416 |
|
|
cat > hbide.desktop <<EOF |
417 |
|
|
[Desktop Entry] |
418 |
|
|
Comment[en_GB]=Harbour Integrated Development Environment |
419 |
|
|
Comment=Harbour Integrated Development Environment |
420 |
|
|
Exec=/usr/bin/hbide |
421 |
|
|
GenericName[en_GB]=Harbour IDE |
422 |
|
|
GenericName=Harbour IDE |
423 |
|
|
Icon=hbide |
424 |
|
|
Name[en_GB]=Harbour IDE |
425 |
|
|
Name=Harbour IDE |
426 |
|
|
Categories=Development;IDE;X-Mageia-CrossDesktop; |
427 |
|
|
StartupNotify=true |
428 |
|
|
Terminal=false |
429 |
|
|
Type=Application |
430 |
|
|
EOF |
431 |
|
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications hbide.desktop |
432 |
|
|
|
433 |
barjac |
287760 |
###################################################################### |
434 |
|
|
|
435 |
|
|
%files |
436 |
|
|
%defattr(-,root,root,755) |
437 |
|
|
%{_docdir}/* |
438 |
barjac |
288570 |
%{_datadir}/%{name}/* |
439 |
barjac |
287760 |
|
440 |
|
|
%dir %{hb_etcdir} |
441 |
|
|
%verify(not md5 mtime) %config %{hb_etcdir}/hb-charmap.def |
442 |
|
|
%{_bindir}/harbour |
443 |
|
|
%{_bindir}/hbpp |
444 |
|
|
%{_bindir}/hbtest |
445 |
|
|
%{_bindir}/hbrun |
446 |
|
|
%{_bindir}/hbi18n |
447 |
|
|
%{_bindir}/hbmk2 |
448 |
|
|
%{_bindir}/hbmk2.*.hbl |
449 |
|
|
%{_bindir}/hb3rdpat.hbs |
450 |
|
|
%{_mandir}/man1/*.1* |
451 |
|
|
|
452 |
|
|
%dir %{_includedir}/%{name} |
453 |
|
|
%defattr(644,root,root) |
454 |
|
|
%{_includedir}/%{name}/xhb.hbx |
455 |
|
|
%{_includedir}/%{name}/hbcompat.ch |
456 |
|
|
%{_includedir}/%{name}/hbcompat.h |
457 |
|
|
%{_includedir}/%{name}/xhb.ch |
458 |
|
|
%{_includedir}/%{name}/xhbcls.ch |
459 |
|
|
%{_includedir}/%{name}/xhbextrn.ch |
460 |
|
|
%{_includedir}/%{name}/xhb.h |
461 |
|
|
%{_includedir}/%{name}/hbgt.hbx |
462 |
|
|
%{_includedir}/%{name}/ftmenuto.ch |
463 |
|
|
%{_includedir}/%{name}/hbnf.hbx |
464 |
|
|
%{_includedir}/%{name}/hbbz2.ch |
465 |
|
|
%{_includedir}/%{name}/hbbz2.hbx |
466 |
|
|
%{_includedir}/%{name}/hblzf.ch |
467 |
|
|
%{_includedir}/%{name}/hblzf.hbx |
468 |
|
|
%{_includedir}/%{name}/hbsms.hbx |
469 |
|
|
%{_includedir}/%{name}/hbcomm.hbx |
470 |
|
|
%{_includedir}/%{name}/harupdf.ch |
471 |
|
|
%{_includedir}/%{name}/hbhpdf.hbx |
472 |
|
|
%{_includedir}/%{name}/hbmisc.hbx |
473 |
|
|
%{_includedir}/%{name}/hbmlzo.ch |
474 |
|
|
%{_includedir}/%{name}/hbmlzo.hbx |
475 |
|
|
%{_includedir}/%{name}/hbmxml.ch |
476 |
|
|
%{_includedir}/%{name}/hbmxml.hbx |
477 |
|
|
%{_includedir}/%{name}/hbblink.ch |
478 |
|
|
%{_includedir}/%{name}/hbblink.hbx |
479 |
|
|
%{_includedir}/%{name}/hbhttpd.hbx |
480 |
|
|
%{_includedir}/%{name}/hbzebra.hbx |
481 |
|
|
%{_includedir}/%{name}/hbzebra.ch |
482 |
|
|
%{_includedir}/%{name}/hbclipsm.hbx |
483 |
|
|
%{_includedir}/%{name}/time87.ch |
484 |
|
|
%{_includedir}/%{name}/hbformat.hbx |
485 |
|
|
%{_includedir}/%{name}/hbfoxpro.ch |
486 |
|
|
%{_includedir}/%{name}/hbfoxpro.hbx |
487 |
|
|
%{_includedir}/%{name}/hbsqlit3.hbx |
488 |
|
|
%{_includedir}/%{name}/hbsqlit3.ch |
489 |
|
|
%{_includedir}/%{name}/hbtpathy.hbx |
490 |
|
|
%{_includedir}/%{name}/telepath.ch |
491 |
|
|
%{_includedir}/%{name}/hbziparc.hbx |
492 |
|
|
%{_includedir}/%{name}/hbtip.hbx |
493 |
|
|
%{_includedir}/%{name}/thtml.ch |
494 |
|
|
%{_includedir}/%{name}/tip.ch |
495 |
|
|
%{_includedir}/%{name}/hbfship.hbx |
496 |
|
|
%{_includedir}/%{name}/hbct.hbx |
497 |
|
|
%{_includedir}/%{name}/ct.ch |
498 |
|
|
%{_includedir}/%{name}/ctcom.ch |
499 |
|
|
%{_includedir}/%{name}/ctdisk.ch |
500 |
|
|
%{_includedir}/%{name}/cterror.ch |
501 |
|
|
%{_includedir}/%{name}/ctextern.ch |
502 |
|
|
%{_includedir}/%{name}/ct.h |
503 |
|
|
%{_includedir}/%{name}/ctmath.h |
504 |
|
|
%{_includedir}/%{name}/ctset.h |
505 |
|
|
%{_includedir}/%{name}/ctstrfil.h |
506 |
|
|
%{_includedir}/%{name}/ctstr.h |
507 |
|
|
%{_includedir}/%{name}/ctvideo.ch |
508 |
|
|
%{_includedir}/%{name}/ctwin.h |
509 |
|
|
%{_includedir}/%{name}/dll.ch |
510 |
|
|
%{_includedir}/%{name}/dmlb.ch |
511 |
|
|
%{_includedir}/%{name}/hbxpp.ch |
512 |
|
|
%{_includedir}/%{name}/hbxppext.ch |
513 |
|
|
%{_includedir}/%{name}/hbxpp.hbx |
514 |
|
|
%{_includedir}/%{name}/thread.ch |
515 |
|
|
%{_includedir}/%{name}/hbexpat.ch |
516 |
|
|
%{_includedir}/%{name}/hbexpat.hbx |
517 |
|
|
%{_includedir}/%{name}/hbmemio.hbx |
518 |
|
|
%{_includedir}/%{name}/hbnetio.hbx |
519 |
|
|
%{_includedir}/%{name}/hbssl.ch |
520 |
|
|
%{_includedir}/%{name}/hbssl.hbx |
521 |
|
|
%{_includedir}/%{name}/hbmzip.hbx |
522 |
|
|
%{_includedir}/%{name}/hbmzip.ch |
523 |
|
|
%{_includedir}/%{name}/hbrddsql.ch |
524 |
|
|
%{_includedir}/%{name}/tbrowse.ch |
525 |
|
|
%{_includedir}/%{name}/std.ch |
526 |
|
|
%{_includedir}/%{name}/setcurs.ch |
527 |
|
|
%{_includedir}/%{name}/simpleio.ch |
528 |
|
|
%{_includedir}/%{name}/set.ch |
529 |
|
|
%{_includedir}/%{name}/rddsys.ch |
530 |
|
|
%{_includedir}/%{name}/reserved.ch |
531 |
|
|
%{_includedir}/%{name}/ord.ch |
532 |
|
|
%{_includedir}/%{name}/inkey.ch |
533 |
|
|
%{_includedir}/%{name}/memoedit.ch |
534 |
|
|
%{_includedir}/%{name}/hbver.ch |
535 |
|
|
%{_includedir}/%{name}/hbzlib.ch |
536 |
|
|
%{_includedir}/%{name}/hbusrrdd.ch |
537 |
|
|
%{_includedir}/%{name}/hbthread.ch |
538 |
|
|
%{_includedir}/%{name}/hbtrace.ch |
539 |
|
|
%{_includedir}/%{name}/hbstrict.ch |
540 |
|
|
%{_includedir}/%{name}/hbsxdef.ch |
541 |
|
|
%{_includedir}/%{name}/hbstdgen.ch |
542 |
|
|
%{_includedir}/%{name}/hbsix.ch |
543 |
|
|
%{_includedir}/%{name}/hbsocket.ch |
544 |
|
|
%{_includedir}/%{name}/hbsetup.ch |
545 |
|
|
%{_includedir}/%{name}/hboo.ch |
546 |
|
|
%{_includedir}/%{name}/hbpers.ch |
547 |
|
|
%{_includedir}/%{name}/hbmemvar.ch |
548 |
|
|
%{_includedir}/%{name}/hbmath.ch |
549 |
|
|
%{_includedir}/%{name}/hbmemory.ch |
550 |
|
|
%{_includedir}/%{name}/hblpp.ch |
551 |
|
|
%{_includedir}/%{name}/hbmacro.ch |
552 |
|
|
%{_includedir}/%{name}/hblang.ch |
553 |
|
|
%{_includedir}/%{name}/hbhrb.ch |
554 |
|
|
%{_includedir}/%{name}/hbinkey.ch |
555 |
|
|
%{_includedir}/%{name}/hbgfxdef.ch |
556 |
|
|
%{_includedir}/%{name}/hbgtinfo.ch |
557 |
|
|
%{_includedir}/%{name}/hbextlng.ch |
558 |
|
|
%{_includedir}/%{name}/hbgfx.ch |
559 |
|
|
%{_includedir}/%{name}/hbextern.ch |
560 |
|
|
%{_includedir}/%{name}/hbdyn.ch |
561 |
|
|
%{_includedir}/%{name}/hbextcdp.ch |
562 |
|
|
%{_includedir}/%{name}/hbdebug.ch |
563 |
|
|
%{_includedir}/%{name}/hbcom.ch |
564 |
|
|
%{_includedir}/%{name}/hb.ch |
565 |
|
|
%{_includedir}/%{name}/hbclass.ch |
566 |
|
|
%{_includedir}/%{name}/getexit.ch |
567 |
|
|
%{_includedir}/%{name}/error.ch |
568 |
|
|
%{_includedir}/%{name}/fileio.ch |
569 |
|
|
%{_includedir}/%{name}/dbstruct.ch |
570 |
|
|
%{_includedir}/%{name}/directry.ch |
571 |
|
|
%{_includedir}/%{name}/dbedit.ch |
572 |
|
|
%{_includedir}/%{name}/dbinfo.ch |
573 |
|
|
%{_includedir}/%{name}/common.ch |
574 |
|
|
%{_includedir}/%{name}/button.ch |
575 |
|
|
%{_includedir}/%{name}/color.ch |
576 |
|
|
%{_includedir}/%{name}/box.ch |
577 |
|
|
%{_includedir}/%{name}/assert.ch |
578 |
|
|
%{_includedir}/%{name}/blob.ch |
579 |
|
|
%{_includedir}/%{name}/achoice.ch |
580 |
|
|
%{_includedir}/%{name}/hbusrrdd.hbx |
581 |
|
|
%{_includedir}/%{name}/hblang.hbx |
582 |
|
|
%{_includedir}/%{name}/hbscalar.hbx |
583 |
|
|
%{_includedir}/%{name}/harbour.hbx |
584 |
|
|
%{_includedir}/%{name}/hbcpage.hbx |
585 |
|
|
%{_includedir}/%{name}/hb_io.h |
586 |
|
|
%{_includedir}/%{name}/hbwinuni.h |
587 |
|
|
%{_includedir}/%{name}/hbznet.h |
588 |
|
|
%{_includedir}/%{name}/hbwince.h |
589 |
|
|
%{_includedir}/%{name}/hbxvm.h |
590 |
|
|
%{_includedir}/%{name}/hbvmpub.h |
591 |
|
|
%{_includedir}/%{name}/hbvmint.h |
592 |
|
|
%{_includedir}/%{name}/hbvmopt.h |
593 |
|
|
%{_includedir}/%{name}/hbver.h |
594 |
|
|
%{_includedir}/%{name}/hbvm.h |
595 |
|
|
%{_includedir}/%{name}/hbtrace.h |
596 |
|
|
%{_includedir}/%{name}/hbtypes.h |
597 |
|
|
%{_includedir}/%{name}/hbthread.h |
598 |
|
|
%{_includedir}/%{name}/hbsxfunc.h |
599 |
|
|
%{_includedir}/%{name}/hbtask.h |
600 |
|
|
%{_includedir}/%{name}/hbsocket.h |
601 |
|
|
%{_includedir}/%{name}/hbstack.h |
602 |
|
|
%{_includedir}/%{name}/hbsetup.h |
603 |
|
|
%{_includedir}/%{name}/hbregex.h |
604 |
|
|
%{_includedir}/%{name}/hbset.h |
605 |
|
|
%{_includedir}/%{name}/hbrddnsx.h |
606 |
|
|
%{_includedir}/%{name}/hbrddsdf.h |
607 |
|
|
%{_includedir}/%{name}/hbrddntx.h |
608 |
|
|
%{_includedir}/%{name}/hbrdddel.h |
609 |
|
|
%{_includedir}/%{name}/hbrddfpt.h |
610 |
|
|
%{_includedir}/%{name}/hbrddcdx.h |
611 |
|
|
%{_includedir}/%{name}/hbrdddbf.h |
612 |
|
|
%{_includedir}/%{name}/hbpp.h |
613 |
|
|
%{_includedir}/%{name}/hbmsgreg.h |
614 |
|
|
%{_includedir}/%{name}/hbpcode.h |
615 |
|
|
%{_includedir}/%{name}/hbmather.h |
616 |
|
|
%{_includedir}/%{name}/hbmath.h |
617 |
|
|
%{_includedir}/%{name}/hbmacro.h |
618 |
|
|
%{_includedir}/%{name}/hbinit.h |
619 |
|
|
%{_includedir}/%{name}/hbjson.h |
620 |
|
|
%{_includedir}/%{name}/hbhash.h |
621 |
|
|
%{_includedir}/%{name}/hbiniseg.h |
622 |
|
|
%{_includedir}/%{name}/hbgtreg.h |
623 |
|
|
%{_includedir}/%{name}/hbexprop.h |
624 |
|
|
%{_includedir}/%{name}/hbgtcore.h |
625 |
|
|
%{_includedir}/%{name}/hbdefs.h |
626 |
|
|
%{_includedir}/%{name}/hberrors.h |
627 |
|
|
%{_includedir}/%{name}/hbdbsort.h |
628 |
|
|
%{_includedir}/%{name}/hbdbferr.h |
629 |
|
|
%{_includedir}/%{name}/hbdbf.h |
630 |
|
|
%{_includedir}/%{name}/hbcompdf.h |
631 |
|
|
%{_includedir}/%{name}/hbdate.h |
632 |
|
|
%{_includedir}/%{name}/hbcomp.h |
633 |
|
|
%{_includedir}/%{name}/hbcdpreg.h |
634 |
|
|
%{_includedir}/%{name}/hbchksum.h |
635 |
|
|
%{_includedir}/%{name}/hbfloat.h |
636 |
|
|
%{_includedir}/%{name}/hbatomic.h |
637 |
|
|
%{_includedir}/%{name}/hbbfish.h |
638 |
|
|
%{_includedir}/%{name}/hbassert.h |
639 |
|
|
%{_includedir}/%{name}/hbapirdd.h |
640 |
|
|
%{_includedir}/%{name}/hbapistr.h |
641 |
|
|
%{_includedir}/%{name}/hbapiitm.h |
642 |
|
|
%{_includedir}/%{name}/hbapilng.h |
643 |
|
|
%{_includedir}/%{name}/hbapigt.h |
644 |
|
|
%{_includedir}/%{name}/hbapifs.h |
645 |
|
|
%{_includedir}/%{name}/hbapidbg.h |
646 |
|
|
%{_includedir}/%{name}/hbapierr.h |
647 |
|
|
%{_includedir}/%{name}/hbapicls.h |
648 |
|
|
%{_includedir}/%{name}/hbapicom.h |
649 |
|
|
%{_includedir}/%{name}/hbapicdp.h |
650 |
|
|
%{_includedir}/%{name}/extend.h |
651 |
|
|
%{_includedir}/%{name}/hbapi.h |
652 |
|
|
%{_includedir}/%{name}/clipdefs.h |
653 |
|
|
%{_includedir}/%{name}/rdd.api |
654 |
|
|
%{_includedir}/%{name}/vm.api |
655 |
|
|
%{_includedir}/%{name}/item.api |
656 |
|
|
%{_includedir}/%{name}/hbundoc.api |
657 |
|
|
%{_includedir}/%{name}/gt.api |
658 |
|
|
%{_includedir}/%{name}/fm.api |
659 |
|
|
%{_includedir}/%{name}/filesys.api |
660 |
|
|
%{_includedir}/%{name}/extend.api |
661 |
|
|
%{_includedir}/%{name}/error.api |
662 |
|
|
|
663 |
barjac |
294033 |
%files -n %{devharbour} |
664 |
barjac |
287760 |
%defattr(644,root,root,755) |
665 |
|
|
%dir %{_libdir}/%{name} |
666 |
|
|
%{_libdir}/%{name}/libhbcpage.a |
667 |
|
|
%{_libdir}/%{name}/libhbcommon.a |
668 |
|
|
%{_libdir}/%{name}/libhbcplr.a |
669 |
|
|
%{_libdir}/%{name}/libhbdebug.a |
670 |
|
|
%{_libdir}/%{name}/librddfpt.a |
671 |
|
|
%{_libdir}/%{name}/librddcdx.a |
672 |
|
|
%{_libdir}/%{name}/librddntx.a |
673 |
|
|
%{_libdir}/%{name}/librddnsx.a |
674 |
|
|
%{_libdir}/%{name}/libgt[^a]*.a |
675 |
|
|
%{_libdir}/%{name}/libhblang.a |
676 |
|
|
%{_libdir}/%{name}/libhbmacro.a |
677 |
|
|
%{_libdir}/%{name}/libhbextern.a |
678 |
|
|
%{_libdir}/%{name}/libhbnulrdd.a |
679 |
|
|
%{_libdir}/%{name}/libhbnortl.a |
680 |
|
|
%{_libdir}/%{name}/libhbpp.a |
681 |
|
|
%{_libdir}/%{name}/libhbrdd.a |
682 |
|
|
%{_libdir}/%{name}/libhbhsx.a |
683 |
|
|
%{_libdir}/%{name}/libhbsix.a |
684 |
|
|
%{_libdir}/%{name}/libhbrtl.a |
685 |
|
|
%{_libdir}/%{name}/libhbvm.a |
686 |
|
|
%{_libdir}/%{name}/libhbvmmt.a |
687 |
|
|
%{_libdir}/%{name}/libhbusrrdd.a |
688 |
|
|
%{_libdir}/%{name}/libhbuddall.a |
689 |
|
|
%{_libdir}/%{name}/libhbbz2.a |
690 |
|
|
%{_libdir}/%{name}/libhbcomm.a |
691 |
|
|
%{_libdir}/%{name}/libhbexpat.a |
692 |
|
|
%{_libdir}/%{name}/libhbformat.a |
693 |
|
|
%{_libdir}/%{name}/libhblzf.a |
694 |
|
|
%{_libdir}/%{name}/libhbmemio.a |
695 |
|
|
%{_libdir}/%{name}/libhbmlzo.a |
696 |
|
|
%{_libdir}/%{name}/libhbmxml.a |
697 |
|
|
%{_libdir}/%{name}/libhbsqlit3.a |
698 |
|
|
%{_libdir}/%{name}/libhbunix.a |
699 |
|
|
%{_libdir}/%{name}/libhbzebra.a |
700 |
|
|
%{_libdir}/%{name}/libhbhttpd.a |
701 |
|
|
%{_libdir}/%{name}/libhbssl.a |
702 |
|
|
%{?_with_localzlib:%{_libdir}/%{name}/libhbzlib.a} |
703 |
|
|
%{?_with_localpcre:%{_libdir}/%{name}/libhbpcre.a} |
704 |
|
|
|
705 |
barjac |
288570 |
%files hbide |
706 |
|
|
%{_bindir}/hbide |
707 |
|
|
%{_datadir}/applications/hbide.desktop |
708 |
|
|
%{_iconsdir}/hbide.png |
709 |
|
|
|
710 |
barjac |
287760 |
%files -n %{libharbour} |
711 |
|
|
%defattr(755,root,root,755) |
712 |
|
|
%dir %{_libdir}/%{name} |
713 |
|
|
%{_libdir}/%{name}/libharbour*.so* |
714 |
|
|
%{!?hb_ldconf:%{_libdir}/libharbour*.so*} |
715 |
|
|
%{?hb_ldconf:%{hb_ldconf}/%{name}.conf} |
716 |
|
|
|
717 |
barjac |
294033 |
%files -n %{dev_contrib} |
718 |
barjac |
287760 |
%defattr(644,root,root,755) |
719 |
|
|
%dir %{_libdir}/%{name} |
720 |
|
|
%{_libdir}/%{name}/libhbnf.a |
721 |
|
|
%{_libdir}/%{name}/libhbblink.a |
722 |
|
|
%{_libdir}/%{name}/libhbmisc.a |
723 |
|
|
%{_libdir}/%{name}/libminizip.a |
724 |
|
|
%{_libdir}/%{name}/libhbmzip.a |
725 |
|
|
%{_libdir}/%{name}/libhbnetio.a |
726 |
|
|
%{_libdir}/%{name}/libhbct.a |
727 |
|
|
%{_libdir}/%{name}/libhbtip*.a |
728 |
|
|
%{_libdir}/%{name}/libhbfoxpro.a |
729 |
|
|
%{_libdir}/%{name}/libhbfship.a |
730 |
|
|
%{_libdir}/%{name}/libhbxpp.a |
731 |
|
|
%{_libdir}/%{name}/libxhb.a |
732 |
|
|
%{_libdir}/%{name}/libhbhpdf.a |
733 |
|
|
%{_libdir}/%{name}/libhbgt.a |
734 |
|
|
%{_libdir}/%{name}/libhbclipsm.a |
735 |
|
|
%{_libdir}/%{name}/libhbtpathy.a |
736 |
|
|
%{_libdir}/%{name}/libhbziparc.a |
737 |
|
|
%{_libdir}/%{name}/librddbm.a |
738 |
|
|
%{_libdir}/%{name}/librddsql.a |
739 |
|
|
%{_libdir}/%{name}/libsddsqlt3.a |
740 |
|
|
%{_libdir}/%{name}/libhbsms.a |
741 |
|
|
%([ -f %{_libdir}/%{name}/libhbssl.a ] && echo %{_libdir}/%{name}/libhbssl.a) |
742 |
|
|
|
743 |
barjac |
294033 |
%if %{_with_allegro} == 1 |
744 |
|
|
%files -n %{dev_allegro} |
745 |
|
|
%defattr(644,root,root,755) |
746 |
|
|
%dir %{_libdir}/%{name} |
747 |
|
|
%{_libdir}/%{name}/libgtalleg.a |
748 |
|
|
%endif |
749 |
barjac |
287760 |
|
750 |
barjac |
294033 |
%if %{_with_cairo} == 1 |
751 |
|
|
%files -n %{dev_cairo} |
752 |
|
|
%defattr(644,root,root,755) |
753 |
|
|
%dir %{_libdir}/%{name} |
754 |
|
|
%{_libdir}/%{name}/libhbcairo.a |
755 |
|
|
%defattr(644,root,root) |
756 |
|
|
%{_includedir}/%{name}/hbcairo.ch |
757 |
|
|
%{_includedir}/%{name}/hbcairo.hbx |
758 |
|
|
%endif |
759 |
barjac |
287760 |
|
760 |
barjac |
294033 |
%if %{_with_cups} == 1 |
761 |
|
|
%files -n %{dev_cups} |
762 |
|
|
%defattr(644,root,root,755) |
763 |
|
|
%dir %{_libdir}/%{name} |
764 |
|
|
%{_libdir}/%{name}/libhbcups.a |
765 |
|
|
%attr(644,root,root) %{_includedir}/%{name}/hbcups.hbx |
766 |
|
|
%endif |
767 |
barjac |
287760 |
|
768 |
barjac |
294033 |
%if %{_with_curl} == 1 |
769 |
|
|
%files -n %{dev_curl} |
770 |
|
|
%defattr(644,root,root,755) |
771 |
|
|
%dir %{_libdir}/%{name} |
772 |
|
|
%{_libdir}/%{name}/libhbcurl.a |
773 |
|
|
%defattr(644,root,root) |
774 |
|
|
%{_includedir}/%{name}/hbcurl.ch |
775 |
|
|
%{_includedir}/%{name}/hbcurl.hbx |
776 |
|
|
%endif |
777 |
barjac |
287760 |
|
778 |
barjac |
294033 |
%if %{_with_firebird} == 1 |
779 |
|
|
%files -n %{dev_firebird} |
780 |
|
|
%defattr(644,root,root,755) |
781 |
|
|
%dir %{_libdir}/%{name} |
782 |
|
|
%{_libdir}/%{name}/libhbfbird.a |
783 |
|
|
%{_libdir}/%{name}/libsddfb.a |
784 |
|
|
%attr(644,root,root) %{_includedir}/%{name}/hbfbird.hbx |
785 |
|
|
%endif |
786 |
barjac |
287760 |
|
787 |
barjac |
294033 |
%if %{_with_freeimage} == 1 |
788 |
|
|
%files -n %{dev_freeimage} |
789 |
|
|
%defattr(644,root,root,755) |
790 |
|
|
%dir %{_libdir}/%{name} |
791 |
|
|
%{_libdir}/%{name}/libhbfimage.a |
792 |
|
|
%defattr(644,root,root) |
793 |
|
|
%{_includedir}/%{name}/freeimag.ch |
794 |
|
|
%{_includedir}/%{name}/hbfimage.hbx |
795 |
|
|
%endif |
796 |
barjac |
287760 |
|
797 |
barjac |
294033 |
%if %{_with_gd} == 1 |
798 |
|
|
%files -n %{dev_gd} |
799 |
|
|
%defattr(644,root,root,755) |
800 |
|
|
%dir %{_libdir}/%{name} |
801 |
|
|
%{_libdir}/%{name}/libhbgd.a |
802 |
|
|
%defattr(644,root,root) |
803 |
|
|
%{_includedir}/%{name}/gd.ch |
804 |
|
|
%{_includedir}/%{name}/gdextern.ch |
805 |
|
|
%{_includedir}/%{name}/hbgd.hbx |
806 |
|
|
%endif |
807 |
barjac |
287760 |
|
808 |
barjac |
294033 |
%if %{_with_mysql} == 1 |
809 |
|
|
%files -n %{dev_mysql} |
810 |
|
|
%defattr(644,root,root,755) |
811 |
|
|
%dir %{_libdir}/%{name} |
812 |
|
|
%{_libdir}/%{name}/libhbmysql.a |
813 |
|
|
%{_libdir}/%{name}/libsddmy.a |
814 |
|
|
%defattr(644,root,root) |
815 |
|
|
%{_includedir}/%{name}/hbmysql.hbx |
816 |
|
|
%{_includedir}/%{name}/mysql.ch |
817 |
|
|
%endif |
818 |
barjac |
287760 |
|
819 |
barjac |
294033 |
%if %{_with_odbc} == 1 |
820 |
|
|
%files -n %{dev_odbc} |
821 |
|
|
%defattr(644,root,root,755) |
822 |
|
|
%dir %{_libdir}/%{name} |
823 |
|
|
%{_libdir}/%{name}/libhbodbc.a |
824 |
|
|
%{_libdir}/%{name}/libsddodbc.a |
825 |
|
|
%defattr(644,root,root) |
826 |
|
|
%{_includedir}/%{name}/hbodbc.hbx |
827 |
|
|
%{_includedir}/%{name}/sql.ch |
828 |
|
|
%endif |
829 |
barjac |
287760 |
|
830 |
barjac |
294033 |
%if %{_with_pgsql} == 1 |
831 |
|
|
%files -n %{dev_pgsql} |
832 |
|
|
%defattr(644,root,root,755) |
833 |
|
|
%dir %{_libdir}/%{name} |
834 |
|
|
%{_libdir}/%{name}/libhbpgsql.a |
835 |
|
|
%{_libdir}/%{name}/libsddpg.a |
836 |
|
|
%defattr(644,root,root) |
837 |
|
|
%{_includedir}/%{name}/hbpgsql.hbx |
838 |
|
|
%{_includedir}/%{name}/postgres.ch |
839 |
|
|
%endif |
840 |
barjac |
287760 |
|
841 |
barjac |
294033 |
%if %{_with_qt} == 1 |
842 |
|
|
%files -n %{dev_qt} |
843 |
|
|
%defattr(644,root,root,755) |
844 |
|
|
%dir %{_libdir}/%{name} |
845 |
|
|
%{_libdir}/%{name}/libhbqt*.a |
846 |
|
|
%{_libdir}/%{name}/libhbxbp.a |
847 |
|
|
%defattr(644,root,root) |
848 |
|
|
%{_includedir}/%{name}/appevent.ch |
849 |
|
|
%{_includedir}/%{name}/gra.ch |
850 |
|
|
%{_includedir}/%{name}/hbqtcore.ch |
851 |
|
|
%{_includedir}/%{name}/hbqtcore.hbx |
852 |
|
|
%{_includedir}/%{name}/hbqtdesigner.hbx |
853 |
|
|
%{_includedir}/%{name}/hbqtgui.ch |
854 |
|
|
%{_includedir}/%{name}/hbqtgui.hbx |
855 |
|
|
%{_includedir}/%{name}/hbqtnetwork.hbx |
856 |
|
|
%{_includedir}/%{name}/hbqtsql.ch |
857 |
|
|
%{_includedir}/%{name}/hbqtsql.hbx |
858 |
|
|
%{_includedir}/%{name}/hbqtwebkit.ch |
859 |
|
|
%{_includedir}/%{name}/hbqtwebkit.hbx |
860 |
|
|
%{_includedir}/%{name}/hbxbp.hbx |
861 |
|
|
%{_includedir}/%{name}/xbp.ch |
862 |
|
|
%{_includedir}/%{name}/xbpdev.ch |
863 |
|
|
%endif |