Skip to content

Commit

Permalink
Upgrade to swig 2.0.12, tar_git style
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Mar 21, 2015
1 parent 53cb138 commit 8545a8c
Show file tree
Hide file tree
Showing 4,140 changed files with 538,648 additions and 83 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
File renamed without changes.
File renamed without changes.
File renamed without changes.
49 changes: 6 additions & 43 deletions swig.spec → rpm/swig.spec
@@ -1,13 +1,6 @@
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.23
#
# >> macros
# << macros

Name: swig
Summary: Connects C/C++/Objective C to some high-level programming languages
Version: 2.0.4
Version: 2.0.12
Release: 1
Group: Development/Tools
License: GPLv3
Expand All @@ -21,7 +14,6 @@ BuildRequires: perl
BuildRequires: python-devel
BuildRequires: fdupes


%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
Expand All @@ -35,8 +27,6 @@ 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
Expand All @@ -45,57 +35,30 @@ Requires: %{name} = %{version}-%{release}
%description doc
%{summary}.



%prep
%setup -q -n %{name}-%{version}

# swig-1.3.23-pylib.patch
%setup -q
cd swig
%patch0 -p1
# >> setup
# << setup

%build
# >> build pre
# << build pre

cd swig
%configure --disable-static
make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
cd swig
%make_install

# >> install post
# << install post
%fdupes %{buildroot}//usr/share/swig/








%fdupes %{buildroot}/%{_datadir}/swig/

%files
%defattr(-,root,root,-)
# >> files
%doc LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
%{_bindir}/*
%{_datadir}/swig
%{_mandir}/man1/ccache-swig.1.gz
# << files


%files doc
%defattr(-,root,root,-)
# >> files doc
%doc ANNOUNCE CHANGES INSTALL README TODO
%doc Doc/*
# << files doc

Binary file removed swig-2.0.4.tar.gz
Binary file not shown.
40 changes: 0 additions & 40 deletions swig.yaml

This file was deleted.

60 changes: 60 additions & 0 deletions swig/.travis.yml
@@ -0,0 +1,60 @@
language: cpp
compiler:
- clang
- gcc
env:
- SWIGLANG=
matrix:
include:
- compiler: gcc
env: SWIGLANG=csharp
- compiler: gcc
env: SWIGLANG=go
- compiler: gcc
env: SWIGLANG=guile
- compiler: gcc
env: SWIGLANG=java
- compiler: gcc
env: SWIGLANG=lua
- compiler: gcc
env: SWIGLANG=octave SWIGJOBS=-j4
- compiler: gcc
env: SWIGLANG=perl5
- compiler: gcc
env: SWIGLANG=php
- compiler: gcc
env: SWIGLANG=python
- compiler: gcc
env: SWIGLANG=python PY3=1
- compiler: gcc
env: SWIGLANG=ruby
- compiler: gcc
env: SWIGLANG=tcl
allow_failures:
# None
before_install:
- lsb_release -a
- uname -a
- sudo apt-get -qq update
- time sudo apt-get -qq install libboost-dev
- if test "$SWIGLANG" = "csharp"; then sudo apt-get -qq install mono-devel; fi
- if test "$SWIGLANG" = "go"; then go env | sed -e 's/^/export /' > goenvsetup && source goenvsetup && rm -f goenvsetup; fi # Until configure.ac is fixed
- if test "$SWIGLANG" = "guile"; then sudo apt-get -qq install guile-2.0-dev; fi
- if test "$SWIGLANG" = "lua"; then sudo apt-get -qq install lua5.1 liblua5.1-dev; fi
- if test "$SWIGLANG" = "octave"; then sudo apt-get -qq install octave3.2 octave3.2-headers; fi
- if test "$SWIGLANG" = "php"; then sudo apt-get install php5-cli php5-dev; fi
- if test "$SWIGLANG" = "python" -a "$PY3"; then sudo apt-get install python3-dev; fi
- if test "$SWIGLANG" = "tcl"; then sudo apt-get -qq install tcl8.4-dev; fi
script:
- export PS4="+ " #Temporary workaround bug in Travis build environment
- ./autogen.sh && ./configure
- make -s $SWIGJOBS
- if test -z "$SWIGLANG"; then make -s check-ccache; fi
- ./swig -version
- if test -n "$SWIGLANG"; then make -s check-$SWIGLANG-version; fi
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-examples; fi
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-test-suite; fi
branches:
only:
- master
- maintenance-2.0
34 changes: 34 additions & 0 deletions swig/ANNOUNCE
@@ -0,0 +1,34 @@
*** ANNOUNCE: SWIG 2.0.12 (9 Feb 2014) ***

http://www.swig.org

We're pleased to announce SWIG-2.0.12, the latest SWIG release.

What is SWIG?
=============

SWIG is a software development tool that reads C/C++ header files and
generates the wrapper code needed to make C and C++ code accessible
from other programming languages including Perl, Python, Tcl, Ruby,
PHP, C#, Go, Java, Lua, Scheme (Guile, MzScheme, CHICKEN), D, Ocaml,
Pike, Modula-3, Octave, R, Common Lisp (CLISP, Allegro CL, CFFI, UFFI).
SWIG can also export its parse tree in the form of XML and Lisp
s-expressions. Major applications of SWIG include generation of
scripting language extension modules, rapid prototyping, testing,
and user interface development for large C/C++ systems.

Availability
============
The release is available for download on Sourceforge at

http://prdownloads.sourceforge.net/swig/swig-2.0.12.tar.gz

A Windows version is also available at

http://prdownloads.sourceforge.net/swig/swigwin-2.0.12.zip

Please report problems with this release to the swig-devel mailing list,
details at http://www.swig.org/mail.html.

--- The SWIG Developers

0 comments on commit 8545a8c

Please sign in to comment.