78 |
%define dev_pgsql %mklibname %{name}-pgsql -d -s |
%define dev_pgsql %mklibname %{name}-pgsql -d -s |
79 |
%endif |
%endif |
80 |
%if %{_with_qt} == 1 |
%if %{_with_qt} == 1 |
81 |
%define dev_qt %mklibname %{name}-dev_qt -d -s |
%define dev_qt %mklibname %{name}-qt -d -s |
82 |
%endif |
%endif |
83 |
|
|
84 |
%define hb_etcdir /etc/%{name} |
%define hb_etcdir /etc/%{name} |
113 |
|
|
114 |
Name: %{name} |
Name: %{name} |
115 |
Version: %{version} |
Version: %{version} |
116 |
Release: %mkrel 5 |
Release: %mkrel 6 |
117 |
Summary: Free software Clipper compatible compiler |
Summary: Free software Clipper compatible compiler |
118 |
License: GPLv2+ |
License: GPLv2+ |
119 |
Group: Development/Other |
Group: Development/Other |
209 |
%package -n %{dev_contrib} |
%package -n %{dev_contrib} |
210 |
Summary: Contrib runtime libaries for %{dname} compiler |
Summary: Contrib runtime libaries for %{dname} compiler |
211 |
Group: Development/Other |
Group: Development/Other |
212 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
213 |
Obsoletes: %{name}-contrib = 3.0.0-4 |
Obsoletes: %{name}-contrib = 3.0.0-4 |
214 |
|
|
215 |
%description -n %{dev_contrib} |
%description -n %{dev_contrib} |
225 |
%package -n %{dev_allegro} |
%package -n %{dev_allegro} |
226 |
Summary: Allegro GT for %{dname} compiler |
Summary: Allegro GT for %{dname} compiler |
227 |
Group: Development/Other |
Group: Development/Other |
228 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
229 |
Obsoletes: %{name}-allegro = 3.0.0-4 |
Obsoletes: %{name}-allegro = 3.0.0-4 |
230 |
|
|
231 |
%description -n %{dev_allegro} |
%description -n %{dev_allegro} |
238 |
%package -n %{dev_cairo} |
%package -n %{dev_cairo} |
239 |
Summary: Cairo library bindings for %{dname} compiler |
Summary: Cairo library bindings for %{dname} compiler |
240 |
Group: Development/Other |
Group: Development/Other |
241 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
242 |
Obsoletes: %{name}-cairo = 3.0.0-4 |
Obsoletes: %{name}-cairo = 3.0.0-4 |
243 |
|
|
244 |
%description -n %{dev_cairo} |
%description -n %{dev_cairo} |
251 |
%package -n %{dev_cups} |
%package -n %{dev_cups} |
252 |
Summary: CUPS library bindings for %{dname} compiler |
Summary: CUPS library bindings for %{dname} compiler |
253 |
Group: Development/Other |
Group: Development/Other |
254 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
255 |
Obsoletes: %{name}-cups = 3.0.0-4 |
Obsoletes: %{name}-cups = 3.0.0-4 |
256 |
|
|
257 |
%description -n %{dev_cups} |
%description -n %{dev_cups} |
264 |
%package -n %{dev_curl} |
%package -n %{dev_curl} |
265 |
Summary: CURL library bindings for %{dname} compiler |
Summary: CURL library bindings for %{dname} compiler |
266 |
Group: Development/Other |
Group: Development/Other |
267 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
268 |
Obsoletes: %{name}-curl = 3.0.0-4 |
Obsoletes: %{name}-curl = 3.0.0-4 |
269 |
|
|
270 |
%description -n %{dev_curl} |
%description -n %{dev_curl} |
277 |
%package -n %{dev_firebird} |
%package -n %{dev_firebird} |
278 |
Summary: FireBird library bindings for %{dname} compiler |
Summary: FireBird library bindings for %{dname} compiler |
279 |
Group: Development/Other |
Group: Development/Other |
280 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
281 |
Obsoletes: %{name}-firebird = 3.0.0-4 |
Obsoletes: %{name}-firebird = 3.0.0-4 |
282 |
|
|
283 |
%description -n %{dev_firebird} |
%description -n %{dev_firebird} |
290 |
%package -n %{dev_freeimage} |
%package -n %{dev_freeimage} |
291 |
Summary: FreeImage library bindings for %{dname} compiler |
Summary: FreeImage library bindings for %{dname} compiler |
292 |
Group: Development/Other |
Group: Development/Other |
293 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
294 |
|
|
295 |
%description -n %{dev_freeimage} |
%description -n %{dev_freeimage} |
296 |
%{dname} is a Clipper compatible compiler. |
%{dname} is a Clipper compatible compiler. |
302 |
%package -n %{dev_gd} |
%package -n %{dev_gd} |
303 |
Summary: GD library bindings for %{dname} compiler |
Summary: GD library bindings for %{dname} compiler |
304 |
Group: Development/Other |
Group: Development/Other |
305 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
306 |
Obsoletes: %{name}-gd = 3.0.0-4 |
Obsoletes: %{name}-gd = 3.0.0-4 |
307 |
|
|
308 |
%description -n %{dev_gd} |
%description -n %{dev_gd} |
315 |
%package -n %{dev_mysql} |
%package -n %{dev_mysql} |
316 |
Summary: MYSQL library bindings for %{dname} compiler |
Summary: MYSQL library bindings for %{dname} compiler |
317 |
Group: Development/Other |
Group: Development/Other |
318 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
319 |
Obsoletes: %{name}-mysql = 3.0.0-4 |
Obsoletes: %{name}-mysql = 3.0.0-4 |
320 |
|
|
321 |
%description -n %{dev_mysql} |
%description -n %{dev_mysql} |
328 |
%package -n %{dev_odbc} |
%package -n %{dev_odbc} |
329 |
Summary: ODBC library bindings for %{dname} compiler |
Summary: ODBC library bindings for %{dname} compiler |
330 |
Group: Development/Other |
Group: Development/Other |
331 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
332 |
Obsoletes: %{name}-odbc = 3.0.0-4 |
Obsoletes: %{name}-odbc = 3.0.0-4 |
333 |
|
|
334 |
%description -n %{dev_odbc} |
%description -n %{dev_odbc} |
341 |
%package -n %{dev_pgsql} |
%package -n %{dev_pgsql} |
342 |
Summary: PGSQL library bindings for %{dname} compiler |
Summary: PGSQL library bindings for %{dname} compiler |
343 |
Group: Development/Other |
Group: Development/Other |
344 |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
345 |
Obsoletes: %{name}-pgsql = 3.0.0-4 |
Obsoletes: %{name}-pgsql = 3.0.0-4 |
346 |
|
|
347 |
%description -n %{dev_pgsql} |
%description -n %{dev_pgsql} |
354 |
%package -n %{dev_qt} |
%package -n %{dev_qt} |
355 |
Summary: QT library bindings for %{dname} compiler |
Summary: QT library bindings for %{dname} compiler |
356 |
Group: Development/Other |
Group: Development/Other |
357 |
Requires: libqt4-devel %{name} = %{?epoch:%{epoch}:}%{version}-%{release} |
Requires: qt4-devel |
358 |
|
Requires: %{name} = %{version}-%{release} |
359 |
Obsoletes: %{name}-qt = 3.0.0-4 |
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} |
%description -n %{dev_qt} |
364 |
%{dname} is a Clipper compatible compiler. |
%{dname} is a Clipper compatible compiler. |
368 |
%package hbide |
%package hbide |
369 |
Summary: Harbour Integrated Development Environment |
Summary: Harbour Integrated Development Environment |
370 |
Group: Development/Other |
Group: Development/Other |
371 |
Requires: %{libharbour} = %{version}-%{release} |
Requires: %{name} = %{version}-%{release} |
372 |
|
|
373 |
%description hbide |
%description hbide |
374 |
HBIDE is an integrated development environment written in %{dname}. |
HBIDE is an integrated development environment written in %{dname}. |
719 |
|
|
720 |
%files -n %{dev_contrib} |
%files -n %{dev_contrib} |
721 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
722 |
%{_libdir}/%{name}/libhbnf.a |
%{_libdir}/%{name}/libhbnf.a |
723 |
%{_libdir}/%{name}/libhbblink.a |
%{_libdir}/%{name}/libhbblink.a |
724 |
%{_libdir}/%{name}/libhbmisc.a |
%{_libdir}/%{name}/libhbmisc.a |
745 |
%if %{_with_allegro} == 1 |
%if %{_with_allegro} == 1 |
746 |
%files -n %{dev_allegro} |
%files -n %{dev_allegro} |
747 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
748 |
%{_libdir}/%{name}/libgtalleg.a |
%{_libdir}/%{name}/libgtalleg.a |
749 |
%endif |
%endif |
750 |
|
|
751 |
%if %{_with_cairo} == 1 |
%if %{_with_cairo} == 1 |
752 |
%files -n %{dev_cairo} |
%files -n %{dev_cairo} |
753 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
754 |
%{_libdir}/%{name}/libhbcairo.a |
%{_libdir}/%{name}/libhbcairo.a |
755 |
%defattr(644,root,root) |
%defattr(644,root,root) |
756 |
%{_includedir}/%{name}/hbcairo.ch |
%{_includedir}/%{name}/hbcairo.ch |
760 |
%if %{_with_cups} == 1 |
%if %{_with_cups} == 1 |
761 |
%files -n %{dev_cups} |
%files -n %{dev_cups} |
762 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
763 |
%{_libdir}/%{name}/libhbcups.a |
%{_libdir}/%{name}/libhbcups.a |
764 |
%attr(644,root,root) %{_includedir}/%{name}/hbcups.hbx |
%attr(644,root,root) %{_includedir}/%{name}/hbcups.hbx |
765 |
%endif |
%endif |
767 |
%if %{_with_curl} == 1 |
%if %{_with_curl} == 1 |
768 |
%files -n %{dev_curl} |
%files -n %{dev_curl} |
769 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
770 |
%{_libdir}/%{name}/libhbcurl.a |
%{_libdir}/%{name}/libhbcurl.a |
771 |
%defattr(644,root,root) |
%defattr(644,root,root) |
772 |
%{_includedir}/%{name}/hbcurl.ch |
%{_includedir}/%{name}/hbcurl.ch |
776 |
%if %{_with_firebird} == 1 |
%if %{_with_firebird} == 1 |
777 |
%files -n %{dev_firebird} |
%files -n %{dev_firebird} |
778 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
779 |
%{_libdir}/%{name}/libhbfbird.a |
%{_libdir}/%{name}/libhbfbird.a |
780 |
%{_libdir}/%{name}/libsddfb.a |
%{_libdir}/%{name}/libsddfb.a |
781 |
%attr(644,root,root) %{_includedir}/%{name}/hbfbird.hbx |
%attr(644,root,root) %{_includedir}/%{name}/hbfbird.hbx |
784 |
%if %{_with_freeimage} == 1 |
%if %{_with_freeimage} == 1 |
785 |
%files -n %{dev_freeimage} |
%files -n %{dev_freeimage} |
786 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
787 |
%{_libdir}/%{name}/libhbfimage.a |
%{_libdir}/%{name}/libhbfimage.a |
788 |
%defattr(644,root,root) |
%defattr(644,root,root) |
789 |
%{_includedir}/%{name}/freeimag.ch |
%{_includedir}/%{name}/freeimag.ch |
793 |
%if %{_with_gd} == 1 |
%if %{_with_gd} == 1 |
794 |
%files -n %{dev_gd} |
%files -n %{dev_gd} |
795 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
796 |
%{_libdir}/%{name}/libhbgd.a |
%{_libdir}/%{name}/libhbgd.a |
797 |
%defattr(644,root,root) |
%defattr(644,root,root) |
798 |
%{_includedir}/%{name}/gd.ch |
%{_includedir}/%{name}/gd.ch |
803 |
%if %{_with_mysql} == 1 |
%if %{_with_mysql} == 1 |
804 |
%files -n %{dev_mysql} |
%files -n %{dev_mysql} |
805 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
806 |
%{_libdir}/%{name}/libhbmysql.a |
%{_libdir}/%{name}/libhbmysql.a |
807 |
%{_libdir}/%{name}/libsddmy.a |
%{_libdir}/%{name}/libsddmy.a |
808 |
%defattr(644,root,root) |
%defattr(644,root,root) |
813 |
%if %{_with_odbc} == 1 |
%if %{_with_odbc} == 1 |
814 |
%files -n %{dev_odbc} |
%files -n %{dev_odbc} |
815 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
816 |
%{_libdir}/%{name}/libhbodbc.a |
%{_libdir}/%{name}/libhbodbc.a |
817 |
%{_libdir}/%{name}/libsddodbc.a |
%{_libdir}/%{name}/libsddodbc.a |
818 |
%defattr(644,root,root) |
%defattr(644,root,root) |
823 |
%if %{_with_pgsql} == 1 |
%if %{_with_pgsql} == 1 |
824 |
%files -n %{dev_pgsql} |
%files -n %{dev_pgsql} |
825 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
826 |
%{_libdir}/%{name}/libhbpgsql.a |
%{_libdir}/%{name}/libhbpgsql.a |
827 |
%{_libdir}/%{name}/libsddpg.a |
%{_libdir}/%{name}/libsddpg.a |
828 |
%defattr(644,root,root) |
%defattr(644,root,root) |
833 |
%if %{_with_qt} == 1 |
%if %{_with_qt} == 1 |
834 |
%files -n %{dev_qt} |
%files -n %{dev_qt} |
835 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
|
%dir %{_libdir}/%{name} |
|
836 |
%{_libdir}/%{name}/libhbqt*.a |
%{_libdir}/%{name}/libhbqt*.a |
837 |
%{_libdir}/%{name}/libhbxbp.a |
%{_libdir}/%{name}/libhbxbp.a |
838 |
%defattr(644,root,root) |
%defattr(644,root,root) |