annotate lib/swig/swigwin-2.0.11/swig.spec.in @ 1933:5fcf6023f9c3

DamageMonsterFromParty some additional vars removed, changed the ordering part to something more readable
author Grumpy7
date Wed, 23 Oct 2013 21:13:28 -0700
parents b3009adc0e2f
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 # You can build the package from Git using something like:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 # tar -czf swig-@PACKAGE_VERSION@.tar.gz swig-@PACKAGE_VERSION@ && rpmbuild -tb swig-@PACKAGE_VERSION@.tar.gz
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 # @configure_input@
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 %define ver @PACKAGE_VERSION@
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6 %define rel 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 %define prefix /usr
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 %define home_page http://www.swig.org
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 %define docprefix %{prefix}/share
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11 ######################################################################
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12 # Usually, nothing needs to be changed below here between releases
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13 ######################################################################
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14 Summary: Simplified Wrapper and Interface Generator
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 Name: swig
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16 Version: %{ver}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 Release: %{rel}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 URL: %{home_page}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 Source0: %{name}-%{version}.tar.gz
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 License: BSD
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 Group: Development/Tools
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22 BuildRoot: %{_tmppath}/%{name}-root
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
23
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
24 %description
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
25 SWIG is a software development tool that connects programs written in C and C++
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
26 with a variety of high-level programming languages. SWIG is primarily used with
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
27 common scripting languages such as Perl, Python, Tcl/Tk, and Ruby, however the
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
28 list of supported languages also includes non-scripting languages such as Java,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
29 OCAML and C#. Also several interpreted and compiled Scheme implementations
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
30 (Guile, MzScheme, Chicken) are supported. SWIG is most commonly used to create
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
31 high-level interpreted or compiled programming environments, user interfaces,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
32 and as a tool for testing and prototyping C/C++ software. SWIG can also export
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
33 its parse tree in the form of XML and Lisp s-expressions.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
34
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
35 %prep
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
36 %setup -q -n %{name}-%{version}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
37
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
38 %build
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
39 # so we can build package from Git source too
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
40 [ ! -r configure ] && ./autogen.sh
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
41 %configure
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
42 make
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
43
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
44 %install
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
45 rm -rf ${RPM_BUILD_ROOT}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
46 make DESTDIR=$RPM_BUILD_ROOT install
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
47
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
48 %clean
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
49 rm -rf ${RPM_BUILD_ROOT}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
50
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
51 %files
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
52 %defattr(-,root,root)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
53 %doc ANNOUNCE CHANGES INSTALL LICENSE LICENSE-GPL LICENSE-UNIVERSITIES README RELEASENOTES
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
54 %doc Doc/*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
55 %{_bindir}/*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
56 %{prefix}/share/*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
57
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
58 %changelog
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
59 * Thu Sep 16 2004 Marcelo Matus <mmatus@acms.arizona.edu>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
60 - Small fixes needed after removing the runtime package
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
61 * Tue Jul 20 2004 William Fulton <wsf@fultondesigns.co.uk>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
62 - Update for SWIG-1.3.22 - Removed runtime package
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
63 * Wed Mar 03 2004 Robert H De Vries
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
64 - Update to work with Fedora Core 1 rpm 4.2.1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
65 * Wed Jul 24 2002 Sam Liddicott <sam@liddicott.com>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
66 - Added runtime package of runtime libs
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
67 * Mon Sep 10 2001 Tony Seward <anthony.seward@ieee.org>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
68 - Merge Red Hat's and Dustin Mitchell's .spec files.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
69 - Install all of the examples in the documentation directory.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
70 - Auto create the list of installed files.