]>
Commit | Line | Data |
---|---|---|
d0d683b6 | 1 | Summary: High level cross-platform "environment" libraries based on Fltk |
d35e90e4 | 2 | Summary(pl.UTF-8): Wysykopoziomowe międzyplatformowe biblioteki "środowiskowe" bazujące na Fltk |
d0d683b6 | 3 | Name: flek |
4 | Version: 0.2 | |
969f5139 | 5 | Release: 4 |
d0d683b6 | 6 | License: GPL |
7 | Group: X11/Libraries | |
1224f287 | 8 | Source0: ftp://flek.sourceforge.net/pub/flek/%{name}-%{version}.agenda.tar.gz |
ff119746 | 9 | # Source0-md5: 16ead4da819c0154f084a000b5ee19bf |
497b1b3a | 10 | Patch0: %{name}-DESTDIR.patch |
b71383ee | 11 | URL: http://flek.sourceforge.net/ |
ad22a61b | 12 | BuildRequires: OpenGL-devel |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
d0d683b6 | 15 | BuildRequires: fltk-devel >= 1.0.11-3 |
16 | BuildRequires: libjpeg-devel | |
d0d683b6 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
d0d683b6 | 19 | %description |
ad22a61b | 20 | Flek hopes to provide the same layer of functionality for Fltk that |
d5b3b2f4 | 21 | GNOME and KDE do for the GTK+ and Qt toolkits, respectively. |
ad22a61b | 22 | Applications written with Flek should work cooperatively with |
1f3f23ab | 23 | applications written in either GNOME or KDE. Flek does not necessarily |
ad22a61b | 24 | intend to become a self contained desktop environment and we don't |
1f3f23ab | 25 | plan on duplicating the work of either GNOME or KDE in this regard. |
ad22a61b | 26 | Aren't there enough IRC clients? ;-) |
d0d683b6 | 27 | |
54c638fd JR |
28 | %description -l pl.UTF-8 |
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. | |
497b1b3a | 34 | |
0203974d | 35 | %package devel |
36 | Summary: Flek header files and development documentation | |
d35e90e4 | 37 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja programisty Fleka |
0203974d | 38 | Group: X11/Development/Libraries |
1224f287 | 39 | Requires: %{name} = %{version}-%{release} |
0203974d | 40 | |
41 | %description devel | |
42 | Flek header files and development documentation. | |
43 | ||
54c638fd JR |
44 | %description devel -l pl.UTF-8 |
45 | Pliki nagłówkowe i dokumentacja programisty Fleka. | |
497b1b3a | 46 | |
0203974d | 47 | %package static |
48 | Summary: Flek static libraries | |
d35e90e4 | 49 | Summary(pl.UTF-8): Biblioteki statyczne Fleka |
0203974d | 50 | Group: X11/Development/Libraries |
1224f287 | 51 | Requires: %{name}-devel = %{version}-%{release} |
0203974d | 52 | |
53 | %description static | |
54 | Flek static libraries. | |
55 | ||
54c638fd | 56 | %description static -l pl.UTF-8 |
497b1b3a JB |
57 | Biblioteki statyczne Fleka. |
58 | ||
d0d683b6 | 59 | %prep |
60 | %setup -q -n %{name}-%{version}.agenda | |
43771b88 | 61 | %patch0 -p1 |
d0d683b6 | 62 | |
63 | %build | |
fd7103b3 | 64 | %{__aclocal} |
524208e8 | 65 | %{__autoconf} |
e24b8974 | 66 | cp -f /usr/share/automake/config.* . |
37cd446c | 67 | %configure \ |
68 | --with-fltk=%{_prefix} | |
d0d683b6 | 69 | %{__make} src |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
d0d683b6 | 73 | install -d $RPM_BUILD_ROOT |
74 | ||
41c01a99 PG |
75 | %{__make} install \ |
76 | DESTDIR=$RPM_BUILD_ROOT | |
d0d683b6 | 77 | |
d0d683b6 | 78 | %clean |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
b1acd672 | 81 | %post -p /sbin/ldconfig |
82 | %postun -p /sbin/ldconfig | |
83 | ||
d0d683b6 | 84 | %files |
85 | %defattr(644,root,root,755) | |
7171dfe0 | 86 | %doc README Changelog |
0203974d | 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 |