Ignore:
Timestamp:
Mar 22, 2019, 6:35:26 PM (7 years ago)
Author:
Silvan Scherrer
Message:

spec: tcl: Release version 8.5.9-4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/tcl.spec

    r802 r1618  
    33%define majorver %{major}.%{minor}
    44%define vers %{majorver}.9
    5 %{!?sdt:%define sdt 0}
     5%{!?sdt:%global sdt 0}
    66
    77Summary: Tool Command Language, pronounced tickle
    88Name: tcl
    99Version: %{vers}
    10 Release: 3%{?dist}
     10Release: 4%{?dist}
    1111Epoch: 1
    1212License: TCL
    1313Group: Development/Languages
    1414URL: http://tcl.sourceforge.net/
    15 Source0: http://downloads.sourceforge.net/sourceforge/tcl/tcl%{version}-src.tar.gz
     15Vendor: bww bitwise works GmbH
    1616
    17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
     17%scm_source svn http://svn.netlabs.org/repos/ports/tcl/trunk 2344
    1818
    19 #Buildrequires: autoconf
     19Buildrequires: autoconf
    2020Provides: tcl(abi) = %{majorver}
    2121Obsoletes: tcl-tcldict <= %{vers}
    2222Provides: tcl-tcldict = %{vers}
    23 
    24 Patch0: tcl-os2.diff
    2523
    2624%if %sdt
     
    5755Group: Development/Languages
    5856Requires: %{name} = %{epoch}:%{version}-%{release}
     57Requires: %{name}-devel = %{epoch}:%{version}-%{release}
    5958
    6059%description static
     
    6968The package contains the static library in aout format.
    7069
     70%debug_package
     71
     72
    7173%prep
    72 %setup -q -n %{name}%{version}
    73 #chmod -x generic/tclThreadAlloc.c
     74%scm_setup
     75cd unix
     76autoreconf -fvi
    7477
    75 %patch0 -p1 -b .os2~
    7678
    7779%build
    7880cd unix
    79 #autoconf
    80 export CONFIG_SITE="/@unixroot/usr/share/config.legacy"
    8181export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    82 export LIBS="-lurpo"
     82export LIBS="-lcx"
     83export VENDOR="%{vendor}"
    8384%configure \
    8485%if %sdt
    8586    --enable-dtrace \
    8687%endif
    87     --disable-shared --enable-static \
     88    --disable-shared \
    8889    --enable-load --enable-dll-unloading
    8990
     
    138139%defattr(-,root,root,-)
    139140%{_bindir}/tclsh*
     141%exclude %{_bindir}/*.dbg
    140142%{_datadir}/%{name}%{majorver}
    141143%{_datadir}/%{name}8
     
    153155%{_libdir}/lib%{name}stub%{majorver}.a
    154156%{_libdir}/lib%{name}%{majorver}.a
    155 %{_libdir}/%{name}%{major}%{minor}.dll
    156157%{_libdir}/%{name}Config.sh
    157158%{_libdir}/%{name}8.5/%{name}Config.sh
     
    159160%files static
    160161%defattr(-,root,root,-)
    161 %{_includedir}/*
    162162%{_libdir}/lib%{name}%{majorver}_s.a
    163163
    164164%changelog
     165* Fri Mar 22 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 8.5.9-4
     166- reworked fd handling in the mkstemp() case, to make it work
     167- create a nice bldlevel
     168- rebuild with latest scm_macros
     169- remove the dll from the devel rpm
     170- add debug package
     171
    165172* Tue Jun 14 2016 yd <yd@os2power.com> 8.5.9-3
    166173- rebuild package, fixes ticket#183.
Note: See TracChangeset for help on using the changeset viewer.