2 # "$Id: ntk.spec.in 8646 2011-05-10 20:47:21Z matt $"
4 # RPM spec file for FLTK.
6 # Copyright 1998-2011 by Bill Spitzak and others.
8 # This library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Library General Public
10 # License as published by the Free Software Foundation; either
11 # version 2 of the License, or (at your option) any later version.
13 # This library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Library General Public License for more details.
18 # You should have received a copy of the GNU Library General Public
19 # License along with this library; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23 # Please report all bugs and problems on the following page:
25 # http://www.ntk.org/str.php
28 %define version @FL_MAJOR_VERSION@.@FL_MINOR_VERSION@.@FL_PATCH_VERSION@
32 Summary: Fast Light Tool Kit
(FLTK
)
37 Group: System Environment
/Libraries
38 Source: ftp
://ftp.ntk.org
/pub
/ntk
/%{version}/ntk-%{version}-source.tar.gz
39 URL: http
://www.ntk.org
/
40 Packager: FLTK Developer
<ntk@ntk.org
>
41 # use BuildRoot so as not to disturb the version already installed
42 BuildRoot: /var
/tmp
/ntk
-%{PACKAGE_VERSION}
45 The Fast Light Tool Kit
("FLTK"
, pronounced "fulltick"
) is a
46 cross
-platform C
++ GUI toolkit
for UNIX
(r
)/Linux
(r
) (X11
),
47 Microsoft
(r
) Windows
(r
), and MacOS
(r
) X. FLTK provides modern
48 GUI functionality without the bloat and supports
3D graphics via
49 OpenGL
(r
) and its built
-in GLUT emulation.
52 Summary: FLTK Development Environment
53 Group: Development
/Libraries
56 Install ntk
-devel
if you need to develop FLTK applications.
57 You'll need to
install the ntk package
if you plan to run
58 dynamically linked applications.
65 Install ntk
-games to play Block Attack
!, Checkers
, or Sudoku on your computer.
71 CFLAGS
="$RPM_OPT_FLAGS" CXXFLAGS
="$RPM_OPT_FLAGS" LDFLAGS
="$RPM_OPT_FLAGS" .
/configure
--prefix
=%{prefix} --mandir=%{_mandir} --enable-largefile
--enable-shared
--enable-threads
--enable-xft
--enable-xdbe
--enable-xinerama
73 # If we got this far, all prerequisite libraries must be here.
77 # these lines just make sure the directory structure in the
78 # RPM_BUILD_ROOT exists
79 rm -rf $RPM_BUILD_ROOT
80 mkdir -p $RPM_BUILD_ROOT
82 make -e DESTDIR
=$RPM_BUILD_ROOT
install install-desktop
85 rm -rf $RPM_BUILD_ROOT
90 %{prefix}/lib
/libntk
*.so.
*
96 %{prefix}/bin
/ntk
-config
99 %dir %{prefix}/include
/FL
100 %{prefix}/include
/FL
/*
104 %{prefix}/lib
/libntk
*.so
105 %{prefix}/lib
/libntk
*.a
113 %dir %{prefix}/share
/doc
/ntk
114 %{prefix}/share
/doc
/ntk
/*
116 %dir %{prefix}/share
/applications
117 %{prefix}/share
/applications
/*
119 %dir %{prefix}/share
/icons
120 %{prefix}/share
/icons
/hicolor
/*/apps
/fluid.png
122 %dir %{prefix}/share
/mimelnk
123 %{prefix}/share
/mimelnk
/*
128 %{prefix}/bin
/checkers
135 %dir %{prefix}/share
/applications
136 %{prefix}/share
/applications
/*
138 %dir %{prefix}/share
/icons
139 %{prefix}/share
/icons
/hicolor
/*/apps
/blocks.png
140 %{prefix}/share
/icons
/hicolor
/*/apps
/checkers.png
141 %{prefix}/share
/icons
/hicolor
/*/apps
/sudoku.png
144 # End of "$Id: ntk.spec.in 8646 2011-05-10 20:47:21Z matt $".