]> git.pld-linux.org Git - packages/blt.git/blob - blt.spec
- versioned examples dir, pass tcllibs,tklibs for lib64 support
[packages/blt.git] / blt.spec
1 Summary:        A Tk toolkit extension, including widgets, geometry managers, etc
2 Summary(es):    Componentes (widgets) y comandos extras para aplicaciones Tk
3 Summary(pl):    Rozszerzenie Tk umo¿liwiaj±ce operowanie na kontrolkach i wiele innych
4 Summary(pt_BR): Componentes (widgets) e comandos extras para aplicações Tk
5 Summary(ru):    òÁÓÛÉÒÅÎÉÅ ÎÁÂÏÒÁ Tk, ×ËÌÀÞÁÑ ÇÒÁÆÉÞÅÓËÉÅ ÐÒÉÍÉÔÉ×Ù, ÍÅÎÅÄÖÅÒÙ ÇÅÏÍÅÔÒÉÉ É Ô.Ä
6 Summary(uk):    òÏÚÛÉÒÅÎÎÑ ÎÁÂÏÒÕ Tk, ×ËÌÀÞÁÀÞÉ ÇÒÁƦÞΦ ÐÒÉͦÔÉ×É, ÍÅÎÅÄÖÅÒÉ ÇÅÏÍÅÔÒ¦§ ¦ Ô.¦
7 Name:           blt
8 Version:        2.4u
9 Release:        14
10 License:        MIT
11 Group:          Development/Tools
12 Source0:        ftp://ftp.scriptics.com/pub/tcl/blt/BLT%{version}.tar.gz
13 # Source0-md5:  bad9f33789a6aac390cebba819ee6b38
14 Patch0:         %{name}-DESTDIR.patch
15 Patch1:         %{name}-paths.patch
16 Patch2:         %{name}-excl.patch
17 Patch3:         %{name}-acfix.patch
18 Patch4:         %{name}-nolibnsl.patch
19 Patch5:         %{name}-tcltk84.patch
20 Patch6:         %{name}-norpath.patch
21 URL:            http://incrtcl.sourceforge.net/blt/
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  tcl-devel >= 8.4.6
25 BuildRequires:  tk-devel >= 8.4.6
26 Requires:       tcl >= 8.4.6
27 Requires:       tk >= 8.4.6
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 BLT is an extension to the Tk toolkit. BLT's most useful feature is
32 the provision of more widgets for Tk, but it also provides more
33 geometry managers and miscellaneous other commands. Note that you
34 won't need to do any patching of the Tcl or Tk source files to use
35 BLT, but you will need to have Tcl/Tk installed in order to use BLT.
36 If you are programming with the Tk toolkit, you should install BLT.
37 You will need to have Tcl/Tk installed.
38
39 %description -l es
40 BLT ofrece componentes (widgets) y comandos extras para programas Tk.
41 Incluye componentes gráficos, administración de geometría de tablas y
42 folders.
43
44 %description -l pl
45 BLT jest rozszerzeniem Tk. Najbardziej u¿yteczn± funkcj± BLT jest
46 rozszerzenie Tk o wiêksz± ilo¶æ kontrolek; oferuje równie¿ wiêcej
47 funkcji zarz±dzania geometri± i innych poleceñ. Aby u¿ywaæ BLT nie
48 trzeba ³ataæ plików ¼ród³owych Tcl ani Tk, trzeba jednak mieæ
49 zainstalowanego Tcl/Tk. Je¶li programuje siê w Tcl/Tk, lepiej
50 zainstalowaæ BLT. Trzeba równie¿ zainstalowaæ Tcl/Tk.
51
52 %description -l pt_BR
53 O BLT fornece componentes (widgets) e comandos extras para programas
54 Tk. Ele inclui componentes gráficos, gerenciamento de geometria de
55 tabelas e folders.
56
57 %description -l ru
58 BLT - ÜÔÏ ÒÁÓÛÉÒÅÎÉÅ ÎÁÂÏÒÁ Tk. îÁÉÂÏÌÅÅ ÃÅÎÎÏÊ ÏÓÏÂÅÎÎÏÓÔØÀ BLT
59 Ñ×ÌÑÅÔÓÑ ÐÒÅÄÏÓÔÁ×ÌÅÎÉÅ ÂïÌØÛÅÇÏ ÎÁÂÏÒÁ ÐÒÉÍÉÔÉ×Ï× ÄÌÑ Tk, ÎÏ ÏΠÔÁËÖÅ
60 ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÂÏÌØÛÅ ÍÅÎÅÄÖÅÒÏ× ÇÅÏÍÅÔÒÉÉ É ÐÒÏÞÉÈ ËÏÍÁÎÄ. óÌÅÄÕÅÔ
61 ÏÔÍÅÔÉÔØ, ÞÔÏ ×ÁÍ ÎÅ ÎÁÄÏ ÉÚÍÅÎÑÔØ ÉÓÈÏÄÎÙÈ ÔÅËÓÔÏ× Tcl ÉÌÉ Tk ÄÌÑ
62 ÔÏÇÏ, ÞÔÏÂÙ ÉÓÐÏÌØÚÏ×ÁÔØ BLT, ÎÏ ×ÁÍ ÎÅÏÂÈÏÄÉÍÏ ÕÓÔÁÎÏ×ÉÔØ Tcl/Tk ÄÌÑ
63 ÉÓÐÏÌØÚÏ×ÁÎÉÑ BLT.
64
65 %description -l uk
66 BLT - ÃÅ ÒÏÚÛÉÒÅÎÎÑ ÎÁÂÏÒÕ Tk. îÁʦÌØ۠æÎÎÏÀ ÏÓÏÂÌÉצÓÔÀ BLT ¤
67 ÎÁÄÁÎÎѠ¦ÌØÛÏÇÏ ÎÁÂÏÒÕ ÐÒÉͦÔÉצנÄÌÑ Tk, ÁÌŠצΠÔÁËÏÖ ÎÁÄÁ¤ Â¦ÌØÛÅ
68 ÍÅÎÄÖÅҦנÇÅÏÍÅÔÒ¦§ ÔÁ ¦ÎÛÉÈ ËÏÍÁÎÄ. ó̦ĠÚÁÚÎÁÞÉÔÉ, ÝÏ ×ÁÍ ÎÅ ÔÒÅÂÁ
69 ÚͦÎÀ×ÁÔÉ ×ÉȦÄÎÉÈ ÔÅËÓԦנTcl ÁÂÏ Tk ÄÌÑ ÔÏÇÏ, ÝÏ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ
70 BLT, ÁÌÅ ×ÁÍ ÎÅÏÂȦÄÎÏ ×ÓÔÁÎÏ×ÉÔÉ Tcl/Tk ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ BLT.
71
72 %package devel
73 Summary:        BLT development package
74 Summary(pl):    Pakiet dla programistów BLT
75 Group:          Development/Tools
76 Requires:       %{name} = %{version}-%{release}
77
78 %description devel
79 BLT header files.
80
81 %description devel -l pl
82 Pliki nag³ówkowe BLT.
83
84 %package static
85 Summary:        BLT static libraries
86 Summary(pl):    Biblioteki statyczne BLT
87 Group:          Development/Tools
88 Requires:       %{name}-devel = %{version}-%{release}
89
90 %description static
91 BLT static libraries.
92
93 %description static -l pl
94 Biblioteki statyczne BLT.
95
96 %package demos
97 Summary:        BLT demos and examples
98 Summary(pl):    Dema i przyk³ady do BLT
99 Summary(pt_BR): Programas que demonstram as características do BLT
100 Summary(es):    BLT Demonstrations
101 Group:          Development/Tools
102 Requires:       %{name} = %{version}-%{release}
103
104 %description demos
105 BLT demos and examples.
106
107 %description demos -l es
108 BLT Demonstrations.
109
110 %description demos -l pl
111 Programy demonstracyjne i przyk³adowe do BLT.
112
113 %description demos -l pt_BR
114 Programas que demonstram as características do BLT.
115
116 %prep
117 %setup -q -n %{name}%{version}
118 %patch0 -p1
119 %patch1 -p1
120 %patch2 -p1
121 %patch3 -p1
122 %patch4 -p1
123 %patch5 -p1
124 %patch6 -p1
125
126 %build
127 cp -f /usr/share/automake/config.* cf
128 %{__autoconf}
129 %configure \
130         --with-tcllibs=%{_libdir} \
131         --with-tklibs=%{_libdir}
132
133 %{__make}
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137 install -d $RPM_BUILD_ROOT{%{_prefix},%{_examplesdir}/%{name}-%{release}}
138
139 %{__make} install \
140         DESTDIR=$RPM_BUILD_ROOT
141
142 ln -sf libBLT24.so $RPM_BUILD_ROOT%{_libdir}/libBLT.so
143 ln -sf libBLTlite24.so $RPM_BUILD_ROOT%{_libdir}/libBLTlite.so
144
145 # use dynamically linked binaries
146 mv -f $RPM_BUILD_ROOT%{_bindir}/bltsh24 $RPM_BUILD_ROOT%{_bindir}/bltsh
147 mv -f $RPM_BUILD_ROOT%{_bindir}/bltwish24 $RPM_BUILD_ROOT%{_bindir}/bltwish
148
149 # bitmap.n is provided by tk-devel
150 rm -f $RPM_BUILD_ROOT%{_mandir}/mann/bitmap.n
151
152 mv -f $RPM_BUILD_ROOT%{_libdir}/blt2.4/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{release}
153 cp -rf examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{release}
154
155 rm -f html/Makefile* $RPM_BUILD_ROOT%{_libdir}/blt2.4/{NEWS,README,PROBLEMS}
156
157 %clean
158 rm -rf $RPM_BUILD_ROOT
159
160 %post   -p /sbin/ldconfig
161 %postun -p /sbin/ldconfig
162
163 %files
164 %defattr(644,root,root,755)
165 %doc README NEWS PROBLEMS
166 %attr(755,root,root) %{_bindir}/*
167 %attr(755,root,root) %{_libdir}/libBLT*24.so
168 %{_libdir}/blt2.4
169
170 %files devel
171 %defattr(644,root,root,755)
172 %doc html
173 %attr(755,root,root) %{_libdir}/libBLT*[A-Za-z].so
174 %{_includedir}/blt*.h
175 %{_mandir}/mann/*
176
177 %files static
178 %defattr(644,root,root,755)
179 %{_libdir}/lib*.a
180
181 %files demos
182 %defattr(644,root,root,755)
183 %{_examplesdir}/%{name}-%{release}
This page took 0.072856 seconds and 3 git commands to generate.