Summary(pl): FLTK - "lekki" X11 toolkit
Name: fltk
Version: 1.0.11
-Release: 1
+Release: 4
License: GPL
Group: X11/Libraries
Group(de): X11/Libraries
Group(es): X11/Bibliotecas
+Group(fr): X11/Librairies
Group(pl): X11/Biblioteki
-Source0: ftp://ftp.easysw.com/pub/%{name}/%{version}/%name-%version-source.tar.bz2
-Source1: http://www.fltk.org/doc/%name.ps.gz
+Group(pt_BR): X11/Bibliotecas
+Group(ru): X11/âÉÂÌÉÏÔÅËÉ
+Group(uk): X11/â¦Â̦ÏÔÅËÉ
+Source0: ftp://ftp.easysw.com/pub/%{name}/%{version}/%{name}-%{version}-source.tar.bz2
+Source1: http://www.fltk.org/doc/%{name}.ps.gz
URL: http://www.fltk.org/
BuildRequires: XFree86-devel >= 3.3.6
Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl): Narzêdzia programistyczne dla FLTK
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
Summary(pl): Biblioteka FLTK linkowana statycznie
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}-devel = %{version}
%description static
install %{SOURCE1} .
%build
-%configure \
+%configure2_13 \
--libdir=$RPM_BUILD_ROOT%{_libdir} \
--includedir=$RPM_BUILD_ROOT%{_includedir} \
--bindir=$RPM_BUILD_ROOT%{_bindir} \
(cd fluid;%{__make} install)
(cd src;%{__make} install)
-cd $RPM_BUILD_ROOT%{_includedir}
-rm -f FL/*.h
-for file in FL/*.H; do
- newfile="`basename $file H`h"
- mv $file FL/$newfile
-done
-
rm $RPM_BUILD_ROOT%{_libdir}/*.so
mv $RPM_BUILD_ROOT%{_libdir}/libfltk.so.1 \
$RPM_BUILD_ROOT%{_libdir}/libfltk.so.%{version}