Index: unix/xotcl.spec.in =================================================================== diff -u -N --- unix/xotcl.spec.in (revision 0e8b567e2a1808c514f6340430920ad4d59953bc) +++ unix/xotcl.spec.in (revision 0) @@ -1,56 +0,0 @@ -Summary: Object Oriented Extension for Tcl -Name: xotcl -Version: @PACKAGE_VERSION@ -Release: 0 -License: bsd style open source -Group: Development/Languages -Source: http://www.xotcl.org/xotcl-@PACKAGE_VERSION@.tar.gz -URL: http://www.xotcl.org -Packager: Gustaf.Neumann@wu-wien.ac.at -Distribution: Fedorea Core 7 -Requires: tcl -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-root -BuildRequires: autoconf - -%description -XOTcl is an object-oriented scripting language based on MIT's OTcl. -This packages provides a pre-packaged tcl-shell (xotclsh) and tk-shell -(xowish) together with the Tcl-extension (libxotcl.so) which can be -loaded to any Tcl-application. Furthermore it includes several -xotcl-based packages for e.g. HTTP client and server, XML, RDF, -persistent object store, mobile code system, etc. For more details -consult http://www.xotcl.org - -%prep -%setup -q -n xotcl-@PACKAGE_VERSION@ - - -%build -autoconf -# ./configure --with-tcl=/usr/lib --with-all --prefix=@prefix@ --exec-prefix=@prefix@ -./configure --with-tcl=/usr/lib --with-all --prefix=/usr --exec-prefix=/usr -# make CFLAGS_DEFAULT='-O3 -mcpu=i686 -Wall -fomit-frame-pointer' -make CFLAGS_DEFAULT='-O3 -Wall -fomit-frame-pointer' - -%install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install -rm -f $RPM_BUILD_ROOT/usr/lib/libxotcl@PACKAGE_VERSION@.so -ln -s xotcl@PACKAGE_VERSION@/libxotcl@PACKAGE_VERSION@.so $RPM_BUILD_ROOT/usr/lib - -%files -%defattr(-, root, root) -%doc doc -%_bindir/xotclsh -%_bindir/xowish -%_prefix/lib/xotcl@PACKAGE_VERSION@ -%_prefix/lib/libxotcl@PACKAGE_VERSION@.so -%_prefix/lib/xotclexpat* -%_prefix/lib/xotclgdbm* -%_prefix/lib/xotclsdbm* -%_prefix/lib/xotclConfig.sh -%_includedir/nsf.h -%_includedir/nsfInt.h -%_includedir/xotclDecls.h -%_includedir/nsfIntDecls.h \ No newline at end of file