rpms/tklib/devel tklib.spec,1.3,1.4

Michael Thomas (wart) fedora-extras-commits at redhat.com
Mon Aug 27 19:11:09 UTC 2007


Author: wart

Update of /cvs/extras/rpms/tklib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30259

Modified Files:
	tklib.spec 
Log Message:
- License tag clarification
- Move to a tcl-specific directory for faster loading




Index: tklib.spec
===================================================================
RCS file: /cvs/extras/rpms/tklib/devel/tklib.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tklib.spec	28 Aug 2006 16:16:36 -0000	1.3
+++ tklib.spec	27 Aug 2007 19:10:36 -0000	1.4
@@ -1,10 +1,13 @@
+%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
+%{!?tcl_sitelib: %define tcl_sitelib %{_datadir}/tcl%{tcl_version}}
+
 Summary: Collection of widgets and other packages for Tk
 Name: tklib
 Version: 0.4.1
-Release: 5%{?dist}
-License: BSD
+Release: 6%{?dist}
+License: TCL
 Group: Development/Libraries
-Source: http://download.sourceforge.net/tcllib/tklib-0.4.1.tar.gz
+Source: http://downloads.sourceforge.net/tcllib/tklib-0.4.1.tar.gz
 Patch0: tklib-0.4.1-makecheck.patch
 URL: http://tcllib.sourceforge.net/
 BuildArch: noarch
@@ -25,11 +28,14 @@
 chmod a-x modules/plotchart/*.tcl
 chmod a-x modules/swaplist/*.tcl
 
+iconv --from=ISO-8859-1 --to=UTF-8 modules/ctext/ctext.man > modules/ctext/ctext.man.new
+mv -f modules/ctext/ctext.man.new modules/ctext/ctext.man
+
 %build
 # Override the setting for 'libdir'.  If this isn't done then the
-# platform-independent script files will get installed in a platform-specific
+# platform-independent script files will get installed in an arch-specific
 # directory (such as /usr/lib or /usr/lib64).
-%configure --libdir=%{_datadir}
+%configure --libdir=%{tcl_sitelib}
 # Don't bother running 'make' because there's nothing to build.
 
 %install
@@ -45,10 +51,14 @@
 %files
 %defattr(-,root,root)
 %doc PACKAGES README README-0.4.txt ChangeLog license.terms
-%{_datadir}/tklib*
+%{tcl_sitelib}/tklib*
 %{_mandir}/*/*
 
 %changelog
+* Sun Aug 26 2007 Wart <wart at kobold.org> 0.4.1-6
+- License tag clarification
+- Move to a tcl-specific directory for faster loading
+
 * Mon Aug 28 2006 Wart <wart at kobold.org> 0.4.1-5
 - Rebuild for FC-6
 




More information about the fedora-extras-commits mailing list