auto-import changelog data from tcl-8.4.5-6.src.rpm
Wed Mar 10 2004 Jens Petersen <petersen@redhat.com> - 8.4.5-6 - apply tcl-8.4.5-autoconf.patch to build with autoconf 2.5x (Robert Scheck, #116773) - use %{name} more extensively for script portability - run "make test" by default when building (can be disabled with "--without check") - add a backwards compatible symlink /usr/lib/tk8.4 -> /usr/share/tk8.4 (Michal Jaegermann, part of #90160) - use "mkdir -p" instead of "mkdirhier" (Robert Scheck, #116771) - include some doc files Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - 8.4.5-5.1 - rebuilt Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - 8.4.5-5 - rebuilt Mon Feb 02 2004 Jens Petersen <petersen@redhat.com> - 8.4.5-4 - include all private .h files under /usr/include/tcl-private
This commit is contained in:
parent
0f49a45f8b
commit
195a0299e1
81
tcl.spec
81
tcl.spec
|
@ -3,18 +3,19 @@
|
||||||
Summary: Tcl scripting language development environment
|
Summary: Tcl scripting language development environment
|
||||||
Name: tcl
|
Name: tcl
|
||||||
Version: %{majorver}.5
|
Version: %{majorver}.5
|
||||||
Release: 3
|
Release: 6
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
URL: http://tcl.sourceforge.net/
|
URL: http://tcl.sourceforge.net/
|
||||||
Source0: http://prdownloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
|
Source0: http://prdownloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
|
||||||
Source1: http://prdownloads.sourceforge.net/tcl/%{name}%{version}-html.tar.gz
|
Source1: http://prdownloads.sourceforge.net/tcl/%{name}%{version}-html.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
Buildrequires: autoconf213
|
Buildrequires: autoconf
|
||||||
Patch1: tcl-8.3.5-tclm4-soname.patch
|
Patch1: tcl-8.3.5-tclm4-soname.patch
|
||||||
Patch2: tcl-8.4.5-lib-perm.patch
|
Patch2: tcl-8.4.5-lib-perm.patch
|
||||||
Patch3: tcl8.3.5-tclConfig-package-path-90160.patch
|
Patch3: tcl8.3.5-tclConfig-package-path-90160.patch
|
||||||
Patch4: tcl-8.4.5-no_rpath.patch
|
Patch4: tcl-8.4.5-no_rpath.patch
|
||||||
|
Patch5: tcl-8.4.5-autoconf.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Tcl (Tool Command Language) provides a powerful platform for
|
The Tcl (Tool Command Language) provides a powerful platform for
|
||||||
|
@ -30,7 +31,7 @@ Version: %{version}
|
||||||
Summary: Tcl scripting language development environment
|
Summary: Tcl scripting language development environment
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
URL: http://tcl.sourceforge.net/
|
URL: http://tcl.sourceforge.net/
|
||||||
Requires: tcl = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The Tcl (Tool Command Language) provides a powerful platform for
|
The Tcl (Tool Command Language) provides a powerful platform for
|
||||||
|
@ -62,30 +63,49 @@ This package contains the html manual.
|
||||||
%patch2 -p1 -b .ro-lib
|
%patch2 -p1 -b .ro-lib
|
||||||
%patch3 -p1 -b .pkgpath
|
%patch3 -p1 -b .pkgpath
|
||||||
%patch4 -p1 -b .no_rpath
|
%patch4 -p1 -b .no_rpath
|
||||||
|
%patch5 -p1 -b .ac213
|
||||||
|
|
||||||
# patch1 touches tcl.m4, and patch3 touches configure.in
|
# patch1 touches tcl.m4, and patch3 touches configure.in
|
||||||
cd unix
|
cd unix
|
||||||
autoconf-2.13
|
autoconf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd unix
|
cd unix
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags} TCL_LIBRARY=%{_datadir}/tcl%{majorver}
|
make %{?_smp_mflags} TCL_LIBRARY=%{_datadir}/%{name}%{majorver}
|
||||||
|
|
||||||
|
# run "make test" by default
|
||||||
|
%{?_without_check: %define _without_check 1}
|
||||||
|
%{!?_without_check: %define _without_check 0}
|
||||||
|
|
||||||
|
%if ! %{_without_check}
|
||||||
|
make test
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install -C unix INSTALL_ROOT=%{buildroot} TCL_LIBRARY=%{_datadir}/tcl%{majorver}
|
make install -C unix INSTALL_ROOT=%{buildroot} TCL_LIBRARY=%{_datadir}/%{name}%{majorver}
|
||||||
|
|
||||||
ln -s tclsh%{majorver} %{buildroot}%{_bindir}/tclsh
|
ln -s tclsh%{majorver} %{buildroot}%{_bindir}/tclsh
|
||||||
|
|
||||||
# for linking with -ltcl
|
# for linking with -l%{name}
|
||||||
ln -s libtcl%{majorver}.so %{buildroot}%{_libdir}/libtcl.so
|
ln -s lib%{name}%{majorver}.so %{buildroot}%{_libdir}/lib%{name}.so
|
||||||
|
|
||||||
mkdirhier %buildroot/%{_includedir}/tcl-private/{generic,unix}
|
# backward compatible symlink for legacy tcl packages that hardcode lib path
|
||||||
cp -p generic/tcl{Int,IntDecls,IntPlatDecls,Math,Port}.h %buildroot/%{_includedir}/tcl-private/generic
|
# to prefix/lib/%{name}%{majorver}
|
||||||
cp -p unix/tclUnixPort.h %buildroot/%{_includedir}/tcl-private/unix
|
mkdir -p %{buildroot}%{_prefix}/lib
|
||||||
|
ln -s %{_datadir}/%{name}%{majorver} %{buildroot}%{_prefix}/lib/%{name}%{majorver}
|
||||||
|
|
||||||
|
mkdir -p %buildroot/%{_includedir}/%{name}-private/{generic,unix}
|
||||||
|
find generic unix -name "*.h" -exec cp -p '{}' %buildroot/%{_includedir}/%{name}-private/'{}' ';'
|
||||||
|
( cd %buildroot/%{_includedir}
|
||||||
|
for i in *.h ; do
|
||||||
|
[ -f %buildroot/%{_includedir}/%{name}-private/generic/$i ] && ln -sf ../../$i %buildroot/%{_includedir}/%{name}-private/generic ;
|
||||||
|
done
|
||||||
|
)
|
||||||
|
|
||||||
# remove buildroot traces
|
# remove buildroot traces
|
||||||
perl -pi -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/tcl-private|" %buildroot/%{_libdir}/tclConfig.sh
|
perl -pi -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" %buildroot/%{_libdir}/%{name}Config.sh
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -99,17 +119,19 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/tclsh*
|
%{_bindir}/tclsh*
|
||||||
%{_datadir}/tcl%{majorver}
|
%{_datadir}/%{name}%{majorver}
|
||||||
%{_libdir}/libtcl%{majorver}.so
|
%{_libdir}/lib%{name}%{majorver}.so
|
||||||
%{_libdir}/tclConfig.sh
|
%{_libdir}/%{name}Config.sh
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%doc
|
# this should be prefix/lib
|
||||||
|
%{_prefix}/lib/%{name}%{majorver}
|
||||||
|
%doc README changes license.terms
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libtclstub%{majorver}.a
|
%{_libdir}/lib%{name}stub%{majorver}.a
|
||||||
%{_libdir}/libtcl.so
|
%{_libdir}/lib%{name}.so
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%{_mandir}/mann/*
|
%{_mandir}/mann/*
|
||||||
|
|
||||||
|
@ -118,6 +140,26 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%doc html/*
|
%doc html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 10 2004 Jens Petersen <petersen@redhat.com> - 8.4.5-6
|
||||||
|
- apply tcl-8.4.5-autoconf.patch to build with autoconf 2.5x
|
||||||
|
(Robert Scheck, #116773)
|
||||||
|
- use %%{name} more extensively for script portability
|
||||||
|
- run "make test" by default when building (can be disabled with
|
||||||
|
"--without check")
|
||||||
|
- add a backwards compatible symlink %{_prefix}/lib/tk8.4 ->
|
||||||
|
%{_datadir}/tk8.4 (Michal Jaegermann, part of #90160)
|
||||||
|
- use "mkdir -p" instead of "mkdirhier" (Robert Scheck, #116771)
|
||||||
|
- include some doc files
|
||||||
|
|
||||||
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - 8.4.5-5.1
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - 8.4.5-5
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Mon Feb 2 2004 Jens Petersen <petersen@redhat.com> - 8.4.5-4
|
||||||
|
- include all private .h files under %{_includedir}/tcl-private
|
||||||
|
|
||||||
* Mon Dec 1 2003 Thomas Woerner <twoerner@redhat.com> 8.4.5-3
|
* Mon Dec 1 2003 Thomas Woerner <twoerner@redhat.com> 8.4.5-3
|
||||||
- removed rpath (patch 4)
|
- removed rpath (patch 4)
|
||||||
|
|
||||||
|
@ -125,6 +167,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
- put private header files under generic and unix subdirs
|
- put private header files under generic and unix subdirs
|
||||||
- include real generic/tclPort.h not just a symlink to tclUnixPort.h
|
- include real generic/tclPort.h not just a symlink to tclUnixPort.h
|
||||||
- add tclMath.h to %{_includedir}/tcl-private/generic for building tk
|
- add tclMath.h to %{_includedir}/tcl-private/generic for building tk
|
||||||
|
- remove build remnants from tclConfig.sh
|
||||||
|
|
||||||
* Thu Nov 27 2003 Jens Petersen <petersen@redhat.com> - 8.4.5-1
|
* Thu Nov 27 2003 Jens Petersen <petersen@redhat.com> - 8.4.5-1
|
||||||
- new package split out from tcltk
|
- new package split out from tcltk
|
||||||
|
@ -135,8 +178,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
- filtered changelog for tcl
|
- filtered changelog for tcl
|
||||||
- buildrequire autoconf213 (#110583) [mvd@mylinux.com.ua]
|
- buildrequire autoconf213 (#110583) [mvd@mylinux.com.ua]
|
||||||
|
|
||||||
* Wed Oct 15 2003 Jens Petersen <petersen@redhat.com> - 8.3.5-93
|
|
||||||
|
|
||||||
* Wed Sep 17 2003 Matt Wilson <msw@redhat.com> 8.3.5-92
|
* Wed Sep 17 2003 Matt Wilson <msw@redhat.com> 8.3.5-92
|
||||||
- rebuild again for #91211
|
- rebuild again for #91211
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue