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