SPECS: tclx.spec - up to 8.4; needs more work
arekm
arekm at pld-linux.org
Sun Feb 25 18:44:49 CET 2007
Author: arekm Date: Sun Feb 25 17:44:49 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 8.4; needs more work
---- Files affected:
SPECS:
tclx.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/tclx.spec
diff -u SPECS/tclx.spec:1.6 SPECS/tclx.spec:1.7
--- SPECS/tclx.spec:1.6 Mon Feb 12 23:09:17 2007
+++ SPECS/tclx.spec Sun Feb 25 18:44:44 2007
@@ -1,15 +1,15 @@
# $Revision$, $Date$
+# TODO: mv *.tcl ulibdir ?
Summary: Extended Tcl (TclX)
Summary(pl.UTF-8): Rozszerzony Tcl (TclX)
Name: tclx
-%define major 8.3
-Version: %{major}.5
-Release: 1
+%define major 8.4
+Version: %{major}
+Release: 0.1
License: BSD
Group: Development/Languages/Tcl
-Source0: http://dl.sourceforge.net/tclx/%{name}%{version}-src.tar.gz
-# Source0-md5: 2cdd06d29f6dfbf31bf4ce192cf46918
-Patch0: %{name}-skiptest.patch
+Source0: http://dl.sourceforge.net/tclx/%{name}%{version}.tar.bz2
+# Source0-md5: 395c2fbe35e1723570b005161b9fc8f8
URL: http://tclx.sourceforge.net/
BuildRequires: autoconf
BuildRequires: tcl-devel >= %{major}.0
@@ -42,45 +42,19 @@
%prep
%setup -q -n %{name}%{version}
-%patch0 -p1
%build
-cd unix
-sed -i -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT/" \
- Makefile.in
-%configure2_13 \
- --with-tclconfig=%{_ulibdir} \
- --with-tkconfig=%{_ulibdir} \
- --with-tclinclude=%{_includedir} \
- --with-tkinclude=%{_includedir} \
- --enable-shared \
+%configure \
--enable-threads \
- --enable-64bit \
- --enable-gcc
-%{__make} \
- TCL_PACKAGE_PATH="%{_libdir} %{_libdir}/tcl%{major} %{_ulibdir} %{_ulibdir}/tcl%{major}"
-
-sed -i -e "s#%{_builddir}/%{name}%{version}/unix#%{_libdir}#g" t*Config.sh
+ --enable-shared \
+ --enable-64bit
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_prefix},%{_mandir}/man1}
-%{__make} -C unix install \
- INSTALL_ROOT=$RPM_BUILD_ROOT \
- TCL_PACKAGE_PATH="%{_libdir} %{_libdir}/tcl%{major} %{_ulibdir} %{_ulibdir}/tcl%{major}" \
- MAN_INSTALL_DIR=$RPM_BUILD_ROOT%{_mandir}
-
-# for linking with -ltclx and -ltkx
-ln -sf libtclx%{major}.so $RPM_BUILD_ROOT%{_libdir}/libtclx.so
-ln -sf libtkx%{major}.so $RPM_BUILD_ROOT%{_libdir}/libtkx.so
-ln -sf libtclx%{major}.a $RPM_BUILD_ROOT%{_libdir}/libtclx.a
-ln -sf libtkx%{major}.a $RPM_BUILD_ROOT%{_libdir}/libtkx.a
-
-# rename memory.n since tcl-devel also provides it
-mv $RPM_BUILD_ROOT%{_mandir}/mann/{m,M}emory.n
-
-%{?have_ulibdir:mv $RPM_BUILD_ROOT%{_libdir}/t*Config.sh $RPM_BUILD_ROOT%{_ulibdir}}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -90,21 +64,14 @@
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_libdir}/tcl%{major}
-%{?have_ulibdir:%{_ulibdir}/tcl%{major}}
-%{_mandir}/man1/*
-%lang(pl) %{_mandir}/pl/man1/*
+%dir %{_libdir}/tclx%{major}
+%{_libdir}/tclx%{major}/*.tcl
+%attr(755,root,root) %{_libdir}/tclx%{major}/*.so
+%{_mandir}/mann/*
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_ulibdir}/tclConfig.sh
-%{_libdir}/libtclstub%{major}.a
-%attr(755,root,root) %{_libdir}/lib*.so
%{_includedir}/*
-%{_mandir}/man[3n]/*
-%lang(pl) %{_mandir}/pl/mann/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -112,6 +79,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2007/02/25 17:44:44 arekm
+- up to 8.4; needs more work
+
Revision 1.6 2007/02/12 22:09:17 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/tclx.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list