]> git.pld-linux.org Git - packages/swig.git/blob - swig.spec
Spec for SWIG. Original version.
[packages/swig.git] / swig.spec
1 Summary: Interface generator for Perl, Tcl, Guile and Python
2 Name: swig
3 Version: 1.1p5
4 Release: 2
5 Copyright: distributable
6 Packager: Oliver Andrich <olli@rhein-zeitung.de>
7 Group: Development/Languages
8 Source0: swig1.1p5.tar.gz
9 Patch: swig1.1p2-fixed-paths.patch
10 Icon: swig.gif
11 BuildRoot: /tmp/swig-root
12
13 %description
14 SWIG is a compiler that attempts to make it easy to integrate C, C++,
15 or Objective-C code with scripting languages including Perl, Tcl, and
16 Python.  In a nutshell, you give it a bunch of ANSI C/C++ declarations
17 and it generates an interface between C and your favorite scripting
18 language.  However, this is only scratching the surface of what SWIG
19 can do--some of its more advanced features include automatic
20 documentation generation, module and library management, extensive
21 customization options, and more.
22
23 SWIG is entirely the product of users who have used the system and
24 suggested new idea.  There are far too many people to thank
25 individually, but without this support, SWIG would be not be nearly as
26 powerful or fun to use as it is now. Many thanks!
27
28
29 %prep
30 %setup -n SWIG1.1p5
31 find Examples/ -type l -exec rm -v {} \;
32 %patch -p1
33
34 %build
35 ./configure --prefix=/usr
36 make OPT="$RPM_OPT_FLAGS"
37 make test
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 mkdir -p $RPM_BUILD_ROOT/usr
42 make prefix=$RPM_BUILD_ROOT/usr install
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %doc Doc Examples CHANGES Copyright INSTALL NEW README TROUBLESHOOTING ToDo
49 /usr/lib/swig_lib
50 /usr/lib/libswig.a
51 /usr/include/swig.h
52 /usr/bin/swig
53 /usr/man/man1/swig.1
This page took 0.057241 seconds and 4 git commands to generate.