SPECS: itcl.spec - proper snap version - updated, builds with tcl 8.5
baggins
baggins at pld-linux.org
Thu Apr 3 18:33:55 CEST 2008
Author: baggins Date: Thu Apr 3 16:33:55 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- proper snap version
- updated, builds with tcl 8.5
---- Files affected:
SPECS:
itcl.spec (1.26 -> 1.27)
---- Diffs:
================================================================
Index: SPECS/itcl.spec
diff -u SPECS/itcl.spec:1.26 SPECS/itcl.spec:1.27
--- SPECS/itcl.spec:1.26 Thu Apr 3 18:19:42 2008
+++ SPECS/itcl.spec Thu Apr 3 18:33:50 2008
@@ -1,14 +1,14 @@
# $Revision$, $Date$
-%define iwidgets_version 4.0.1
+%define iwidgets_version 4.0.2
%define _snap 20080403
Summary: [incr Tcl] - object-oriented extension of the Tcl language
Summary(pl.UTF-8): [incr Tcl] - obiektowo zorientowane rozszerzenie języka Tcl
Name: itcl
-Version: 3.3
-Release: 2.%{_snap}.0.1
+Version: 3.4
+Release: 0.%{_snap}.1
License: distributable
Group: Development/Languages/Tcl
#Source0: http://dl.sourceforge.net/incrtcl/%{name}%{version}.tar.gz
@@ -17,9 +17,8 @@
#Source1: http://dl.sourceforge.net/incrtcl/iwidgets%{iwidgets_version}.tar.gz
Source1: iwidgets-CVS-%{_snap}.tar.bz2
# Source1-md5: 7741d7e0b231a4875b0998d6b5c00615
-Patch0: %{name}-iwidgets-config.patch
-Patch1: %{name}-soname.patch
-#Patch2: %{name}-libdir.patch
+Patch0: %{name}-soname.patch
+#Patch1: %{name}-libdir.patch
URL: http://incrtcl.sourceforge.net/itcl/
BuildRequires: autoconf >= 2.13
BuildRequires: automake
@@ -69,12 +68,14 @@
%prep
%setup -q -c -a1
-%patch0 -p1
-%patch1 -p1
-#%patch2 -p1
+%patch0 -p0
+#%patch1 -p1
+
+ln -s incrTcl/itcl itcl
+ln -s incrTcl/itk itk
%build
-cd itcl
+cd incrTcl
%{__autoconf}
%configure
@@ -89,27 +90,20 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-iwidgets-%{iwidgets_version}
-%{__make} -C itcl%{version} install \
+%{__make} -C incrTcl install \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C itk%{version} install \
+%{__make} -C iwidgets install \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C iwidgets%{iwidgets_version} install \
- INSTALL="install" \
- MKINSTALLDIRS="install -d" \
- INSTALL_ROOT=$RPM_BUILD_ROOT \
- MAN_INSTALL_DIR=$RPM_BUILD_ROOT%{_mandir}/mann
-
#%if "%{_ulibdir}" != "%{_libdir}"
#mv -f $RPM_BUILD_ROOT%{_libdir}/itcl%{version}/pkgIndex.tcl $RPM_BUILD_ROOT%{_ulibdir}/itcl%{version}
#mv -f $RPM_BUILD_ROOT%{_libdir}/itk%{version}/pkgIndex.tcl $RPM_BUILD_ROOT%{_ulibdir}/itk%{version}
#%endif
-install -d iwidgets
-cp -f iwidgets%{iwidgets_version}/{CHANGES,ChangeLog,README,license.terms} iwidgets
+install -d iwidgets-docs
+cp -f iwidgets/{CHANGES,ChangeLog,README,license.terms} iwidgets-docs
-rm $RPM_BUILD_ROOT%{_ulibdir}/iwidgets
ln -sf %{_ulibdir}/iwidgets%{iwidgets_version} $RPM_BUILD_ROOT%{_ulibdir}/iwidgets
mv $RPM_BUILD_ROOT%{_ulibdir}/iwidgets%{iwidgets_version}/demos/* \
@@ -132,7 +126,7 @@
%files
%defattr(644,root,root,755)
-%doc itcl%{version}/{CHANGES,ChangeLog,INCOMPATIBLE,README,TODO,license.terms} iwidgets
+%doc incrTcl/{CHANGES,ChangeLog,INCOMPATIBLE,README,TODO,license.terms} iwidgets-docs
%attr(755,root,root) %{_libdir}/lib*.so.*
%{_libdir}/iwidgets
%dir %{_libdir}/itcl*
@@ -158,6 +152,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27 2008-04-03 16:33:50 baggins
+- proper snap version
+- updated, builds with tcl 8.5
+
Revision 1.26 2008-04-03 16:19:42 baggins
- typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/itcl.spec?r1=1.26&r2=1.27&f=u
More information about the pld-cvs-commit
mailing list