]> git.pld-linux.org Git - packages/fltk.git/blob - fltk.spec
- adding es/fr/pt_BR/ru/uk (and eventually de) Group translations
[packages/fltk.git] / fltk.spec
1 Summary:        Fast Light Tool Kit 
2 Summary(pl):    FLTK - "lekki" X11 toolkit 
3 Name:           fltk
4 Version:        1.0.11
5 Release:        4
6 License:        GPL
7 Group:          X11/Libraries
8 Group(de):      X11/Libraries
9 Group(es):      X11/Bibliotecas
10 Group(fr):      X11/Librairies
11 Group(pl):      X11/Biblioteki
12 Group(pt_BR):   X11/Bibliotecas
13 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
14 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://ftp.easysw.com/pub/%{name}/%{version}/%{name}-%{version}-source.tar.bz2
16 Source1:        http://www.fltk.org/doc/%{name}.ps.gz
17 URL:            http://www.fltk.org/
18 BuildRequires:  XFree86-devel >= 3.3.6
19 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22
23 %description
24 The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a LGPL'd
25 C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r), and
26 Microsoft(r) Windows(r) NT 4.0, 95, or 98. It was originally developed
27 by Mr. Bill Spitzak and is currently maintained by a small group of
28 developers across the world with a central repository in the US.
29
30 %package devel
31 Summary:        FLTK development files
32 Summary(pl):    Narzêdzia programistyczne dla FLTK
33 Group:          X11/Development/Libraries
34 Group(de):      X11/Entwicklung/Libraries
35 Group(es):      X11/Desarrollo/Bibliotecas
36 Group(fr):      X11/Development/Librairies
37 Group(pl):      X11/Programowanie/Biblioteki
38 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
39 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
40 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
41 Requires:       %{name} = %{version}
42
43 %description devel
44 FLTK development files.
45
46 %description -l pl devel
47 Narzêdzia programistyczne dla FLTK.
48
49 %package static
50 Summary:        FLTK static library.
51 Summary(pl):    Biblioteka FLTK linkowana statycznie
52 Group:          X11/Development/Libraries
53 Group(de):      X11/Entwicklung/Libraries
54 Group(es):      X11/Desarrollo/Bibliotecas
55 Group(fr):      X11/Development/Librairies
56 Group(pl):      X11/Programowanie/Biblioteki
57 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
58 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
59 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
60 Requires:       %{name}-devel = %{version}
61
62 %description static
63 FLTK static library.
64
65 %description -l pl static
66 Biblioteka FLTK linkowana statycznie.
67
68 %prep
69 %setup -q
70
71 install %{SOURCE1} .
72
73 %build
74 %configure2_13 \
75         --libdir=$RPM_BUILD_ROOT%{_libdir} \
76         --includedir=$RPM_BUILD_ROOT%{_includedir} \
77         --bindir=$RPM_BUILD_ROOT%{_bindir} \
78         --enable-shared \
79         --with-x
80
81 %{__make} depend
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/FL,%{_libdir}}
87
88 (cd fluid;%{__make} install)
89 (cd src;%{__make} install)
90
91 rm $RPM_BUILD_ROOT%{_libdir}/*.so
92 mv $RPM_BUILD_ROOT%{_libdir}/libfltk.so.1 \
93         $RPM_BUILD_ROOT%{_libdir}/libfltk.so.%{version}
94 ln -sf libfltk.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libfltk.so
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/*.so.*.*.*
105
106 %files devel
107 %defattr(644,root,root,755)
108 %doc documentation/* fltk.ps.gz
109 %attr(75,root,root) %{_libdir}/libfltk.so
110 %attr(755,root,root) %{_bindir}/fluid
111 %{_includedir}/FL
112
113 %files static
114 %defattr(644,root,root,755)
115 %attr(644,root,root) %{_libdir}/*.a
This page took 0.107138 seconds and 3 git commands to generate.