rpms/tcllib/devel tcllib.spec,1.1,1.2

Michael Thomas (wart) fedora-extras-commits at redhat.com
Mon Oct 3 00:21:53 UTC 2005


Author: wart

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

Modified Files:
	tcllib.spec 
Log Message:
Remove generated filelist; other minor spec file improvements.




Index: tcllib.spec
===================================================================
RCS file: /cvs/extras/rpms/tcllib/devel/tcllib.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tcllib.spec	8 Jul 2005 18:38:13 -0000	1.1
+++ tcllib.spec	3 Oct 2005 00:21:51 -0000	1.2
@@ -1,68 +1,63 @@
 Summary: The standard Tcl library
 Name: tcllib
 Version: 1.7
-Release: 2%{?dist}
-Epoch: 0
+Release: 3%{?dist}
 License: BSD-like
 Group: Development/Libraries
 Source: http://download.sourceforge.net/tcllib/tcllib-1.7.tar.bz2
 URL: http://tcllib.sourceforge.net/
 BuildArchitectures: noarch
-Requires: tcl >= 0:8.3.1
-BuildRequires: tcl >= 0:8.3.1
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: tcl >= 8.3.1
+BuildRequires: tcl >= 8.3.1
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
 Tcllib, the Tcl Standard Library is a collection of Tcl packages
 that provide utility functions useful to a large collection of Tcl
 programmers.
-The home web site for this code is http://tcllib.sourceforge.net/.
-At this web site, you will find mailing lists, web forums, databases
-for bug reports and feature requests, the CVS repository (browsable
-on the web, or read-only accessible via CVS ), and more.
-Note: also grab source tarball for more documentation, examples, ...
 
 %prep
 %setup -q
 
 %install
-rm -rf $RPM_BUILD_ROOT files
-#echo 'not available' > modules/calendar/calendar.n # excluded in distribution
+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\
     -nroff-path $RPM_BUILD_ROOT%_mandir/mann
 # install HTML documentation into specific modules sub-directories:
 cd modules
-    mkdir ../ftp; mv ftp/docs/*.html ../ftp/
+    mkdir -p ../ftp; cp ftp/docs/*.html ../ftp/
     for module in exif mime snit stooop struct textutil; do
-        mkdir ../$module && mv $module/*.html ../$module/;
+        mkdir -p ../$module && cp $module/*.html ../$module/;
     done
 cd ..
-# generate list of files in the package (man pages are compressed):
-find $RPM_BUILD_ROOT ! -type d |\
-    sed -e "s,^$RPM_BUILD_ROOT,,;" -e 's,\.n$,\.n\.gz,;' > files
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f files
+%files
 %defattr(-,root,root)
 %doc PACKAGES README README-1.7.txt ChangeLog license.terms
 %doc exif/ ftp/ mime/ snit/ stooop/ struct/ textutil/
-
+%{_datadir}/tcl*/%{name}-%{version}
+%{_mandir}/mann/*
 
 %changelog
+* Sun Oct 2 2005 Wart <wart at kobold.org> 1.7-3
+- Remove generated filelist; other minor spec file improvements.
 
-* Mon Jul 4 2005 <wart at kobold.org> 0:1.7-2
+* Mon Jul 4 2005 Wart <wart at kobold.org> 1.7-2
 - Minor spec file changes in an attempt to conform to Fedora Extras
   packaging guidelines.
-* Thu Oct 14 2004 Jean-Luc Fontaine <jfontain at free.fr> 0:1.7-1
+
+* Thu Oct 14 2004 Jean-Luc Fontaine <jfontain at free.fr> 1.7-1
 - 1.7 version
 - new modules: asn, bee, grammar_fa, http, ident, jpeg, ldap,
   png, rc4, ripemd, tar, tie, treeql, uuid
 - modules removed: struct1
-* Thu Feb 19 2004 Jean-Luc Fontaine <jfontain at free.fr> 0:1.6-1
+
+* Thu Feb 19 2004 Jean-Luc Fontaine <jfontain at free.fr> 1.6-1
 - 1.6 version
 - leaner and cleaner spec file based on Fedora standards
 - install under tcl_library, not hard-coded /usr/lib




More information about the fedora-extras-commits mailing list