INFO: itcl3.0.spec

Wojciech "Sas" Cieciwa cieciwa w alpha.zarz.agh.edu.pl
Sob, 10 Paź 1998, 18:05:39 CEST


Witam,

Postawiłem itcl 3.0 ale na stronie głównej wyczytałem, że wymaga tcl/tk
8.0.3.
Pozwoliłem sobie zabrać spec-e od Tomka [tcl i tk] wyciąć patche,
i dostosować je do wersji 8.0.3.
Tłumaczenie w spec-u do itcl jest nawet nie ruszone:((
Jeśli uznacie, że powinno to się pojawic w PLD-contrib, czy jak to tam
nazwiemy, to dajcie znać. Postaram się zrobić jakieś polskie opisy do
itcl-a.


Pozdrawiam.
						Sas.

P.S.
Czekam na uwagi od odważnych, którzy zainstaluja ten soft :)
U mnie jest zainstalowany, ale ja go ulotnie używam .....

=============================================================================
  UNIX System Administrator, POLAND
      _/_/_/_/ _/_/_/_/  _/_/_/_/     Wojciech 'Sas' Cieciwa
     _/       _/    _/  _/                   
    _/_/_/_/ _/_/_/_/  _/_/_/_/     cieciwa w alpha.zarz.agh.edu.pl
         _/ _/    _/        _/     sas w uci.agh.edu.pl                 
  _/_/_/_/ _/    _/  _/_/_/_/                 
		http://alpha.zarz.agh.edu.pl/~cieciwa

-------------- następna część ---------
Summary: The Object-Oriented extension of the Tcl language.
#Summary(pl):
Name:itcl
Version:3.0
Release:1
Copyright:BSD
Group: Development/Languages/Tcl
Source: ftp://ftp.itcltk.com/pub/itcl/%name%version.tar.gz
Requires: tcl=8.0.3 ; tk=8.0.3
Buildroot: /tmp/%{name}-%{version}-root

%description

#%description -l pl

%package devel
Summary: Object-Oriented extension of the Tcl language development documentation.
#Summary(pl): 
Group: Development/Languages/Tcl

%description devel
#%description -l pl devel

%prep
%setup -q -n %{name}%{version}
chmod u+w configure
autoconf

%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-shared --enable-gcc
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
install -d $RPM_BUILD_ROOT/usr

make INSTALL_ROOT=$RPM_BUILD_ROOT install 
ln -sf libitcl3.0.so $RPM_BUILD_ROOT/usr/lib/libitcl.so
ln -sf libitk3.0.so $RPM_BUILD_ROOT/usr/lib/libitk.so
ln -sf itclsh3.0 $RPM_BUILD_ROOT/usr/bin/itclsh
ln -sf itkwish3.0 $RPM_BUILD_ROOT/usr/bin/itkwish

install itcl/generic/itclInt.h $RPM_BUILD_ROOT/usr/include

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%name-%version

%files
%defattr(644, root, root, 755)
%doc CHANGES INCOMPATIBLE README TODO
%attr(755, root, root)/usr/bin/*
%attr(755, root, root)/usr/lib/lib*.so
%attr(644, root, root)/usr/man/man1/*


%files devel
%defattr(644, root, root, 755)
%attr(644, root, root)/usr/include/*
%attr(644, root, root)/usr/lib/itcl3.0/*
%attr(644, root, root)/usr/lib/itk3.0/*
%attr(644, root, root)/usr/lib/*.sh
/usr/lib/iwidgets
/usr/lib/iwidgets3.0.0
/usr/lib/iwidgets2.2.0


%changelog
* Sat Oct 10 1998 Wojciech "Sas" Cięciwa <cieciwa w alpha.zarz.agh.edu.pl>
- fixing some problem with compilation.

* Fri Oct  9 1998 Wojciech "Sas" Cięciwa <cieciwa w alpha.zarz.agh.edu.pl>
- building RPM.
-------------- następna część ---------
Summary:     Tool Command Language embeddable scripting language, with shared libraries
Summary(fr): Tool Command Language, langage de script avec bibliothčques partagées
Summary(tr): TCL ile kullanýlabilen betik dili
Name:        tcl
Version:     8.0.3
Release:     3
Source0:     ftp://ftp.scriptics.com/pub/tcl/tcl8_0/%{name}%{version}.tar.gz
Copyright:   BSD
URL:         http://www.scriptics.com/
Group:       Development/Languages/Tcl
Buildroot:   /tmp/%{name}-%{version}-root

%description
TCL is a simple scripting language that is designed to be embedded in
other applications. This package includes tclsh, a simple example of a
tcl application. TCL is very popular for writing small graphical applications
because of the TK widget set which is closely tied to it.

%description -l de
TCL ist eine einfache Skriptsprache, die zur Ingegration in andere 
Applikationen vorgesehen ist. Dieses Paket umfaßt tclsh, ein einfaches
Beispiel einer tcl-Applikation. TCL wird gern zum Schreiben kleiner 
grafischer Anwendungen benutzt, weil das TK-Widget-Set eng damit 
verknüpft ist. 

%description -l fr
TCL est un langage simple de script, conçu pour ętre intégré dans d'autres
applications. Ce paquetage contient tclsh, un exemple simple d'application
tcl. TCL est trčs utilisé pour écrire de petites applications graphiques
grâce ŕ l'ensemble de widgets TK qui lui est trčs lié.

%description -l tr
TCL, baţka uygulamalarýn içine gömülmesi hedeflenerek geliţtirilmiţ basit
bir betimleme dilidir. Bu paket basit bir tcl uygulamasý örneđi olan tclsh
kabuđunu içerir. TCL, kendisi ile sýkýca ilintili olan TK arayüz elemaný
kümesinin de desteđiyle küçük grafik uygulamalar yazma konusunda son derece
yaygýn kullanýlmaktadýr.

%package devel
Summary:     Tool Command Language header files and development documentation
Group:       Development/Languages/Tcl
Requires:    %{name} = %{version}

%description devel
Tool Command Language embeddable scripting language header files and
develppment documentation.

%prep
%setup -q -n %name%version
cd unix
autoconf

%build
cd unix
./configure --prefix=/usr --enable-shared --enable-gcc
make CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT"

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr

cd unix
make INSTALL_ROOT=$RPM_BUILD_ROOT install
ln -sf libtcl8.0.so $RPM_BUILD_ROOT/usr/lib/libtcl.so
ln -sf tclsh8.0 $RPM_BUILD_ROOT/usr/bin/tclsh

install ../generic/{tclMath,tclInt}.h $RPM_BUILD_ROOT/usr/include

strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so}

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(755, root, root) /usr/bin/*
%attr(644, root, root) /usr/man/man1/*
%attr(755, root, root) /usr/lib/lib*.so
/usr/lib/tcl8.0

%files devel
%defattr(644, root, root, 755)
/usr/include/*
/usr/lib/tclConfig.sh
%attr(644, root, root) /usr/man/man3/*
%attr(644, root, root) /usr/man/mann/*

%changelog
* Sat Oct 10 1998 Wojciech "Sas" Cięciwa <cieciwa w alpha.zarz.agh.edu.pl>
- updating from 8.0pl2-3 to 8.0.3.

* Thu Sep  8 1998 Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl>
  [8.0pl2-3]
- added "Requires: %{name} = %%{version}" for devel,
- added tclInt.h to devel (required on compile expect).

* Mon Aug 24 1998 Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl>
  [8.0pl2-2]
- added tclMath.h to devel (required on compile tk).

* Sat Aug 22 1998 Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl>
  [8.0pl2-1]
- tcl is now in separated source package from orher tcl/tk stuff,
- changed Buildroot to /tmp/%%{name}-%%{version}-root,
- added using %%{name} and %%{version} in Source,
- fixed using $RPM_OPT_FLAGS during compile (curren tcl configure script don't
  accept passing CFLAGS in enviroment variable),
- added striping shared libraries and tclsh binary,
- added devel subpackage,
- added URL,
- added package icon,
- updated Source Url to based on ftp://ftp.scriptics.com/,
- added %attr and %defattr macros in %files (allow build package from
  non-root account).

* Thu May 07 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr

* Sat May 02 1998 Cristian Gafton <gafton w redhat.com>
- fixed expect binaries exec permissions

* Thu Apr 09 1998 Erik Troan <ewt w redhat.com>
- updated to Tix 4.1.0.006
- updated version numbers of tcl/tk to relflect includsion of p2

* Wed Mar 25 1998 Cristian Gafton <gafton w redhat.com>
- updated tcl/tk to patch level 2
- updated tclX to 8.0.2

* Thu Oct 30 1997 Otto Hammersmith <otto w redhat.com>
- fixed filelist for tix... replacing path to the expect binary in scripts
  was leaving junk files around.

* Wed Oct 22 1997 Otto Hammersmith <otto w redhat.com>
- added patch to remove libieee test in configure.in for tcl and tk.
  Shoudln't be needed anymore for glibc systems, but this isn't the "proper" 
  solution for all systems
- fixed src urls

* Mon Oct 06 1997 Erik Troan <ewt w redhat.com>
- removed version numbers from descriptions

* Mon Sep 22 1997 Erik Troan <ewt w redhat.com>
- updated to tcl/tk 8.0 and related versions of packages

* Tue Jun 17 1997 Erik Troan <ewt w redhat.com>
- built against glibc
- fixed dangling tclx/tkx symlinks
-------------- następna część ---------
Summary:     Tk GUI toolkit for Tcl, with shared libraries
Summary(de): Tk GUI-Toolkit für Tcl mit gemeinsam genutzten Libraries
Summary(fr): Boite ŕ outil d'interfaçage graphique Tk pour Tcl avec librairies partagées.
Summary(tr): Tk, TCL için grafik kullanýcý arabirimi araç takýmýdýr
Group:       Development/Languages/Tcl
Name:        tk
Version:     8.0.3
Release:     1
Source0:     ftp://ftp.scriptics.com/pub/tcl/tcl8_0/%{name}%{version}.tar.gz
Group:       Development/Languages/Tcl
Copyright:   BSD
Buildroot:   /tmp/%{name}-%{version}-root

%description
Tk is a X Windows widget set designed to work closely with the tcl scripting
language. It allows you to write simple programs with full featured GUI's in
only a little more time then it takes to write a text based interface.
Tcl/Tk applications can also be run on Windows and Macintosh platforms.

%description -l de
Tk ist ein Widget-Satz für X-Windows für den Einsatz mit der Script Sprache
tcl. Sie können einfache Programme mit voll funktionsfähigen GUIs in fast
genauso schnell schreiben, wie eine zeichenorientierte Oberfläche.
Tcl/Tk-Anwendungen können auch auf Windows und Macintosh-Plattformen
ausgeführt werden.

%description -l fr
Tk est un ensemble de widgets X Window crée pour fonctionner avec le langage
de script Tcl. Il permet d'écrire des programmes simples avec des
fonctionnalités entiérement interfacées en ŕ peine plus de temps qu'avec
interface texte. Les applications Tcl/Tk peuvent aussi fonctionner sur des
plateformes Windows ou Macintosh.

%description -l tr
Tk, tcl betimleme dili ile birlikte kullanýlmak üzere tasarlanmýţ bir X
Windows arayüz elemaný kümesidir. Tcl/Tk uygulamalarý MS-Windows ve
Macintosh ortamlarýnda da çalýţtýrýlabilir.

%package devel
Summary:     Tk GUI toolkit for Tcl header files and development documentation
Group:       Development/Languages/Tcl

%description devel
Tk GUI toolkit for Tcl header files and develppment documentation.

%prep
%setup -q -n %{name}%{version}
cd unix
autoconf

%build

# make the libraries reentrant
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_REENTRANT"

cd unix
TCL_BIN_DIR=/usr/lib \
./configure	--prefix=/usr \
		--enable-shared \
		--enable-gcc
make CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT"

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr

cd unix
make INSTALL_ROOT=$RPM_BUILD_ROOT install
ln -sf libtk8.0.so $RPM_BUILD_ROOT/usr/lib/libtk.so
ln -sf wish8.0 $RPM_BUILD_ROOT/usr/bin/wish

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(755, root, root) /usr/bin/*
%attr(644, root, root) /usr/man/man1/*
%attr(755, root, root) /usr/lib/lib*.so

%files devel
%defattr(644, root, root, 755)
/usr/include/*
/usr/lib/tkConfig.sh
%attr(644, root, root) /usr/man/man3/*
%attr(644, root, root) /usr/man/mann/*

%changelog
* Sat Oct 10 1998 Wojciech "Sas" Cięciwa <cieciwa w alpha.zarz.agh.edu.pl>
- updating from 8.0pl2-1 to 8.0.3.

* Mon Aug 24 1998 Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl>
  [8.0p2-1]
- tk is now separated source package from orher tcl/tk stuff,
- changed Buildroot to /tmp/%%{name}-%%{version}-root,
- added using %%{name} and %%{version} in Source,
- fixed using $RPM_OPT_FLAGS during compile (curren tcl configure script don't
  accept passing CFLAGS in enviroment variable),
- added striping shared libraries and wish binary,
- added devel subpackage,
- added URL,
- added package icon,
- updated Source Url to based on ftp://ftp.scriptics.com/,
- added %attr and %defattr macros in %files (allow build package from
  non-root account).

* Thu May 07 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr

* Sat May 02 1998 Cristian Gafton <gafton w redhat.com>
- fixed expect binaries exec permissions

* Thu Apr 09 1998 Erik Troan <ewt w redhat.com>
- updated to Tix 4.1.0.006
- updated version numbers of tcl/tk to relflect includsion of p2

* Wed Mar 25 1998 Cristian Gafton <gafton w redhat.com>
- updated tcl/tk to patch level 2
- updated tclX to 8.0.2

* Thu Oct 30 1997 Otto Hammersmith <otto w redhat.com>
- fixed filelist for tix... replacing path to the expect binary in scripts
  was leaving junk files around.

* Wed Oct 22 1997 Otto Hammersmith <otto w redhat.com>
- added patch to remove libieee test in configure.in for tcl and tk.
  Shoudln't be needed anymore for glibc systems, but this isn't the "proper" 
  solution for all systems
- fixed src urls

* Mon Oct 06 1997 Erik Troan <ewt w redhat.com>
- removed version numbers from descriptions

* Mon Sep 22 1997 Erik Troan <ewt w redhat.com>
- updated to tcl/tk 8.0 and related versions of packages

* Tue Jun 17 1997 Erik Troan <ewt w redhat.com>
- built against glibc
- fixed dangling tclx/tkx symlinks


Więcej informacji o liście dyskusyjnej pld-devel-pl