Summary: The FOX C++ GUI Toolkit
Name: fox
-Version: 0.99.167
+Version: 0.99.174
Release: 1
License: LGPL
Group: X11/Libraries
Group(de): X11/Libraries
Group(es): X11/Bibliotecas
Group(pl): X11/Biblioteki
-Source0: ftp://ftp.cfdrc.com/pub/%{name}-%{version}.tar.gz
+Source0: ftp://ftp.cfdrc.com/pub/FOX/%{name}-%{version}.tar.gz
BuildRequires: OpenGL-devel
URL: http://www.cfdrc.com/FOX/fox.html
Requires: OpenGL
%define _noautoreqdep libGL.so.1 libGLU.so.1
%define _prefix /usr/X11R6
+%define _mandir %{_prefix}/man
%description
FOX is a C++-Based Library for Graphical User Interface Development
graphics. Subclassing of basic FOX widgets allows for easy extension
beyond the built-in widgets by application writers.
-%package example-apps
+%package progs
Summary: FOX example applications
Group: X11/Applications
Group(de): X11/Applikationen
Group(pl): X11/Aplikacje
Requires: %{name} = %{version}
+Obsoletes: %{name}-example-apps
-%description example-apps
+%description progs
Editor and file browser, written with FOX.
%package devel
%setup -q
%build
-CPPFLAGS="%{!?debug:$RPM_OPT_FLAGS -frtti}%{?debug:-O0 -g}" \
-#CFLAGS="%{!?debug:$RPM_OPT_FLAGS -frtti}%{?debug:-O0 -g}" \
+libtoolize -c -f
+aclocal
+automake -a -c
+autoconf
+CPPFLAGS="%{rpmcflags} -frtti" \
+#CFLAGS="%{rpmcflags} -frtti" \
%configure \
--with-opengl=mesa \
--enable-release
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%{_mandir}/*/*
-%files example-apps
+%files progs
%defattr(644,root,root,755)
%attr(755,root,root) /%{_bindir}/textedit
%attr(755,root,root) /%{_bindir}/PathFinder
+%{_mandir}/man1/*
%files devel
%defattr(644,root,root,755)