%bcond_without static_libs # don't build static libraries
#
Summary: The FOX C++ GUI Toolkit
Summary(pl.UTF-8): FOX - toolkit graficzny w C++
Name: fox
# NOTE: after switching to 1.8.x keep stable (1.8.x) on HEAD and devel (1.9.x) on DEVEL
%bcond_without static_libs # don't build static libraries
#
Summary: The FOX C++ GUI Toolkit
Summary(pl.UTF-8): FOX - toolkit graficzny w C++
Name: fox
# NOTE: after switching to 1.8.x keep stable (1.8.x) on HEAD and devel (1.9.x) on DEVEL
License: LGPL v3+ with relinking exemption
Group: X11/Libraries
Source0: http://ftp.fox-toolkit.org/pub/%{name}-%{version}.tar.gz
License: LGPL v3+ with relinking exemption
Group: X11/Libraries
Source0: http://ftp.fox-toolkit.org/pub/%{name}-%{version}.tar.gz
Patch0: %{name}-opt.patch
Patch1: %{name}-link.patch
Patch2: %{name}-Makefile.patch
Patch0: %{name}-opt.patch
Patch1: %{name}-link.patch
Patch2: %{name}-Makefile.patch
%{?debug:--enable-debug}%{!?debug:--enable-release} \
%{?with_openjpeg:--enable-jp2} \
--enable-static%{!?with_static_libs:=no} \
%{?debug:--enable-debug}%{!?debug:--enable-release} \
%{?with_openjpeg:--enable-jp2} \
--enable-static%{!?with_static_libs:=no} \
%files devel
%defattr(644,root,root,755)
%doc ADDITIONS TRACING
%files devel
%defattr(644,root,root,755)
%doc ADDITIONS TRACING
%attr(755,root,root) %{_bindir}/reswrap
%attr(755,root,root) %{_libdir}/libCHART-1.7.so
%attr(755,root,root) %{_libdir}/libFOX-1.7.so
%attr(755,root,root) %{_bindir}/reswrap
%attr(755,root,root) %{_libdir}/libCHART-1.7.so
%attr(755,root,root) %{_libdir}/libFOX-1.7.so