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
16 the provision of more widgets for Tk, but it also provides more
17 geometry managers and miscellaneous other commands. Note that you
18 won't need to do any patching of the Tcl or Tk source files to use
19 BLT, but you will need to have Tcl/Tk installed in order to use BLT.
20 If you are programming with the Tk toolkit, you should install BLT.
21 You will need to have Tcl/Tk installed.
24 BLT jest rozszerzeniem Tk. Najbardziej u¿yteczn± funkcj± BLT jest
25 dostarczenie Tk wiêkszej ilo¶ci widgetów; oferuje równie¿ wiêcej
26 mened¿erów geometrii i innych poleceñ. Aby u¿ywaæ BLT nie trzeba ³ataæ
27 plików ¼ród³owych Tcl ani Tk, trzeba jednak mieæ zainstalowanego
28 Tcl/Tk. Je¶li programuje siê w Tcl/tk, nale¿y zainstalowaæ BLT. Trzeba
29 równie¿ zainstalowaæ Tcl/Tk.
32 Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
33 Group: Development/Tools
34 Requires: %{name} = %{version}
37 Summary: A Tk toolkit extension, including widgets, geometry managers, etc.
38 Group: Development/Tools
39 Requires: %{name}-devel = %{version}
42 %setup -q -n blt%{version}
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT/{etc,sbin}
54 exec_prefix=$RPM_BUILD_ROOT%{_prefix}
55 prefix=$RPM_BUILD_ROOT%{_prefix} \
56 scriptdir=$RPM_BUILD_ROOT%{_libdir}/blt2.4 \
57 bare_prefix=%{_prefix}
59 ln -sf libBLT.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libBLT.so
61 rm -f $RPM_BUILD_ROOT%{_mandir}/mann/{bitmap,tabset,watch}.n
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/*
75 %attr(755,root,root) %{_libdir}/lib*.so.*.*
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/lib*.so
85 %defattr(644,root,root,755)