-Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
+Summary: A Tk toolkit extension, including widgets, geometry managers, etc
+Summary(es): Componentes (widgets) y comandos extras para aplicaciones Tk
+Summary(pl): Rozszerzenie Tk umo¿liwiaj±ce operowanie na kontrolkach i wiele innych
+Summary(pt_BR): Componentes (widgets) e comandos extras para aplicações Tk
+Summary(ru): òÁÓÛÉÒÅÎÉÅ ÎÁÂÏÒÁ Tk, ×ËÌÀÞÁÑ ÇÒÁÆÉÞÅÓËÉÅ ÐÒÉÍÉÔÉ×Ù, ÍÅÎÅÄÖÅÒÙ ÇÅÏÍÅÔÒÉÉ É Ô.Ä
+Summary(uk): òÏÚÛÉÒÅÎÎÑ ÎÁÂÏÒÕ Tk, ×ËÌÀÞÁÀÞÉ ÇÒÁƦÞΦ ÐÒÉͦÔÉ×É, ÍÅÎÅÄÖÅÒÉ ÇÅÏÍÅÔÒ¦§ ¦ Ô.¦
Name: blt
Version: 2.4u
-Release: 1
+Release: 14
License: MIT
Group: Development/Tools
-Group(de): Entwicklung/Werkzeuge
-Group(fr): Development/Outils
-Group(pl): Programowanie/Narzêdzia
-Source0: ftp://tcltk.sourceforge.net/pub/tcltk/blt/BLT%{version}.tar.gz
+Source0: ftp://ftp.scriptics.com/pub/tcl/blt/BLT%{version}.tar.gz
+# Source0-md5: bad9f33789a6aac390cebba819ee6b38
Patch0: %{name}-DESTDIR.patch
Patch1: %{name}-paths.patch
+Patch2: %{name}-excl.patch
+Patch3: %{name}-acfix.patch
+Patch4: %{name}-nolibnsl.patch
+Patch5: %{name}-tcltk84.patch
+Patch6: %{name}-norpath.patch
+URL: http://incrtcl.sourceforge.net/blt/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: tcl-devel >= 8.4.6
+BuildRequires: tk-devel >= 8.4.6
+Requires: tcl >= 8.4.6
+Requires: tk >= 8.4.6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _ulibdir %{_prefix}/lib
+
%description
BLT is an extension to the Tk toolkit. BLT's most useful feature is
the provision of more widgets for Tk, but it also provides more
If you are programming with the Tk toolkit, you should install BLT.
You will need to have Tcl/Tk installed.
+%description -l es
+BLT ofrece componentes (widgets) y comandos extras para programas Tk.
+Incluye componentes gráficos, administración de geometría de tablas y
+folders.
+
%description -l pl
BLT jest rozszerzeniem Tk. Najbardziej u¿yteczn± funkcj± BLT jest
-dostarczenie Tk wiêkszej ilo¶ci widgetów; oferuje równie¿ wiêcej
-mened¿erów geometrii i innych poleceñ. Aby u¿ywaæ BLT nie trzeba ³ataæ
-plików ¼ród³owych Tcl ani Tk, trzeba jednak mieæ zainstalowanego
-Tcl/Tk. Je¶li programuje siê w Tcl/tk, nale¿y zainstalowaæ BLT. Trzeba
-równie¿ zainstalowaæ Tcl/Tk.
+rozszerzenie Tk o wiêksz± ilo¶æ kontrolek; oferuje równie¿ wiêcej
+funkcji zarz±dzania geometri± i innych poleceñ. Aby u¿ywaæ BLT nie
+trzeba ³ataæ plików ¼ród³owych Tcl ani Tk, trzeba jednak mieæ
+zainstalowanego Tcl/Tk. Je¶li programuje siê w Tcl/Tk, lepiej
+zainstalowaæ BLT. Trzeba równie¿ zainstalowaæ Tcl/Tk.
+
+%description -l pt_BR
+O BLT fornece componentes (widgets) e comandos extras para programas
+Tk. Ele inclui componentes gráficos, gerenciamento de geometria de
+tabelas e folders.
+
+%description -l ru
+BLT - ÜÔÏ ÒÁÓÛÉÒÅÎÉÅ ÎÁÂÏÒÁ Tk. îÁÉÂÏÌÅÅ ÃÅÎÎÏÊ ÏÓÏÂÅÎÎÏÓÔØÀ BLT
+Ñ×ÌÑÅÔÓÑ ÐÒÅÄÏÓÔÁ×ÌÅÎÉÅ ÂïÌØÛÅÇÏ ÎÁÂÏÒÁ ÐÒÉÍÉÔÉ×Ï× ÄÌÑ Tk, ÎÏ ÏÎ ÔÁËÖÅ
+ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÂÏÌØÛÅ ÍÅÎÅÄÖÅÒÏ× ÇÅÏÍÅÔÒÉÉ É ÐÒÏÞÉÈ ËÏÍÁÎÄ. óÌÅÄÕÅÔ
+ÏÔÍÅÔÉÔØ, ÞÔÏ ×ÁÍ ÎÅ ÎÁÄÏ ÉÚÍÅÎÑÔØ ÉÓÈÏÄÎÙÈ ÔÅËÓÔÏ× Tcl ÉÌÉ Tk ÄÌÑ
+ÔÏÇÏ, ÞÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ BLT, ÎÏ ×ÁÍ ÎÅÏÂÈÏÄÉÍÏ ÕÓÔÁÎÏ×ÉÔØ Tcl/Tk ÄÌÑ
+ÉÓÐÏÌØÚÏ×ÁÎÉÑ BLT.
+
+%description -l uk
+BLT - ÃÅ ÒÏÚÛÉÒÅÎÎÑ ÎÁÂÏÒÕ Tk. îÁʦÌØÛ Ã¦ÎÎÏÀ ÏÓÏÂÌÉצÓÔÀ BLT ¤
+ÎÁÄÁÎÎÑ Â¦ÌØÛÏÇÏ ÎÁÂÏÒÕ ÐÒÉͦÔÉ×¦× ÄÌÑ Tk, ÁÌŠצΠÔÁËÏÖ ÎÁÄÁ¤ ¦ÌØÛÅ
+ÍÅÎÄÖÅÒ¦× ÇÅÏÍÅÔÒ¦§ ÔÁ ¦ÎÛÉÈ ËÏÍÁÎÄ. óÌ¦Ä ÚÁÚÎÁÞÉÔÉ, ÝÏ ×ÁÍ ÎÅ ÔÒÅÂÁ
+ÚͦÎÀ×ÁÔÉ ×ÉȦÄÎÉÈ ÔÅËÓÔ¦× Tcl ÁÂÏ Tk ÄÌÑ ÔÏÇÏ, ÝÏ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ
+BLT, ÁÌÅ ×ÁÍ ÎÅÏÂȦÄÎÏ ×ÓÔÁÎÏ×ÉÔÉ Tcl/Tk ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ BLT.
%package devel
-Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
+Summary: BLT development package
+Summary(pl): Pakiet dla programistów BLT
Group: Development/Tools
-Group(de): Entwicklung/Werkzeuge
-Group(fr): Development/Outils
-Group(pl): Programowanie/Narzêdzia
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description devel
BLT header files.
+%description devel -l pl
+Pliki nag³ówkowe BLT.
+
%package static
-Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
+Summary: BLT static libraries
+Summary(pl): Biblioteki statyczne BLT
Group: Development/Tools
-Group(de): Entwicklung/Werkzeuge
-Group(fr): Development/Outils
-Group(pl): Programowanie/Narzêdzia
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{version}-%{release}
%description static
BLT static libraries.
+%description static -l pl
+Biblioteki statyczne BLT.
+
%package demos
-Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
+Summary: BLT demos and examples
+Summary(pl): Dema i przyk³ady do BLT
+Summary(pt_BR): Programas que demonstram as características do BLT
+Summary(es): BLT Demonstrations
Group: Development/Tools
-Group(de): Entwicklung/Werkzeuge
-Group(fr): Development/Outils
-Group(pl): Programowanie/Narzêdzia
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description demos
BLT demos and examples.
+%description demos -l es
+BLT Demonstrations.
+
+%description demos -l pl
+Programy demonstracyjne i przyk³adowe do BLT.
+
+%description demos -l pt_BR
+Programas que demonstram as características do BLT.
+
%prep
-%setup -q -n blt%{version}
+%setup -q -n %{name}%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
%build
-%configure
-%{__make}
+cp -f /usr/share/automake/config.* cf
+%{__autoconf}
+%configure \
+ --with-tcllibs=%{_libdir} \
+ --with-tklibs=%{_libdir}
+
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{etc,sbin}
+install -d $RPM_BUILD_ROOT{%{_prefix},%{_examplesdir}/%{name}-%{release}}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ libdir=%{_libdir}
ln -sf libBLT24.so $RPM_BUILD_ROOT%{_libdir}/libBLT.so
ln -sf libBLTlite24.so $RPM_BUILD_ROOT%{_libdir}/libBLTlite.so
mv -f $RPM_BUILD_ROOT%{_bindir}/bltwish24 $RPM_BUILD_ROOT%{_bindir}/bltwish
# bitmap.n is provided by tk-devel
-# but why remove tabset.n and watch.n?
-#rm -f $RPM_BUILD_ROOT%{_mandir}/mann/{bitmap,tabset,watch}.n
rm -f $RPM_BUILD_ROOT%{_mandir}/mann/bitmap.n
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-mv -f $RPM_BUILD_ROOT%{_libdir}/blt2.4/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-cp -rf examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-
-rm -f html/Makefile* $RPM_BUILD_ROOT%{_libdir}/blt2.4/{NEWS,README,PROBLEMS}
-gzip -9nf README NEWS PROBLEMS
+mv -f $RPM_BUILD_ROOT%{_ulibdir}/blt2.4/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{release}
+cp -rf examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{release}
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+rm -f html/Makefile* $RPM_BUILD_ROOT%{_ulibdir}/blt2.4/{NEWS,README,PROBLEMS}
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
-%doc *.gz html
+%doc README NEWS PROBLEMS
%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*24.so
-%{_libdir}/blt2.4
+%attr(755,root,root) %{_libdir}/libBLT*24.so
+%{_ulibdir}/blt2.4
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*[a-zA-Z].so
-%{_includedir}/blt.h
+%doc html
+%attr(755,root,root) %{_libdir}/libBLT*[A-Za-z].so
+%{_includedir}/blt*.h
%{_mandir}/mann/*
%files static
%files demos
%defattr(644,root,root,755)
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{release}