1 Summary: Fast Light Tool Kit
2 Summary(pl): FLTK - "lekki" X11 toolkit
8 Group(de): X11/Libraries
9 Group(es): X11/Bibliotecas
10 Group(pl): X11/Biblioteki
11 Source0: ftp://ftp.easysw.com/pub/%{name}/%{version}/%name-%version-source.tar.bz2
12 Source1: http://www.fltk.org/doc/%name.ps.gz
13 URL: http://www.fltk.org/
14 BuildRequires: XFree86-devel >= 3.3.6
15 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _prefix /usr/X11R6
20 The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a LGPL'd
21 C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r), and
22 Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally developed
23 by Mr. Bill Spitzak and is currently maintained by a small group of
24 developers across the world with a central repository in the US.
27 Summary: FLTK development files
28 Summary(pl): Narzêdzia programistyczne dla FLTK
29 Group: X11/Development/Libraries
30 Group(de): X11/Entwicklung/Libraries
31 Group(pl): X11/Programowanie/Biblioteki
32 Requires: %{name} = %{version}
35 FLTK development files.
37 %description -l pl devel
38 Narzêdzia programistyczne dla FLTK.
41 Summary: FLTK static library.
42 Summary(pl): Biblioteka FLTK linkowana statycznie
43 Group: X11/Development/Libraries
44 Group(de): X11/Entwicklung/Libraries
45 Group(pl): X11/Programowanie/Biblioteki
46 Requires: %{name}-devel = %{version}
51 %description -l pl static
52 Biblioteka FLTK linkowana statycznie.
61 --libdir=$RPM_BUILD_ROOT%{_libdir} \
62 --includedir=$RPM_BUILD_ROOT%{_includedir} \
63 --bindir=$RPM_BUILD_ROOT%{_bindir} \
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/FL,%{_libdir}}
74 (cd fluid;%{__make} install)
75 (cd src;%{__make} install)
77 rm $RPM_BUILD_ROOT%{_libdir}/*.so
78 mv $RPM_BUILD_ROOT%{_libdir}/libfltk.so.1 \
79 $RPM_BUILD_ROOT%{_libdir}/libfltk.so.%{version}
80 ln -sf libfltk.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libfltk.so
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/*.so.*.*.*
93 %defattr(644,root,root,755)
94 %doc documentation/* fltk.ps.gz
95 %attr(75,root,root) %{_libdir}/libfltk.so
96 %attr(755,root,root) %{_bindir}/fluid
100 %defattr(644,root,root,755)
101 %attr(644,root,root) %{_libdir}/*.a