|
@@ -7,26 +7,27 @@
|
|
|
Summary: A Tcl/Tk development environment: tcl
|
|
|
Summary(ja): Tcl/Tk 開発環境: tcl
|
|
|
Name: tcl
|
|
|
-Version: 8.6.10
|
|
|
+Version: 8.6.13
|
|
|
%global majorver %(echo %{version} | sed -e 's/\.[0-9]*$//')
|
|
|
%global minorver %(echo %{version} | sed -e 's/^.*\.//')
|
|
|
%global htmlver %{version}
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Group: Development/Languages
|
|
|
+Group: programming
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
License: TCL
|
|
|
URL: http://tcl.sourceforge.net/
|
|
|
Source0: https://prdownloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
|
|
|
-Source1: https://prdownloads.sourceforge.net/tcl/%{name}%{htmlver}-html.tar.gz
|
|
|
-Patch0: tcl-8.6.10-autopath.patch
|
|
|
-Patch1: tcl-8.6.10-conf.patch
|
|
|
-Patch2: tcl-8.6.10-hidden.patch
|
|
|
-Patch3: tcl-8.6.10-tcltests-path-fix.patch
|
|
|
-
|
|
|
-Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-Buildrequires: autoconf
|
|
|
+#Source1: https://prdownloads.sourceforge.net/tcl/%{name}%{htmlver}-html.tar.gz
|
|
|
+Patch0: tcl-8.6.12-autopath.patch
|
|
|
+Patch1: tcl-8.6.12-conf.patch
|
|
|
+Patch2: tcl-8.6.13-hidden.patch
|
|
|
+Patch3: tcl-8.6.13-tcltests-path-fix.patch
|
|
|
+Patch4: tcl-8.6.13-configure-c99.patch
|
|
|
+
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+BuildRequires: autoconf
|
|
|
BuildRequires: zlib-devel
|
|
|
%if %sdt
|
|
|
BuildRequires: systemtap-sdt-devel
|
|
@@ -44,10 +45,11 @@ Tcl は様々なアプリケーションの実行を行うための、簡単な
|
|
|
デザインしています。このパッケージにはTclの簡単な例として、tclsh
|
|
|
も含んでいます。
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Tcl scripting language development environment
|
|
|
Summary(ja): Tcl スクリプト言語の開発環境
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
@@ -62,7 +64,7 @@ The package contains the development files and man pages for tcl.
|
|
|
%package itcl
|
|
|
Summary: Object oriented extensions to Tcl and Tk
|
|
|
Summary(ja): Tcl/Tk のオブジェクト指向拡張
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Provides: itcl = %{itcl_version}
|
|
|
Obsoletes: itcl < 4.0.0
|
|
@@ -75,7 +77,7 @@ missing from the Tcl language.
|
|
|
%package itcl-devel
|
|
|
Summary: Development headers and libraries for linking against tcl-itcl
|
|
|
Summary(ja): tcl-itclとリンクするためのヘッダ・ライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name}-itcl = %{version}-%{release}
|
|
|
Provides: itcl-devel = %{itcl_version}
|
|
|
Obsoletes: itcl-devel < 4.0.0
|
|
@@ -98,7 +100,7 @@ tdbc is Tcl extension that provides database features to tcl/tk.
|
|
|
%package tdbc-devel
|
|
|
Summary: Development headers and libraries for linking against tcl-tdbc
|
|
|
Summary(ja): tcl-tdbcとリンクするためのヘッダ・ライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name}-tdbc = %{version}-%{release}
|
|
|
Requires: sqlite3-tcl
|
|
|
Provides: tdbc-devel = %{tdbc_version}
|
|
@@ -110,7 +112,7 @@ Development headers and libraries for linking against tdbc.
|
|
|
%package thread
|
|
|
Summary: thread extensions to Tcl and Tk
|
|
|
Summary(ja): Tcl/Tk のスレッド拡張
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Provides: thread = %{thread_version}
|
|
|
Obsoletes: thread < 2.8.0
|
|
@@ -120,19 +122,22 @@ Obsoletes: thread < 2.8.0
|
|
|
capabilities.
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
-%setup -n %{name}%{version} -q -a 1
|
|
|
-mv tcl%{htmlver}/html .
|
|
|
+#setup -n %{name}%{version} -q -a 1
|
|
|
+%setup -n %{name}%{version} -q
|
|
|
+#mv tcl%{htmlver}/html .
|
|
|
|
|
|
-%patch0 -p1 -b .autopath
|
|
|
-%patch1 -p1 -b .conf
|
|
|
-%patch2 -p1 -b .hidden
|
|
|
-%patch3 -p1 -b .tcltests-path-fix
|
|
|
+%autopatch -p1
|
|
|
+rm -rf compat/zlib
|
|
|
|
|
|
pushd unix
|
|
|
sed -i -e 's/@SHLIB_LD@/@SHLIB_LD@ -fPIC -Wl,-soname,libtcl%{majorver}.so/' Makefile.in
|
|
|
popd
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
pushd unix
|
|
|
autoconf
|
|
@@ -175,7 +180,6 @@ sed -i -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" $RPM
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/%{name}%{majorver}/tclAppInit.c
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/%{name}%{majorver}/ldAix
|
|
|
|
|
|
-
|
|
|
# sqlite3 extension is provided by sqlite3-tcl
|
|
|
rm -rf %{buildroot}%{_libdir}/sqlite3*
|
|
|
rm -f %{buildroot}%{_mandir}/mann/sqlite3*
|
|
@@ -183,15 +187,12 @@ rm -f %{buildroot}%{_mandir}/mann/sqlite3*
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
%license license.terms
|
|
|
-%doc README changes
|
|
|
-%doc html/*
|
|
|
+%doc README.md changes
|
|
|
+#doc html/*
|
|
|
%{_bindir}/tclsh*
|
|
|
%{_libdir}/libtcl%{majorver}.so
|
|
|
%dir %{_libdir}/tcl%{majorver}
|
|
@@ -274,6 +275,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Oct 21 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.6.13-1
|
|
|
+- new upstream release.
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+- re-imported patches from rawhide.
|
|
|
+
|
|
|
* Wed Jul 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.6.10-1
|
|
|
- new upstream release.
|
|
|
- replaced all patches to the newest rawhide's.
|