rpms/tcl-tcldict/F-7 tcl-tcldict.spec, NONE, 1.1 tcldict-8.5.1-configure.patch, NONE, 1.1 sources, 1.1, 1.2
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Mon Jul 2 21:43:21 UTC 2007
Author: wart
Update of /cvs/extras/rpms/tcl-tcldict/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3064
Modified Files:
sources
Added Files:
tcl-tcldict.spec tcldict-8.5.1-configure.patch
Log Message:
Initial import of package for F-7
--- NEW FILE tcl-tcldict.spec ---
Name: tcl-tcldict
Version: 8.5.2
Release: 1%{?dist}
Summary: Tcl dictionary extension
Group: Development/Libraries
License: BSD
URL: http://pascal.scheffers.net/software/
Source0: http://pascal.scheffers.net/software/tclDict-%{version}.tar.gz
Patch0: tcldict-8.5.1-configure.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This command is part of the core Tcl language in version 8.5 and later,
# so this should not be built in these newest versions of Tcl.
BuildRequires: tcl-devel < 1:8.5
Requires: tcl(abi) = 8.4
Provides: tcldict = %{version}-%{release}
%description
The dict command from Tcl 8.5, backported to Tcl 8.4.
%package devel
Summary: Development files for compiling against the Tcl dict extension
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Development files for compiling against the Tcl dict extension
%prep
%setup -q -n tclDict-%{version}
%patch0
chmod a-x ChangeLog license.terms generic/*.c generic/*.h
%build
%configure --enable-threads
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Remove some unnecessary execute permissions
chmod a-x $RPM_BUILD_ROOT%{_libdir}/dict%{version}/*.a
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc license.terms ChangeLog
%{_mandir}/mann/*.gz
%dir %{_libdir}/dict%{version}
%{_libdir}/dict%{version}/*.so
%{_libdir}/dict%{version}/*.tcl
%files devel
%defattr(-,root,root,-)
%{_includedir}/*.h
%{_libdir}/dict%{version}/*.a
%changelog
* Wed Jun 9 2007 Wart <wart at kobold.org> - 8.5.2-1
- Update to 8.5.2
- Rename to 'tcl-tcldict' to match other scripting language conventions
- Add epoch to the BuildRequires
- Remove execute permission from the static lib
* Wed Nov 29 2006 Wart <wart at kobold.org> - 8.5.1-1
- Initial package for Fedora
tcldict-8.5.1-configure.patch:
--- NEW FILE tcldict-8.5.1-configure.patch ---
--- configure.orig 2006-11-29 07:54:50.000000000 -0800
+++ configure 2006-11-29 07:56:34.000000000 -0800
@@ -1465,10 +1465,12 @@
# check in a few common install locations
if test x"${ac_cv_c_tclconfig}" = x ; then
- for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
+ for i in `ls -d ${libdir} 2>/dev/null` \
+ `ls -d ${exec_prefix}/lib 2>/dev/null` \
`ls -d ${prefix}/lib 2>/dev/null` \
`ls -d /usr/local/lib 2>/dev/null` \
`ls -d /usr/contrib/lib 2>/dev/null` \
+ `ls -d /usr/lib64 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \
; do
if test -f "$i/tclConfig.sh" ; then
@@ -7033,7 +7035,7 @@
# results, and the version is kept in special file).
if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- system=MP-RAS-`awk '{print }' /etc/.relid'`
+ system=MP-RAS-`awk '{print }' /etc/.relid`
fi
if test "`uname -s`" = "AIX" ; then
system=AIX-`uname -v`.`uname -r`
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tcl-tcldict/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Jun 2007 19:53:41 -0000 1.1
+++ sources 2 Jul 2007 21:42:46 -0000 1.2
@@ -0,0 +1 @@
+62e848535bd0d6cd2e6de05965779322 tclDict-8.5.2.tar.gz
More information about the fedora-extras-commits
mailing list