Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carsten Munk
committed
Oct 4, 2011
0 parents
commit 37e715d
Showing
9 changed files
with
210 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
PKG_NAME := swig | ||
SPECFILE = $(addsuffix .spec, $(PKG_NAME)) | ||
YAMLFILE = $(addsuffix .yaml, $(PKG_NAME)) | ||
|
||
include /usr/share/packaging-tools/Makefile.common | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<attributes> | ||
<attribute namespace="Mer" name="MeeGoUpstreamRev"> | ||
<value>56b22b61807c0f35008edd09d3c20151</value> | ||
</attribute> | ||
</attributes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<package project="Mer:Trunk:Base" name="swig"> | ||
<title>Connects C/C++/Objective C to some high-level programming languages</title> | ||
<description>SWIG is a software development tool that connects programs written in C | ||
and C++ with a variety of high-level programming languages. SWIG is | ||
primarily used with common scripting languages such as Perl, PHP, Python, | ||
Tcl/Tk, and Ruby, however the list of supported languages also includes | ||
non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, UFFI), | ||
Java, Modula-3, OCAML, Octave, and R. Also several interpreted and compiled | ||
Scheme implementations (Guile, MzScheme, Chicken) are supported. SWIG is | ||
most commonly used to create high-level interpreted or compiled programming | ||
environments, user interfaces, and as a tool for testing and prototyping C/C++ | ||
software. SWIG can also export its parse tree in the form of XML and Lisp | ||
s-expressions. | ||
|
||
|
||
|
||
</description> | ||
<url>http://swig.sourceforge.net</url> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- SWIG-1.3.23/configure.in.pylib 2004-11-02 00:45:57.000000000 +0100 | ||
+++ SWIG-1.3.23/configure.in 2004-11-23 12:20:12.552926982 +0100 | ||
@@ -574,9 +574,11 @@ | ||
|
||
# Set the include directory | ||
|
||
+ PYLIB=`$PYTHON -c "import sys; print sys.path[[1]]"` | ||
+ | ||
AC_MSG_CHECKING(for Python header files) | ||
if test -r $PYPREFIX/include/$PYVERSION/Python.h; then | ||
- PYINCLUDE="-I$PYPREFIX/include/$PYVERSION -I$PYEPREFIX/$PYLIBDIR/$PYVERSION/config" | ||
+ PYINCLUDE="-I$PYPREFIX/include/$PYVERSION -I$PYLIB/config" | ||
fi | ||
if test -z "$PYINCLUDE"; then | ||
if test -r $PYPREFIX/include/Py/Python.h; then | ||
@@ -587,13 +589,6 @@ | ||
|
||
# Set the library directory blindly. This probably won't work with older versions | ||
AC_MSG_CHECKING(for Python library) | ||
- dirs="$PYVERSION/config $PYVERSION/$PYLIBDIR python/$PYLIBDIR" | ||
- for i in $dirs; do | ||
- if test -d $PYEPREFIX/$PYLIBDIR/$i; then | ||
- PYLIB="$PYEPREFIX/$PYLIBDIR/$i" | ||
- break | ||
- fi | ||
- done | ||
if test -z "$PYLIB"; then | ||
AC_MSG_RESULT(Not found) | ||
else |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# This line is mandatory to access the configuration functions | ||
from Config import * | ||
addFilter("swig.* devel-file-in-non-devel-package") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
* Sat Apr 10 2010 Anas Nashif <anas.nashif@intel.com> - 1.3.40 | ||
- Fixed rpmlint errors | ||
|
||
* Sun Feb 15 2009 Arjan van de Ven <arjan@linux.intel.com> 1.3.38 | ||
- split off a -doc subpackage, it has enough content | ||
|
||
* Sun Feb 15 2009 Anas Nashif <anas.nashif@intel.com> 1.3.38 | ||
- update to 1.3.38 | ||
|
||
* Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 1.3.33 | ||
- Update spec file using latest spec-builder | ||
|
||
* Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 1.3.33 | ||
- Fixed rpmlint errors in Summary tag | ||
|
||
* Sat Dec 13 2008 Arjan van de Ven <arjan@linux.intel.com> 1.3.33 | ||
- Clean up the specfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# | ||
# Do not Edit! Generated by: | ||
# spectacle version 0.15 | ||
# | ||
# >> macros | ||
# << macros | ||
|
||
Name: swig | ||
Summary: Connects C/C++/Objective C to some high-level programming languages | ||
Version: 1.3.40 | ||
Release: 1 | ||
Group: Development/Tools | ||
License: BSD | ||
URL: http://swig.sourceforge.net | ||
Source0: http://download.sourceforge.net/swig/swig-%{version}.tar.gz | ||
Source1: swig-rpmlintrc | ||
Source100: swig.yaml | ||
Patch0: swig-1.3.23-pylib.patch | ||
BuildRequires: perl | ||
BuildRequires: python-devel | ||
|
||
%description | ||
SWIG is a software development tool that connects programs written in C | ||
and C++ with a variety of high-level programming languages. SWIG is | ||
primarily used with common scripting languages such as Perl, PHP, Python, | ||
Tcl/Tk, and Ruby, however the list of supported languages also includes | ||
non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, UFFI), | ||
Java, Modula-3, OCAML, Octave, and R. Also several interpreted and compiled | ||
Scheme implementations (Guile, MzScheme, Chicken) are supported. SWIG is | ||
most commonly used to create high-level interpreted or compiled programming | ||
environments, user interfaces, and as a tool for testing and prototyping C/C++ | ||
software. SWIG can also export its parse tree in the form of XML and Lisp | ||
s-expressions. | ||
|
||
|
||
|
||
%package doc | ||
Summary: Documentation files for %{name} | ||
Group: Documentation | ||
Requires: %{name} = %{version}-%{release} | ||
|
||
%description doc | ||
Description: %{summary} | ||
|
||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
|
||
# swig-1.3.23-pylib.patch | ||
%patch0 -p1 | ||
# >> setup | ||
# << setup | ||
|
||
%build | ||
# >> build pre | ||
# << build pre | ||
|
||
%configure --disable-static | ||
make %{?jobs:-j%jobs} | ||
|
||
# >> build post | ||
# << build post | ||
%install | ||
rm -rf %{buildroot} | ||
# >> install pre | ||
# << install pre | ||
%make_install | ||
|
||
# >> install post | ||
# << install post | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
%files | ||
%defattr(-,root,root,-) | ||
# >> files | ||
%doc LICENSE | ||
%{_bindir}/* | ||
%{_datadir}/swig | ||
/usr/share/man/man1/ccache-swig.1.gz | ||
# << files | ||
|
||
|
||
%files doc | ||
%defattr(-,root,root,-) | ||
# >> files doc | ||
%doc ANNOUNCE CHANGES FUTURE INSTALL NEW README TODO | ||
%doc Doc/* | ||
# << files doc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Name: swig | ||
Summary: Connects C/C++/Objective C to some high-level programming languages | ||
Version: 1.3.40 | ||
Release: 1 | ||
Group: Development/Tools | ||
License: BSD | ||
URL: http://swig.sourceforge.net | ||
Description: | | ||
SWIG is a software development tool that connects programs written in C | ||
and C++ with a variety of high-level programming languages. SWIG is | ||
primarily used with common scripting languages such as Perl, PHP, Python, | ||
Tcl/Tk, and Ruby, however the list of supported languages also includes | ||
non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, UFFI), | ||
Java, Modula-3, OCAML, Octave, and R. Also several interpreted and compiled | ||
Scheme implementations (Guile, MzScheme, Chicken) are supported. SWIG is | ||
most commonly used to create high-level interpreted or compiled programming | ||
environments, user interfaces, and as a tool for testing and prototyping C/C++ | ||
software. SWIG can also export its parse tree in the form of XML and Lisp | ||
s-expressions. | ||
Sources: | ||
- http://download.sourceforge.net/swig/swig-%{version}.tar.gz | ||
- swig-rpmlintrc | ||
Patches: | ||
- swig-1.3.23-pylib.patch | ||
|
||
PkgBR: | ||
- perl | ||
- python-devel | ||
Configure: configure | ||
SubPackages: | ||
- Name: doc | ||
Summary: Documentation files for %{name} | ||
Group: Documentation | ||
|