]> git.pld-linux.org Git - packages/blt.git/blobdiff - blt.spec
- s/tk/Tk/
[packages/blt.git] / blt.spec
index 5a9858280714f626676477b9a9855dd35ba2ff1f..cccba80e6d415e187175d3d84554f9eee0cc0f83 100644 (file)
--- a/blt.spec
+++ b/blt.spec
@@ -1,23 +1,28 @@
 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:       8
+Release:       11
 License:       MIT
 Group:         Development/Tools
 Source0:       ftp://ftp.scriptics.com/pub/tcl/blt/BLT%{version}.tar.gz
+# Source0-md5: bad9f33789a6aac390cebba819ee6b38
 Patch0:                %{name}-DESTDIR.patch
 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: autoconf
+BuildRequires: automake
+BuildRequires: tcl-devel >= 8.4.3
+BuildRequires: tk-devel >= 8.4.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,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.
 
@@ -44,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
@@ -107,21 +112,28 @@ 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
-#aclocal
-#%%{__autoconf}
-%configure2_13
+cp -f /usr/share/automake/config.* cf
+%{__autoconf}
+%configure
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+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
@@ -133,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}
 
@@ -147,15 +158,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README NEWS PROBLEMS
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*24.so
 %{_libdir}/blt2.4
 
 %files devel
 %defattr(644,root,root,755)
-%doc README NEWS PROBLEMS html
+%doc html
 %attr(755,root,root) %{_libdir}/lib*[a-zA-Z].so
-%{_includedir}/blt.h
+%{_includedir}/blt*.h
 %{_mandir}/mann/*
 
 %files static
This page took 0.034722 seconds and 4 git commands to generate.