1 Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
6 Group: Development/Tools
7 Group(fr): Development/Outils
8 Group(pl): Programowanie/Narzêdzia
10 Source0: ftp://ftp.tcltk.com/aa004735/pub/blt/BLT%{version}.tar.gz
11 Patch0: blt-prefix.patch
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 BLT is an extension to the Tk toolkit. BLT's most useful feature is the
16 provision of more widgets for Tk, but it also provides more geometry
17 managers and miscellaneous other commands. Note that you won't need to do
18 any patching of the Tcl or Tk source files to use BLT, but you will need to
19 have Tcl/Tk installed in order to use BLT. If you are programming with the
20 Tk toolkit, you should install BLT. You will need to have Tcl/Tk installed.
23 BLT jest rozszerzeniem Tk. Najbardziej u¿yteczn± funkcj± BLT jest
24 dostarczenie Tk wiêkszej ilo¶ci widgetów; oferuje równie¿ wiêcej mened¿erów
25 geometrii i innych poleceñ. Aby u¿ywaæ BLT nie trzeba ³ataæ plików
26 ¼ród³owych Tcl ani Tk, trzeba jednak mieæ zainstalowanego Tcl/Tk. Je¶li
27 programuje siê w Tcl/tk, nale¿y zainstalowaæ BLT. Trzeba równie¿
35 %setup -q -n blt%{version}
39 LDFLAGS="-s"; export LDFLAGS
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/{etc,sbin}
48 exec_prefix=$RPM_BUILD_ROOT%{_prefix}
49 prefix=$RPM_BUILD_ROOT%{_prefix} \
50 scriptdir=$RPM_BUILD_ROOT%{_libdir}/blt2.4 \
51 bare_prefix=%{_prefix}
53 ln -sf libBLT.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libBLT.so
55 rm -f $RPM_BUILD_ROOT%{_mandir}/mann/{bitmap,tabset,watch}.n
57 strip $RPM_BUILD_ROOT%{_bindir}/* || :
59 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/mann/*
62 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/*
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/lib*.so
82 %attr(644,root,root) %{_libdir}/lib*.a