From fb3c3cc45706644cdb05ce0ce468cda08c044a25 Mon Sep 17 00:00:00 2001 From: Dustin Mitchell Date: Tue, 15 Aug 2000 20:33:54 +0000 Subject: [PATCH] Added RPM spec file git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@657 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/CHANGES | 5 +++ SWIG/Tools/swig-1.3a1-1.spec | 83 ++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 SWIG/Tools/swig-1.3a1-1.spec diff --git a/SWIG/CHANGES b/SWIG/CHANGES index 759cfca21..c10a6a5b4 100644 --- a/SWIG/CHANGES +++ b/SWIG/CHANGES @@ -3,6 +3,11 @@ SWIG (Simplified Wrapper and Interface Generator) Version 1.3 Alpha 4 (not yet released) ====================================== +8/15/00 : dustin + The file swig-1.3a1-1.spec has been added to the Tools directory. + It can be used to build a redhat package for SWIG, although it + will need to be updated for the next public release. + 8/15/00 : beazley Typemaps have been completely rewritten. Eventually they may be replaced with something better, but for now they stay. However, diff --git a/SWIG/Tools/swig-1.3a1-1.spec b/SWIG/Tools/swig-1.3a1-1.spec new file mode 100644 index 000000000..a9a113c68 --- /dev/null +++ b/SWIG/Tools/swig-1.3a1-1.spec @@ -0,0 +1,83 @@ +# Preamble +Summary: Simplified Wrapper and Interface Generator +Name: swig +Version: 1.3a3 +Release: 1 +Copyright: BSD +URL: http://www.swig.org +Group: System Environment/Daemons +Source0: http://download.sourceforge.net/swig/swig1.3a3.tar.gz +Packager: Dustin Mitchell +%description +SWIG is an interface compiler that connects programs written in C, +C++, and Objective-C with scripting languages including Perl, Python, +and Tcl/Tk. It works by taking the declarations commonly found in +C/C++ header files and using them to generate the glue code (wrappers) +that scripting languages need to access the underlying C/C++ code + +# PREP +%prep +rm -rf $RPM_BUILD_DIR/swig1.3a3 +zcat $RPM_SOURCE_DIR/swig1.3a3.tar.gz | tar -xvvf - +mv $RPM_BUILD_DIR/SWIG1.3a3 $RPM_BUILD_DIR/swig1.3a3 + +# BUILD +%build +cd $RPM_BUILD_DIR/swig1.3a3 +./configure --prefix=/usr +make + +# INSTALL +%install +cd $RPM_BUILD_DIR/swig1.3a3 +make install + +# FILES +%files +/usr/lib/swig1.3/tcl/constarray.i +/usr/lib/swig1.3/tcl/consthash.i +/usr/lib/swig1.3/tcl/ptrlang.i +/usr/lib/swig1.3/tcl/tclsh.i +/usr/lib/swig1.3/tcl/typemaps.i +/usr/lib/swig1.3/tcl/wish.i +/usr/lib/swig1.3/tcl/object.swg +/usr/lib/swig1.3/tcl/swigtcl8.swg +/usr/lib/swig1.3/array.i +/usr/lib/swig1.3/autodoc.i +/usr/lib/swig1.3/carray.i +/usr/lib/swig1.3/constraints.i +/usr/lib/swig1.3/ctype.i +/usr/lib/swig1.3/exception.i +/usr/lib/swig1.3/malloc.i +/usr/lib/swig1.3/math.i +/usr/lib/swig1.3/memory.i +/usr/lib/swig1.3/objc.i +/usr/lib/swig1.3/pointer.i +/usr/lib/swig1.3/stdlib.i +/usr/lib/swig1.3/timers.i +/usr/lib/swig1.3/perl5/perlmain.i +/usr/lib/swig1.3/perl5/ptrlang.i +/usr/lib/swig1.3/perl5/typemaps.i +/usr/lib/swig1.3/perl5/headers.swg +/usr/lib/swig1.3/perl5/perl5.swg +/usr/lib/swig1.3/perl5/perl5mg.swg +/usr/lib/swig1.3/perl5/Makefile.pl +/usr/lib/swig1.3/python/embed.i +/usr/lib/swig1.3/python/embed13.i +/usr/lib/swig1.3/python/embed14.i +/usr/lib/swig1.3/python/embed15.i +/usr/lib/swig1.3/python/ptrlang.i +/usr/lib/swig1.3/python/typemaps.i +/usr/lib/swig1.3/python/typemaps_old.i +/usr/lib/swig1.3/python/defarg.swg +/usr/lib/swig1.3/python/python.swg +/usr/lib/swig1.3/guile/guilemain.i +/usr/lib/swig1.3/guile/interpreter.i +/usr/lib/swig1.3/guile/typemaps.i +/usr/lib/swig1.3/guile/guile.swg +/usr/lib/swig1.3/guile/guiledec.swg +/usr/lib/swig1.3/java/typemaps.i +/usr/lib/swig1.3/java/java.swg +/usr/lib/swig1.3/mzscheme/typemaps.i +/usr/lib/swig1.3/mzscheme/mzscheme.swg +/usr/bin/swig