]> git.pld-linux.org Git - packages/flek.git/blob - flek.spec
d7b3c7bfa0a17c2efbd03e0d5d920aa0417d3282
[packages/flek.git] / flek.spec
1 Summary:        High level cross-platform "environment" libraries based on Fltk
2 Summary(pl):    Wysykopoziomowe miêdzyplatformowe biblioteki "¶rodowiskowe" bazuj±ce na Fltk
3 Name:           flek
4 Version:        0.2
5 Release:        2
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://flek.sourceforge.net/pub/%{name}/%{name}-%{version}.agenda.tar.gz
16 Patch0:         %{name}-DESTDIR.patch
17 URL:            http://flek.sourceforge.net
18 BuildRequires:  OpenGL-devel
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  fltk-devel >= 1.0.11-3
22 BuildRequires:  libjpeg-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _prefix         /usr/X11R6
26
27 %description
28 Flek hopes to provide the same layer of functionality for Fltk that
29 Gnome and KDE do for the Gtk and Qt toolkits, respectively.
30 Applications written with Flek should work cooperatively with
31 applications written in either Gnome or KDE. Flek does not necessarily
32 intend to become a self contained desktop environment and we don't
33 plan on duplicating the work of either Gnome or KDE in this regard.
34 Aren't there enough IRC clients? ;-)
35
36 %description -l pl
37 Flek ma zapewniæ ten sam poziom funkcjonalno¶ci dla Fltk, co GNOME i
38 KDE dla Gtk i Qt. Aplikacje korzystaj±ce z Fleka powinny wspó³pracowaæ
39 z aplikacjami pisanymi dla GNOME lub KDE. Flek nie ma koniecznie
40 zostaæ samodzielnym ¶rodowiskiem desktopu i nie jest planowane, by
41 powiela³ pracê GNOME lub KDE w tym zakresie.
42
43 %package devel
44 Summary:        Flek header files and development documentation
45 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty Fleka
46 Group:          X11/Development/Libraries
47 Group(de):      X11/Entwicklung/Libraries
48 Group(es):      X11/Desarrollo/Bibliotecas
49 Group(fr):      X11/Development/Librairies
50 Group(pl):      X11/Programowanie/Biblioteki
51 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
52 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
53 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
54 Requires:       %{name} = %{version}
55
56 %description devel
57 Flek header files and development documentation.
58
59 %description devel -l pl
60 Pliki nag³ówkowe i dokumentacja programisty Fleka.
61
62 %package static
63 Summary:        Flek static libraries
64 Summary(pl):    Biblioteki statyczne Fleka
65 Group:          X11/Development/Libraries
66 Group(de):      X11/Entwicklung/Libraries
67 Group(es):      X11/Desarrollo/Bibliotecas
68 Group(fr):      X11/Development/Librairies
69 Group(pl):      X11/Programowanie/Biblioteki
70 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
71 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
72 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
73 Requires:       %{name}-devel = %{version}
74
75 %description static
76 Flek static libraries.
77
78 %description static -l pl
79 Biblioteki statyczne Fleka.
80
81 %prep
82 %setup  -q -n %{name}-%{version}.agenda
83 %patch0 -p1
84
85 %build
86 aclocal
87 autoconf
88 %configure --with-fltk=%{_prefix}
89
90 %{__make} src
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT
95
96 %{__make} install DESTDIR=$RPM_BUILD_ROOT
97
98 gzip -9nf README Changelog
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc *.gz
109 %attr(755,root,root) %{_libdir}/lib*.so.*
110
111 %files devel
112 %defattr(644,root,root,755)
113 %doc docs
114 %{_includedir}/Flek
115 %attr(755,root,root) %{_bindir}/*
116 %attr(755,root,root) %{_libdir}/lib*.so
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/lib*.a
This page took 0.032233 seconds and 2 git commands to generate.