]> git.pld-linux.org Git - packages/blt.git/blob - blt.spec
- changed all BuildRoot definitons
[packages/blt.git] / blt.spec
1 Summary:        A Tk toolkit extension, including widgets, geometry managers, etc.
2 Name:           blt
3 Version:        2.4q
4 Release:        1
5 License:        MIT
6 Group:          Development/Tools
7 Group(fr):      Development/Outils
8 Group(pl):      Programowanie/Narzêdzia
9 Obsoletes:      blt-devel
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)
13
14 %description
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.
21
22 %description -l pl
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¿
28 zainstalowaæ Tcl/Tk.
29
30 %package devel
31
32 %package static
33
34 %prep
35 %setup -q -n blt%{version}
36 %patch -p1
37
38 %build
39 LDFLAGS="-s"; export LDFLAGS
40 %configure
41 make 
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/{etc,sbin}
46
47 make install \
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}
52
53 ln -sf libBLT.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libBLT.so
54
55 rm -f $RPM_BUILD_ROOT%{_mandir}/mann/{bitmap,tabset,watch}.n
56
57 strip $RPM_BUILD_ROOT%{_bindir}/* || :
58
59 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/mann/*
60         README
61
62 %post   -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc README.gz html
71 %attr(755,root,root) %{_bindir}/*
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*
73 %{_libdir}/blt2.4
74
75 %files devel
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/lib*.so
78 %{_includedir}/blt.h
79 %{_mandir}/mann/*
80
81 %files static
82 %attr(644,root,root) %{_libdir}/lib*.a
This page took 0.073597 seconds and 4 git commands to generate.