]> git.pld-linux.org Git - packages/blt.git/blobdiff - blt.spec
- s/tk/Tk/
[packages/blt.git] / blt.spec
index 97f056f54176d0bafb38eba101b6beb4f1389a44..cccba80e6d415e187175d3d84554f9eee0cc0f83 100644 (file)
--- a/blt.spec
+++ b/blt.spec
@@ -1,12 +1,12 @@
 Summary:       A Tk toolkit extension, including widgets, geometry managers, etc
-Summary(es):   Componentes (widgets) y comandos extras para aplicaciones tk
+Summary(es):   Componentes (widgets) y comandos extras para aplicaciones Tk
 Summary(pl):   Rozszerzenie Tk umo¿liwiaj±ce operowanie na kontrolkach i wiele innych
-Summary(pt_BR):        Componentes (widgets) e comandos extras para aplicações tk
-Summary(ru):   òÁÓÛÉÒÅÎÉÅ ÎÁÂÏÒÁ tk, ×ËÌÀÞÁÑ ÇÒÁÆÉÞÅÓËÉÅ ÐÒÉÍÉÔÉ×Ù, ÍÅÎÅÄÖÅÒÙ ÇÅÏÍÅÔÒÉÉ É Ô.Ä
-Summary(uk):   òÏÚÛÉÒÅÎÎÑ ÎÁÂÏÒÕ tk, ×ËÌÀÞÁÀÞÉ ÇÒÁƦÞΦ ÐÒÉͦÔÉ×É, ÍÅÎÅÄÖÅÒÉ ÇÅÏÍÅÔÒ¦§ ¦ Ô.¦
+Summary(pt_BR):        Componentes (widgets) e comandos extras para aplicações Tk
+Summary(ru):   òÁÓÛÉÒÅÎÉÅ ÎÁÂÏÒÁ Tk, ×ËÌÀÞÁÑ ÇÒÁÆÉÞÅÓËÉÅ ÐÒÉÍÉÔÉ×Ù, ÍÅÎÅÄÖÅÒÙ ÇÅÏÍÅÔÒÉÉ É Ô.Ä
+Summary(uk):   òÏÚÛÉÒÅÎÎÑ ÎÁÂÏÒÕ Tk, ×ËÌÀÞÁÀÞÉ ÇÒÁƦÞΦ ÐÒÉͦÔÉ×É, ÍÅÎÅÄÖÅÒÉ ÇÅÏÍÅÔÒ¦§ ¦ Ô.¦
 Name:          blt
 Version:       2.4u
-Release:       9
+Release:       11
 License:       MIT
 Group:         Development/Tools
 Source0:       ftp://ftp.scriptics.com/pub/tcl/blt/BLT%{version}.tar.gz
@@ -16,11 +16,13 @@ Patch1:             %{name}-paths.patch
 Patch2:                %{name}-excl.patch
 Patch3:                %{name}-acfix.patch
 Patch4:                %{name}-nolibnsl.patch
+Patch5:                %{name}-tcltk84.patch
+Patch6:                %{name}-norpath.patch
 URL:           http://www.tcltk.com/blt/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: tcl-devel >= 8.3.2
-BuildRequires: tk-devel >= 8.3.2
+BuildRequires: tcl-devel >= 8.4.3
+BuildRequires: tk-devel >= 8.4.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,7 +35,7 @@ If you are programming with the Tk toolkit, you should install BLT.
 You will need to have Tcl/Tk installed.
 
 %description -l es
-BLT ofrece componentes (widgets) y comandos extras para programas tk.
+BLT ofrece componentes (widgets) y comandos extras para programas Tk.
 Incluye componentes gráficos, administración de geometría de tablas y
 folders.
 
@@ -47,7 +49,7 @@ zainstalowa
 
 %description -l pt_BR
 O BLT fornece componentes (widgets) e comandos extras para programas
-tk. Ele inclui componentes gráficos, gerenciamento de geometria de
+Tk. Ele inclui componentes gráficos, gerenciamento de geometria de
 tabelas e folders.
 
 %description -l ru
@@ -110,12 +112,14 @@ Programy demonstracyjne i przyk
 Programas que demonstram as características do BLT.
 
 %prep
-%setup -q -n blt%{version}
+%setup -q -n %{name}%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 %build
 cp -f /usr/share/automake/config.* cf
@@ -126,9 +130,10 @@ cp -f /usr/share/automake/config.* cf
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}
+install -d $RPM_BUILD_ROOT{%{_prefix},%{_examplesdir}/%{name}}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 ln -sf libBLT24.so $RPM_BUILD_ROOT%{_libdir}/libBLT.so
 ln -sf libBLTlite24.so $RPM_BUILD_ROOT%{_libdir}/libBLTlite.so
@@ -140,7 +145,6 @@ mv -f $RPM_BUILD_ROOT%{_bindir}/bltwish24 $RPM_BUILD_ROOT%{_bindir}/bltwish
 # bitmap.n is provided by tk-devel
 rm -f $RPM_BUILD_ROOT%{_mandir}/mann/bitmap.n
 
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 mv -f $RPM_BUILD_ROOT%{_libdir}/blt2.4/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 cp -rf examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
 
This page took 0.028311 seconds and 4 git commands to generate.