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