rpms/tcllib/FC-6 tcllib.spec,1.8,1.9

Michael Thomas (wart) fedora-extras-commits at redhat.com
Sat May 12 05:26:39 UTC 2007


Author: wart

Update of /cvs/extras/rpms/tcllib/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25942

Modified Files:
	tcllib.spec 
Log Message:
Include command line applications




Index: tcllib.spec
===================================================================
RCS file: /cvs/extras/rpms/tcllib/FC-6/tcllib.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- tcllib.spec	19 Oct 2006 18:30:52 -0000	1.8
+++ tcllib.spec	12 May 2007 05:26:04 -0000	1.9
@@ -1,7 +1,10 @@
+%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
+%{!?tcl_sitelib: %define tcl_sitelib %{_datadir}/tcl%{tcl_version}}
+
 Summary: The standard Tcl library
 Name: tcllib
 Version: 1.9
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD-like
 Group: Development/Libraries
 Source: http://download.sourceforge.net/tcllib/tcllib-1.9.tar.gz
@@ -20,11 +23,15 @@
 %setup -q
 chmod -x modules/doctools/mpformats/fr.msg
 
+%build
+# Nothing to build!
+
 %install
 rm -rf $RPM_BUILD_ROOT
 echo 'not available' > modules/imap4/imap4.n
-%{_bindir}/tclsh installer.tcl -no-gui -no-wait -no-html -no-examples -no-apps\
-    -pkg-path $RPM_BUILD_ROOT/$(echo 'puts $tcl_library' | %_bindir/tclsh)/%name-%version\
+%{_bindir}/tclsh installer.tcl -no-gui -no-wait -no-html -no-examples \
+    -pkg-path $RPM_BUILD_ROOT/%{tcl_sitelib}/%name-%version \
+    -app-path $RPM_BUILD_ROOT%{_bindir} \
     -nroff-path $RPM_BUILD_ROOT%_mandir/mann
 # install HTML documentation into specific modules sub-directories:
 pushd modules
@@ -50,10 +57,16 @@
 %doc support/releases/PACKAGES README support/releases/history/README-1.9.txt
 %doc ChangeLog license.terms
 %doc exif/ ftp/ mime/ stooop/ struct/ textutil/
-%{_datadir}/tcl*/%{name}-%{version}
+%{tcl_sitelib}/%{name}-%{version}
 %{_mandir}/mann/*
+%{_bindir}/dtplite
+%{_bindir}/page
+%{_bindir}/tcldocstrip
 
 %changelog
+* Fri May 11 2007 Wart <wart at kobold.org> - 1.9-2
+- Include command line applications
+
 * Thu Oct 19 2006 Wart <wart at kobold.org> 1.9-1
 - Update to 1.9
 




More information about the fedora-extras-commits mailing list