[packages/tclx] - updated to 8.4.1

qboosh qboosh at pld-linux.org
Wed Mar 9 21:39:53 CET 2016


commit 9c0e03b298b60fda9c21a171b9723e297bc1801c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 9 21:43:41 2016 +0100

    - updated to 8.4.1

 tclx.spec | 73 +++++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 43 insertions(+), 30 deletions(-)
---
diff --git a/tclx.spec b/tclx.spec
index af44346..58c4d26 100644
--- a/tclx.spec
+++ b/tclx.spec
@@ -1,52 +1,58 @@
-# TODO: mv *.tcl ulibdir ?
 Summary:	Extended Tcl (TclX)
 Summary(pl.UTF-8):	Rozszerzony Tcl (TclX)
 Name:		tclx
 %define	major	8.4
-Version:	%{major}
-Release:	0.1
-License:	BSD
+Version:	%{major}.1
+Release:	1
+License:	BSD-like
 Group:		Development/Languages/Tcl
-Source0:	http://dl.sourceforge.net/tclx/%{name}%{version}.tar.bz2
-# Source0-md5:	395c2fbe35e1723570b005161b9fc8f8
+Source0:	http://downloads.sourceforge.net/tclx/%{name}%{version}.tar.bz2
+# Source0-md5:	ac983708f23cf645c07058148f48440c
 URL:		http://tclx.sourceforge.net/
-BuildRequires:	autoconf
-BuildRequires:	tcl-devel >= %{major}.0
-BuildRequires:	tk-devel
+BuildRequires:	tcl-devel >= %{major}
+Requires:	tcl >= %{major}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define	_ulibdir /usr/lib
-
-%if "%{_libdir}" != "%{_ulibdir}"
-%define have_ulibdir 1
-%endif
-
 %description
-TclX extension to Tcl.
+Extended Tcl (TclX), is an extension to Tcl, the Tool Command Language
+invented by Dr. John Ousterhout. Tcl is a powerful, yet simple
+embeddable programming language. Extended Tcl is oriented towards
+system programming tasks and large application development. TclX
+provides additional interfaces to the operating system, and adds many
+new programming constructs, text manipulation tools, and debugging
+tools.
 
 %description -l pl.UTF-8
-TclX - rozszerzenie do Tcl.
+TclX (Extended Tcl - rozszerzony Tcl) to rozszerzenie dla języka Tcl
+(Tool Command Language - języka poleceń narzędziowych), wymyślonego
+przez Dr. Johna Ousterhouta. Tcl to potężny, ale prosty osadzalny
+język programowania. Extended Tcl jest zorientowany na programowanie
+systemowe i tworzenie dużych aplikacji. TclX udostępnia wiele
+dodatkowych interfejsów do systemu operacyjnego i dodaje wiele nowych
+konstrukcji programistycznych, narzędzi do obróbki tekstu oraz
+narzędzi diagnostycznych.
 
 %package devel
-Summary:	Tool Command Language header files
-Summary(pl.UTF-8):	Pliki nagłówkowe dla Tcl (Tool Command Language)
+Summary:	TclX header files
+Summary(pl.UTF-8):	Pliki nagłówkowe TclX
 Group:		Development/Languages/Tcl
 Requires:	%{name} = %{version}-%{release}
+Requires:	tcl-devel >= %{major}
 
 %description devel
-Tool Command Language embeddable scripting language header files.
+TclX header files.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe dla Tcl (Tool Command Language).
+Pliki nagłówkowe TclX.
 
 %prep
-%setup -q -n %{name}%{version}
+%setup -q -n %{name}%{major}
 
 %build
 %configure \
-	--enable-threads \
+	--enable-64bit \
 	--enable-shared \
-	--enable-64bit
+	--enable-threads
 %{__make}
 
 %install
@@ -55,19 +61,26 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# not covered by make install
+install -d $RPM_BUILD_ROOT%{_mandir}/man3
+cp -p doc/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
+%doc ChangeLog README license.terms
 %dir %{_libdir}/tclx%{major}
+%attr(755,root,root) %{_libdir}/tclx%{major}/libtclx%{major}.so
 %{_libdir}/tclx%{major}/*.tcl
-%attr(755,root,root) %{_libdir}/tclx%{major}/*.so
-%{_mandir}/mann/*
+%{_mandir}/mann/TclX.n*
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/*
+%{_includedir}/tclExtend.h
+%{_mandir}/man3/CmdWrite.3*
+%{_mandir}/man3/Handles.3*
+%{_mandir}/man3/Keylist.3*
+%{_mandir}/man3/ObjCmdWrite.3*
+%{_mandir}/man3/TclXInit.3*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tclx.git/commitdiff/9c0e03b298b60fda9c21a171b9723e297bc1801c



More information about the pld-cvs-commit mailing list