%define major 3.2 Name: itcl Version: %major.1 Release: 1ark Summary: Tcl object oriented extensions URL: http://www.tcltk.com/itcl Source: %name%{version}_src.tar.bz2 License: GPL Group: Development/Languages Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-root %description [incr Tcl] is an object-oriented extension of the Tcl language. It was created to support more structured programming in Tcl. Tcl scripts that grow beyond a few thousand lines become extremely difficult to maintain. This is because the building blocks of vanilla Tcl are procedures and global variables, and all of these building blocks must reside in a single global namespace. There is no support for protection or encapsulation. %prep %setup -q -n %name%version %configure %build make %install rm -rf $RPM_BUILD_ROOT %makeinstall %files %defattr(-,root,root) %_includedir/* %_libdir/itcl%major %_libdir/itk%major %_libdir/libitcl*%{major}* %_libdir/libitk*%{major}* %_mandir/*/* %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version} %changelog * Fri Oct 24 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 3.2.1-1ark - initial RPM