]> git.pld-linux.org Git - packages/flek.git/blob - flek.spec
- new %%doc
[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:        3
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        ftp://flek.sourceforge.net/pub/%{name}/%{name}-%{version}.agenda.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 URL:            http://flek.sourceforge.net/
11 BuildRequires:  OpenGL-devel
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  fltk-devel >= 1.0.11-3
15 BuildRequires:  libjpeg-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19
20 %description
21 Flek hopes to provide the same layer of functionality for Fltk that
22 Gnome and KDE do for the Gtk and Qt toolkits, respectively.
23 Applications written with Flek should work cooperatively with
24 applications written in either Gnome or KDE. Flek does not necessarily
25 intend to become a self contained desktop environment and we don't
26 plan on duplicating the work of either Gnome or KDE in this regard.
27 Aren't there enough IRC clients? ;-)
28
29 %description -l pl
30 Flek ma zapewniæ ten sam poziom funkcjonalno¶ci dla Fltk, co GNOME i
31 KDE dla Gtk i Qt. Aplikacje korzystaj±ce z Fleka powinny wspó³pracowaæ
32 z aplikacjami pisanymi dla GNOME lub KDE. Flek nie ma koniecznie
33 zostaæ samodzielnym ¶rodowiskiem desktopu i nie jest planowane, by
34 powiela³ pracê GNOME lub KDE w tym zakresie.
35
36 %package devel
37 Summary:        Flek header files and development documentation
38 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty Fleka
39 Group:          X11/Development/Libraries
40 Requires:       %{name} = %{version}
41
42 %description devel
43 Flek header files and development documentation.
44
45 %description devel -l pl
46 Pliki nag³ówkowe i dokumentacja programisty Fleka.
47
48 %package static
49 Summary:        Flek static libraries
50 Summary(pl):    Biblioteki statyczne Fleka
51 Group:          X11/Development/Libraries
52 Requires:       %{name}-devel = %{version}
53
54 %description static
55 Flek static libraries.
56
57 %description static -l pl
58 Biblioteki statyczne Fleka.
59
60 %prep
61 %setup  -q -n %{name}-%{version}.agenda
62 %patch0 -p1
63
64 %build
65 %{__aclocal}
66 %{__autoconf}
67 cp -f /usr/share/automake/config.* .
68 %configure \
69         --with-fltk=%{_prefix}
70 %{__make} src
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT
75
76 %{__make} install DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc README Changelog
87 %attr(755,root,root) %{_libdir}/lib*.so.*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %doc docs
92 %{_includedir}/Flek
93 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/lib*.so
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
This page took 0.048024 seconds and 3 git commands to generate.