[Tizen-submit] 5787: Changes to Tizen/tcl

noreply at tizen.org noreply at tizen.org
Mon May 20 11:21:07 GMT 2013

Prajwal Mohan have made the following changes to tcl in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]


Request: #5787

  submit:       Tizen:build/tcl(cleanup) -> Tizen

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.024219
Git project: platform/upstream/tcl
Tag: submit/tizen/20130517.024219
Commit: c3bd2ad add packaging

State:   accepted   2013-05-16T20:34:56 pkarurmo
Comment: Ok

History: new        2013-05-16T19:40:57 tizenrobot

spec files:

++++++ new spec file:
--- tcl.spec
+++ tcl.spec
@@ -0,0 +1,120 @@
+Name:           tcl
+Version:        8.5.11
+Release:        0
+VCS:            platform/upstream/tcl#submit/tizen/20130517.024219-0-gc3bd2ad
+License:        SUSE-TCL
+Summary:        The Tcl Programming Language
+Url:            http://www.tcl.tk
+Group:          Development/Languages/Tcl
+Source0:        %{name}%{version}-src.tar.gz
+Source1:        tcl-rpmlintrc
+Source2:        baselibs.conf
+Source3:        macros.tcl
+# Patches auto-generated by git-buildpackage:
+Patch0:     0001-path-fix.patch
+Patch1:     0002-unload.patch
+BuildRequires:  autoconf
+Requires(pre):  /usr/bin/rm
+Provides:       tclsh
+Provides:       tclsh%{TCL_MINOR}
+%define TCL_MINOR %(echo %{version} | cut -c1-3)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Tcl (Tool Command Language) is a very powerful but easy to learn
+dynamic programming language, suitable for a very wide range of uses,
+including web and desktop applications, networking, administration,
+testing and many more. Open source and business-friendly, Tcl is a
+mature yet evolving language that is truly cross platform, easily
+deployed and highly extensible.
+For more information on Tcl see http://www.tcl.tk and
+http://wiki.tcl.tk .
+%package devel
+Summary:        Header Files and C API Documentation for Tcl
+Group:          Development/Libraries/Tcl
+Requires:       tcl = %{version}
+%description devel
+This package contains header files and documentation needed for writing
+Tcl extensions in compiled languages like C, C++, etc., or for
+embedding the Tcl interpreter in programs written in such languages.
+This package is not needed for writing extensions or applications in
+the Tcl language itself.
+%setup -q -n %{name}%{version}
+# 0001-path-fix.patch
+%patch0 -p1
+# 0002-unload.patch
+%patch1 -p1
+cd unix
+%configure \
+	--enable-man-symlinks \
+	--enable-man-compression=gzip
+%define scriptdir %{_libdir}/tcl
+MAKE='make %{?_smp_mflags}
+	TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR"
+	TCL_PACKAGE_PATH="%{_libdir}/tcl %{_datadir}/tcl"
+	CFLAGS="%{optflags} $PFLAGS"
+	SHLIB_LD="gcc -shared %{optflags} $PFLAGS"'
+# Build with instrumentation for profiling

Please refer to OBS webUI for more details about this SR.

More information about the Tizen-submit mailing list