rpms/tcldom/devel tcldom.spec,1.9,1.10
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Fri Jan 4 08:14:52 UTC 2008
- Previous message (by thread): rpms/claws-mail/EL-5 .cvsignore,1.10,1.11 sources,1.10,1.11
- Next message (by thread): rpms/openjpeg/devel openjpeg-1.3-reverse-bogus-aligned-malloc.patch, NONE, 1.1 openjpeg-1.3-tcd_init_encode-alloc-fix.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 openjpeg.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: wart
Update of /cvs/extras/rpms/tcldom/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29241
Modified Files:
tcldom.spec
Log Message:
Rebuild for Tcl 8.5
Index: tcldom.spec
===================================================================
RCS file: /cvs/extras/rpms/tcldom/devel/tcldom.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- tcldom.spec 14 Apr 2007 22:42:14 -0000 1.9
+++ tcldom.spec 4 Jan 2008 08:14:08 -0000 1.10
@@ -1,21 +1,22 @@
%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
%{!?tcl_sitelib: %define tcl_sitelib %{_datadir}/tcl%{tcl_version}}
+%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
Summary: TclDOM is a package that provides a DOM binding for the Tcl scripting language
Name: tcldom
Version: 3.1
-Release: 10%{?dist}
+Release: 11%{?dist}
License: BSD
Group: Development/Libraries
URL: http://tclxml.sourceforge.net/
-Source0: http://dl.sf.net/tclxml/tcldom-3.1.tar.gz
+Source0: http://downloads.sourceforge.net/tclxml/tcldom-3.1.tar.gz
Source1: pkgIndex.tcl.in.gui
Patch0: tcldom.patch
Patch1: tcldom-3.1-pkgprovides.patch
Patch2: tcldom-3.1-cversion.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcl-devel libxml2-devel tclxml-devel expat-devel
-Requires: tcl(abi) = 8.4 tclxml tcllib
+Requires: tcl(abi) = 8.5 tclxml tcllib
%description
This package provides a DOM binding for Tcl. It provides one of the following
@@ -87,12 +88,15 @@
sed -e 's/@VERSION@/%{version}/' < library/pkgIndex.tcl.in > $RPM_BUILD_ROOT/%{tcl_sitelib}/%{name}%{version}/pkgIndex.tcl
pushd src-libxml2
+mkdir -p $RPM_BUILD_ROOT%{tcl_sitearch}
make install DESTDIR=$RPM_BUILD_ROOT
+mv $RPM_BUILD_ROOT%{_libdir}/tcldom_libxml23.1 $RPM_BUILD_ROOT%{tcl_sitearch}/%{name}_libxml2-%{version}
popd
pushd src
make install DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_libdir}/tcldom3.1 $RPM_BUILD_ROOT%{_libdir}/%{name}_expat%{version}
+mkdir -p $RPM_BUILD_ROOT%{tcl_sitearch}
+mv $RPM_BUILD_ROOT%{_libdir}/tcldom3.1 $RPM_BUILD_ROOT%{tcl_sitearch}/%{name}_expat-%{version}
popd
# Install the examples in a -gui subpackage
@@ -115,15 +119,15 @@
%files expat
%defattr(-,root,root)
-%dir %{_libdir}/%{name}_expat%{version}
-%{_libdir}/%{name}_expat%{version}/*.tcl
-%{_libdir}/%{name}_expat%{version}/*.so
+%dir %{tcl_sitearch}/%{name}_expat-%{version}
+%{tcl_sitearch}/%{name}_expat-%{version}/*.tcl
+%{tcl_sitearch}/%{name}_expat-%{version}/*.so
%files libxml2
%defattr(-,root,root)
-%dir %{_libdir}/%{name}_libxml2%{version}
-%{_libdir}/%{name}_libxml2%{version}/*.tcl
-%{_libdir}/%{name}_libxml2%{version}/*.so
+%dir %{tcl_sitearch}/%{name}_libxml2-%{version}
+%{tcl_sitearch}/%{name}_libxml2-%{version}/*.tcl
+%{tcl_sitearch}/%{name}_libxml2-%{version}/*.so
%files gui
%defattr(-,root,root)
@@ -134,9 +138,13 @@
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/%{name}libxml2Config.sh
-%{_libdir}/%{name}_libxml2%{version}/*.a
+%{tcl_sitearch}/%{name}_libxml2-%{version}/*.a
%changelog
+* Thu Jan 3 2008 Wart <wart at kobold.org> - 3.1-11
+- Rebuild for Tcl 8.5
+- Better download URL
+
* Fri Apr 13 2007 Wart <wart at kobold.org> - 3.1-10
- Fix BuildRequires: for directory ownership in -devel subpackage
- Previous message (by thread): rpms/claws-mail/EL-5 .cvsignore,1.10,1.11 sources,1.10,1.11
- Next message (by thread): rpms/openjpeg/devel openjpeg-1.3-reverse-bogus-aligned-malloc.patch, NONE, 1.1 openjpeg-1.3-tcd_init_encode-alloc-fix.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 openjpeg.spec, 1.2, 1.3 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list