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