Summary: C++ user interface toolkit for X11, Win32, and MacOS X Name: fltk Version: 1.1.4 Release: 8 License: LGPL with exceptions Group: System Environment/Libraries URL: http://www.fltk.org/ Source0: %{name}-%{version}%{?extraversion}-source.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libjpeg-devel zlib-devel libpng-devel XFree86-devel BuildRequires: /usr/lib/pkgconfig/xft.pc pkgconfig BuildRequires: ImageMagick desktop-file-utils man %package devel Summary: Development package for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: XFree86-devel libstdc++-devel /usr/lib/pkgconfig/xft.pc %package fluid Summary: Fast Light User Interface Designer Group: Development/Tools Requires: %{name}-devel = %{version}-%{release} %description FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and Mac OS X. It provides modern GUI functionality without the bloat, and supports 3D graphics via OpenGL and its built-in GLUT emulation. FLTK is designed to be small and modular enough to be statically linked, and also works fine as a shared library. %description devel This package contains development files for %{name} FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and Mac OS X. It provides modern GUI functionality without the bloat, and supports 3D graphics via OpenGL and its built-in GLUT emulation. %description fluid fluid stands for the Fast Light User Interface Designer. It is an interactive GUI designer for FLTK. %prep %setup -q -n %{name}-%{version}%{?extraversion} %build perl -pi -e "s^\\\$prefix/share/doc/fltk^$RPM_DOC_DIR/%{name}-devel-%{version}^" configure export CPPFLAGS="$(pkg-config xft --cflags)" export LDFLAGS="$(pkg-config xft --libs)" %configure --enable-shared --enable-threads --enable-xdbe --enable-xft make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT __documentation %makeinstall docdir=$(pwd)/__documentation rm -rf $RPM_BUILD_ROOT%{_mandir}/cat* cat > fluid.desktop < 0:1.1.4-0.fdr.8 - Hopefully fixed Xft flags for rh80 * Thu Nov 20 2003 Dams 0:1.1.4-0.fdr.7 - Fixed typo * Thu Nov 20 2003 Dams 0:1.1.4-0.fdr.6 - Added xft.pc build dependency - Added BuildReq:man * Sun Nov 9 2003 Ville Skyttä 0:1.1.4-0.fdr.4 - Spec file cleanup - Enabled xft and threads * Tue Oct 28 2003 Dams - 0:1.1.4-0.fdr.3 - Added missing symlink in includedir * Wed Oct 1 2003 Dams 0:1.1.4-0.fdr.2 - Removed comment after scriptlets * Wed Oct 1 2003 Dams 0:1.1.4-0.fdr.1 - Updated to final 1.1.4 * Wed Sep 24 2003 Dams 0:1.1.4-0.fdr.0.4.rc1 - Fixed documentation path in configure * Fri Aug 29 2003 Dams 0:1.1.4-0.fdr.0.3.rc1 - Fixed typo in desktop entry - Added missing BuildRequires ImageMagick and desktop-file-utils * Fri Aug 29 2003 Dams 0:1.1.4-0.fdr.0.2.rc1 - Moved fluid to its own package - Added missing Requires for devel package * Sat Aug 16 2003 Dams - Initial build.