Summary: High level cross-platform "environment" libraries based on Fltk
+Summary(pl): Wysykopoziomowe miêdzyplatformowe biblioteki "¶rodowiskowe" bazuj±ce na Fltk
Name: flek
Version: 0.2
-Release: 1
+Release: 3
License: GPL
Group: X11/Libraries
-Group(de): X11/Libraries
-Group(es): X11/Bibliotecas
-Group(fr): X11/Librairies
-Group(pl): X11/Biblioteki
-Group(pt_BR): X11/Bibliotecas
-Group(ru): X11/âÉÂÌÉÏÔÅËÉ
-Group(uk): X11/â¦Â̦ÏÔÅËÉ
Source0: ftp://flek.sourceforge.net/pub/%{name}/%{name}-%{version}.agenda.tar.gz
-URL: http://flek.sourceforge.net
+Patch0: %{name}-DESTDIR.patch
+URL: http://flek.sourceforge.net/
BuildRequires: OpenGL-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libjpeg-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
%description
Flek hopes to provide the same layer of functionality for Fltk that
plan on duplicating the work of either Gnome or KDE in this regard.
Aren't there enough IRC clients? ;-)
+%description -l pl
+Flek ma zapewniæ ten sam poziom funkcjonalno¶ci dla Fltk, co GNOME i
+KDE dla Gtk i Qt. Aplikacje korzystaj±ce z Fleka powinny wspó³pracowaæ
+z aplikacjami pisanymi dla GNOME lub KDE. Flek nie ma koniecznie
+zostaæ samodzielnym ¶rodowiskiem desktopu i nie jest planowane, by
+powiela³ pracê GNOME lub KDE w tym zakresie.
+
%package devel
Summary: Flek header files and development documentation
+Summary(pl): Pliki nag³ówkowe i dokumentacja programisty Fleka
Group: X11/Development/Libraries
-Group(de): X11/Entwicklung/Libraries
-Group(es): X11/Desarrollo/Bibliotecas
-Group(fr): X11/Development/Librairies
-Group(pl): X11/Programowanie/Biblioteki
-Group(pt_BR): X11/Desenvolvimento/Bibliotecas
-Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name} = %{version}
%description devel
Flek header files and development documentation.
+%description devel -l pl
+Pliki nag³ówkowe i dokumentacja programisty Fleka.
+
%package static
Summary: Flek static libraries
+Summary(pl): Biblioteki statyczne Fleka
Group: X11/Development/Libraries
-Group(de): X11/Entwicklung/Libraries
-Group(es): X11/Desarrollo/Bibliotecas
-Group(fr): X11/Development/Librairies
-Group(pl): X11/Programowanie/Biblioteki
-Group(pt_BR): X11/Desenvolvimento/Bibliotecas
-Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires: %{name} = %{version}
+Requires: %{name}-devel = %{version}
%description static
Flek static libraries.
+%description static -l pl
+Biblioteki statyczne Fleka.
+
%prep
%setup -q -n %{name}-%{version}.agenda
+%patch0 -p1
%build
-aclocal
-autoconf
-%configure --with-fltk=%{_prefix}
-
+%{__aclocal}
+%{__autoconf}
+cp -f /usr/share/automake/config.* .
+%configure \
+ --with-fltk=%{_prefix}
%{__make} src
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
-%{__make} install \
- libdir=$RPM_BUILD_ROOT%{_libdir} \
- includedir=$RPM_BUILD_ROOT%{_includedir} \
- bindir=$RPM_BUILD_ROOT%{_bindir}
-
-symlinks -cs $RPM_BUILD_ROOT%{_libdir}
-
-gzip -9nf README Changelog
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc README Changelog
%attr(755,root,root) %{_libdir}/lib*.so.*
%files devel