]> git.pld-linux.org Git - packages/blt.git/blob - blt.spec
- blt scripts paths patch
[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
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.
22
23 %description -l pl
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.
30
31 %package devel
32 Summary:        A Tk toolkit extension, including widgets, geometry managers, etc.
33 Group:          Development/Tools
34 Requires:       %{name} = %{version}
35
36 %package static
37 Summary:        A Tk toolkit extension, including widgets, geometry managers, etc.
38 Group:          Development/Tools
39 Requires:       %{name}-devel = %{version}
40
41 %prep
42 %setup -q -n blt%{version}
43 %patch -p1
44
45 %build
46 %configure
47 %{__make} 
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT/{etc,sbin}
52
53 %{__make} install \
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}
58
59 ln -sf libBLT.so.2.4 $RPM_BUILD_ROOT%{_libdir}/libBLT.so
60
61 rm -f $RPM_BUILD_ROOT%{_mandir}/mann/{bitmap,tabset,watch}.n
62
63 gzip -9nf README
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README.gz html
74 %attr(755,root,root) %{_bindir}/*
75 %attr(755,root,root) %{_libdir}/lib*.so.*.*
76 %{_libdir}/blt2.4
77
78 %files devel
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/lib*.so
81 %{_includedir}/blt.h
82 %{_mandir}/mann/*
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/lib*.a
This page took 0.106504 seconds and 3 git commands to generate.