os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/unix/tcl.spec
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/unix/tcl.spec	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,53 @@
     1.4 +# $Id: tcl.spec,v 1.16.2.15 2006/10/23 17:53:28 dgp Exp $
     1.5 +# This file is the basis for a binary Tcl RPM for Linux.
     1.6 +
     1.7 +%define version 8.4.15
     1.8 +%define directory /usr/local
     1.9 +
    1.10 +Summary: Tcl scripting language development environment
    1.11 +Name: tcl
    1.12 +Version: %{version}
    1.13 +Release: 1
    1.14 +Copyright: BSD
    1.15 +Group: Development/Languages
    1.16 +Source: http://prdownloads.sourceforge.net/tcl/tcl%{version}-src.tar.gz
    1.17 +URL: http://www.tcl.tk/
    1.18 +Packager: Carina
    1.19 +Buildroot: /var/tmp/%{name}%{version}
    1.20 +
    1.21 +%description
    1.22 +The Tcl (Tool Command Language) provides a powerful platform for
    1.23 +creating integration applications that tie together diverse
    1.24 +applications, protocols, devices, and frameworks.  When paired with
    1.25 +the Tk toolkit, Tcl provides the fastest and most powerful way to
    1.26 +create GUI applications that run on PCs, Unix, and the Macintosh.  Tcl
    1.27 +can also be used for a variety of web-related tasks and for creating
    1.28 +powerful command languages for applications.
    1.29 +
    1.30 +%prep
    1.31 +
    1.32 +%build
    1.33 +./configure --prefix %{directory} --exec-prefix %{directory}
    1.34 +make CFLAGS=$RPM_OPT_FLAGS
    1.35 +
    1.36 +%install
    1.37 +rm -rf $RPM_BUILD_ROOT
    1.38 +make INSTALL_ROOT=$RPM_BUILD_ROOT install
    1.39 +
    1.40 +%clean
    1.41 +rm -rf $RPM_BUILD_ROOT
    1.42 +
    1.43 +# to create the tcl files list, comment out tk in the install section above,
    1.44 +# then run "rpm -bi" then do a find from the build root directory,
    1.45 +# and remove the files in specific directories which suffice by themselves,
    1.46 +# then to create the files list for tk, uncomment tk, comment out tcl,
    1.47 +# then rm -rf $RPM_BUILD_ROOT then rpm --short-circuit -bi then redo a find,
    1.48 +# and remove the files in specific directories which suffice by themselves.
    1.49 +%files
    1.50 +%defattr(-,root,root)
    1.51 +%{directory}/lib
    1.52 +%{directory}/bin
    1.53 +%{directory}/include
    1.54 +%{directory}/man/man1
    1.55 +%{directory}/man/man3
    1.56 +%{directory}/man/mann