📄 tcl.spec
字号:
# $Id: tcl.spec,v 1.16 2003/02/15 02:16:33 hobbs Exp $# This file is the basis for a binary Tcl RPM for Linux.%define version 8.4.2%define directory /usr/localSummary: Tcl scripting language development environmentName: tclVersion: %{version}Release: 1Copyright: BSDGroup: Development/LanguagesSource: http://prdownloads.sourceforge.net/tcl/tcl%{version}-src.tar.gzURL: http://www.tcl.tk/Packager: CarinaBuildroot: /var/tmp/%{name}%{version}%descriptionThe Tcl (Tool Command Language) provides a powerful platform forcreating integration applications that tie together diverseapplications, protocols, devices, and frameworks. When paired withthe Tk toolkit, Tcl provides the fastest and most powerful way tocreate GUI applications that run on PCs, Unix, and the Macintosh. Tclcan also be used for a variety of web-related tasks and for creatingpowerful command languages for applications.%prep%build./configure --prefix %{directory} --exec-prefix %{directory}make CFLAGS=$RPM_OPT_FLAGS%installrm -rf $RPM_BUILD_ROOTmake INSTALL_ROOT=$RPM_BUILD_ROOT install%cleanrm -rf $RPM_BUILD_ROOT# to create the tcl files list, comment out tk in the install section above,# then run "rpm -bi" then do a find from the build root directory,# and remove the files in specific directories which suffice by themselves,# then to create the files list for tk, uncomment tk, comment out tcl,# then rm -rf $RPM_BUILD_ROOT then rpm --short-circuit -bi then redo a find,# and remove the files in specific directories which suffice by themselves.%files%defattr(-,root,root)%{directory}/lib%{directory}/bin%{directory}/include%{directory}/man/man1%{directory}/man/man3%{directory}/man/mann
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -