]> git.pld-linux.org Git - packages/tclx.git/commitdiff
- updated to 8.4.1 master auto/th/tclx-8.4.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 9 Mar 2016 20:43:41 +0000 (21:43 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 9 Mar 2016 20:43:41 +0000 (21:43 +0100)
tclx.spec

index af44346086f84b15ca0a83881a24989c64ac129f..58c4d2645488e4ea944ea2c329cf6376fa937056 100644 (file)
--- 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*
This page took 0.085698 seconds and 4 git commands to generate.