]> git.pld-linux.org Git - packages/flek.git/blob - flek.spec
- added destdir patch
[packages/flek.git] / flek.spec
1 Summary:        High level cross-platform "environment" libraries based on Fltk
2 Name:           flek
3 Version:        0.2
4 Release:        1
5 License:        GPL
6 Group:          X11/Libraries
7 Group(de):      X11/Libraries
8 Group(es):      X11/Bibliotecas
9 Group(fr):      X11/Librairies
10 Group(pl):      X11/Biblioteki
11 Group(pt_BR):   X11/Bibliotecas
12 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
13 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
14 Source0:        ftp://flek.sourceforge.net/pub/%{name}/%{name}-%{version}.agenda.tar.gz
15 Patch0: %{name}-DESTDIR.patch
16 URL:            http://flek.sourceforge.net
17 BuildRequires:  OpenGL-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  fltk-devel >= 1.0.11-3
21 BuildRequires:  libjpeg-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _prefix         /usr/X11R6
25
26 %description
27 Flek hopes to provide the same layer of functionality for Fltk that
28 Gnome and KDE do for the Gtk and Qt toolkits, respectively.
29 Applications written with Flek should work cooperatively with
30 applications written in either Gnome or KDE. Flek does not necessarily
31 intend to become a self contained desktop environment and we don't
32 plan on duplicating the work of either Gnome or KDE in this regard.
33 Aren't there enough IRC clients? ;-)
34
35 %package devel
36 Summary:        Flek header files and development documentation
37 Group:          X11/Development/Libraries
38 Group(de):      X11/Entwicklung/Libraries
39 Group(es):      X11/Desarrollo/Bibliotecas
40 Group(fr):      X11/Development/Librairies
41 Group(pl):      X11/Programowanie/Biblioteki
42 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
43 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
44 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
45 Requires:       %{name} = %{version}
46
47 %description devel
48 Flek header files and development documentation.
49
50 %package static
51 Summary:        Flek static libraries
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} = %{version}
61
62 %description static
63 Flek static libraries.
64
65 %prep
66 %setup  -q -n %{name}-%{version}.agenda
67 %patch0 -p1
68
69 %build
70 aclocal
71 autoconf
72 %configure --with-fltk=%{_prefix}
73
74 %{__make} src
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT
79
80 %{__make} install \
81         libdir=$RPM_BUILD_ROOT%{_libdir} \
82         includedir=$RPM_BUILD_ROOT%{_includedir} \
83         bindir=$RPM_BUILD_ROOT%{_bindir}
84
85 symlinks -cs $RPM_BUILD_ROOT%{_libdir}
86
87 gzip -9nf README Changelog
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc *.gz
98 %attr(755,root,root) %{_libdir}/lib*.so.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %doc docs
103 %{_includedir}/Flek
104 %attr(755,root,root) %{_bindir}/*
105 %attr(755,root,root) %{_libdir}/lib*.so
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.050852 seconds and 3 git commands to generate.