Group :: System/Libraries
RPM: libfltk
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: libfltk
Version: 1.1.9
Release: alt1.1
Summary: Multiplatform C++ GUI Fast Light ToolKit
License: LGPL
Group: System/Libraries
URL: http://www.fltk.org/
Source: fltk-%version.tar
Patch0: fltk-1.1.7-alt-link.patch
Patch1: fltk-1.1.7-alt-install.patch
Patch2: fltk-1.1.7-alt-verbose.patch
Patch3: fltk-1.1.9-alt-version-script.patch
Patch4: fltk-1.1.8-rh-no-rpath.patch
Provides: fltk = %version
Obsoletes: fltk < %version
# Automatically added by buildreq on Mon May 12 2008
BuildRequires: gcc-c++ groff-base libICE-devel libXext-devel libXft-devel libalsa-devel libjpeg-devel libGL-devel libpng-devel xprop
%description
The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd
C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r),
and Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally
developed by Mr. Bill Spitzak and is currently maintained by a
small group of developers across the world with a central
repository in the US.
%package devel
Summary: Development environment for multiplatform C++ GUI Fast Light ToolKit
Group: Development/C
Requires: %name = %version-%release
Provides: fltk-devel = %version
Obsoletes: fltk-devel < %version
%description devel
The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd
C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r),
and Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally
developed by Mr. Bill Spitzak and is currently maintained by a
small group of developers across the world with a central
repository in the US.
This package includes header files, static library, GUI builder fluid,
needed to develop FLTK applications.
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libraries for %name
%package doc
Summary: Documentation and test suit for multiplatform C++ GUI Fast Light ToolKit
Group: Development/C
Requires: %name-devel = %version-%release
Provides: fltk-doc = %version
Obsoletes: fltk-doc < %version
%description doc
The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd
C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r),
and Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally
developed by Mr. Bill Spitzak and is currently maintained by a
small group of developers across the world with a central
repository in the US.
This package includes test suit and documentation, needed to develop
FLTK applications.
%prep
%setup -q -n fltk-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
perl -pi -e 's/\bcat([1-3])\b/man$1/g' documentation/Makefile
%build
%configure --enable-shared --enable-xdbe --enable-xft --enable-threads
%make_build
%install
%makeinstall docdir=%buildroot%_docdir/fltk-%version
cp -p ANNOUNCEMENT CHANGES CREDITS README %buildroot%_docdir/fltk-%version/
%files
%_libdir/*.so.*
%dir %_docdir/fltk-%version
%_docdir/fltk-%version/ANNOUNCEMENT
%_docdir/fltk-%version/CREDITS
%_docdir/fltk-%version/README
%files devel
%_bindir/*
%_libdir/*.so
%_includedir/*
%_mandir/man?/*
%files devel-static
%_libdir/*.a
%files doc
%_docdir/fltk-%version
%exclude %_docdir/fltk-%version/ANNOUNCEMENT
%exclude %_docdir/fltk-%version/CREDITS
%exclude %_docdir/fltk-%version/README
%changelog
…
Full changelog you can see here
Version: 1.1.9
Release: alt1.1
Summary: Multiplatform C++ GUI Fast Light ToolKit
License: LGPL
Group: System/Libraries
URL: http://www.fltk.org/
Source: fltk-%version.tar
Patch0: fltk-1.1.7-alt-link.patch
Patch1: fltk-1.1.7-alt-install.patch
Patch2: fltk-1.1.7-alt-verbose.patch
Patch3: fltk-1.1.9-alt-version-script.patch
Patch4: fltk-1.1.8-rh-no-rpath.patch
Provides: fltk = %version
Obsoletes: fltk < %version
# Automatically added by buildreq on Mon May 12 2008
BuildRequires: gcc-c++ groff-base libICE-devel libXext-devel libXft-devel libalsa-devel libjpeg-devel libGL-devel libpng-devel xprop
%description
The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd
C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r),
and Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally
developed by Mr. Bill Spitzak and is currently maintained by a
small group of developers across the world with a central
repository in the US.
%package devel
Summary: Development environment for multiplatform C++ GUI Fast Light ToolKit
Group: Development/C
Requires: %name = %version-%release
Provides: fltk-devel = %version
Obsoletes: fltk-devel < %version
%description devel
The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd
C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r),
and Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally
developed by Mr. Bill Spitzak and is currently maintained by a
small group of developers across the world with a central
repository in the US.
This package includes header files, static library, GUI builder fluid,
needed to develop FLTK applications.
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libraries for %name
%package doc
Summary: Documentation and test suit for multiplatform C++ GUI Fast Light ToolKit
Group: Development/C
Requires: %name-devel = %version-%release
Provides: fltk-doc = %version
Obsoletes: fltk-doc < %version
%description doc
The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd
C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r),
and Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally
developed by Mr. Bill Spitzak and is currently maintained by a
small group of developers across the world with a central
repository in the US.
This package includes test suit and documentation, needed to develop
FLTK applications.
%prep
%setup -q -n fltk-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
perl -pi -e 's/\bcat([1-3])\b/man$1/g' documentation/Makefile
%build
%configure --enable-shared --enable-xdbe --enable-xft --enable-threads
%make_build
%install
%makeinstall docdir=%buildroot%_docdir/fltk-%version
cp -p ANNOUNCEMENT CHANGES CREDITS README %buildroot%_docdir/fltk-%version/
%files
%_libdir/*.so.*
%dir %_docdir/fltk-%version
%_docdir/fltk-%version/ANNOUNCEMENT
%_docdir/fltk-%version/CREDITS
%_docdir/fltk-%version/README
%files devel
%_bindir/*
%_libdir/*.so
%_includedir/*
%_mandir/man?/*
%files devel-static
%_libdir/*.a
%files doc
%_docdir/fltk-%version
%exclude %_docdir/fltk-%version/ANNOUNCEMENT
%exclude %_docdir/fltk-%version/CREDITS
%exclude %_docdir/fltk-%version/README
%changelog
…
Full changelog you can see here