rpms/xcircuit/FC-5 xcircuit.spec,1.7,1.8

Mamoru Tasaka (mtasaka) fedora-extras-commits at redhat.com
Sun Aug 27 04:37:07 UTC 2006


Author: mtasaka

Update of /cvs/extras/rpms/xcircuit/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28152

Modified Files:
	xcircuit.spec 
Log Message:
Fix tk and tcl dir


Index: xcircuit.spec
===================================================================
RCS file: /cvs/extras/rpms/xcircuit/FC-5/xcircuit.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- xcircuit.spec	26 Aug 2006 19:37:48 -0000	1.7
+++ xcircuit.spec	27 Aug 2006 04:37:07 -0000	1.8
@@ -1,6 +1,6 @@
 Name:             xcircuit
 Version:          3.4.26
-Release:          14%{?dist}
+Release:          15%{?dist}
 Summary:          Electronic circuit schematic drawing program
 
 License:          GPL
@@ -21,7 +21,6 @@
 Requires(post):   %{_bindir}/update-desktop-database
 Requires(postun): %{_bindir}/gtk-update-icon-cache
 Requires(postun): %{_bindir}/update-desktop-database
-ExcludeArch:      ia64
 
 %description
 Xcircuit is a general-purpose drawing program and also a specific-purpose
@@ -36,7 +35,14 @@
 %{__aclocal}
 %{__automake} --add-missing
 %{__autoconf}
-%configure --with-tcl=%{_prefix}/lib*
+
+if [ -d %{_prefix}/lib64 ] ; then
+   TKDIR=%{_prefix}/lib64
+else
+   TKDIR=%{_prefix}/lib
+fi
+
+%configure --with-tcl=$TKDIR --with-tk=$TKDIR
 %{__make} %{?_smp_mflags}
 
 %install
@@ -85,8 +91,8 @@
 %{_mandir}/man1/%{name}.1.gz
 
 %Changelog
-* Sat Aug 26 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 3.4.26-13
-- Excluding builds for x86_64 (temporarily)
+* Sun Aug 26 2006 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 3.4.26-15
+- Fix tk and tcl libdir.
 
 * Sat Aug 26 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> - 3.4.26-13
 - Minor fixes to build properly under x86_64




More information about the fedora-extras-commits mailing list