Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
94e7bbcb93 | ||
|
bfe25de69d | ||
|
a785404834 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -20,3 +20,4 @@ swig-2.0.0.tar.gz
|
||||
/swig-3.0.8.tar.gz
|
||||
/swig-3.0.9.tar.gz
|
||||
/swig-3.0.10.tar.gz
|
||||
/swig-3.0.11.tar.gz
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
bb4ab8047159469add7d00910e203124 swig-3.0.10.tar.gz
|
||||
SHA512 (swig-3.0.11.tar.gz) = 36771bd29fcec159d283f0f8d056937c6c913fec717f1f3b97a9b17fa27a8a85aa5f7b79bec3c46d70b625c36c26e9e856a4750cbd0872070ca18e9174842a52
|
||||
|
47
swig.spec
47
swig.spec
@ -2,9 +2,9 @@
|
||||
%bcond_without testsuite
|
||||
|
||||
%{!?tcl:%global tcl 1}
|
||||
%{!?guile:%global guile 1}
|
||||
%{!?guile:%global guile 0}
|
||||
%{!?lualang:%global lualang 1}
|
||||
|
||||
%{!?phplang:%global phplang 1}
|
||||
%{!?rubylang:%global rubylang 1}
|
||||
|
||||
%ifarch aarch64 %{arm} %{mips} ppc64le ppc %{power64} s390 s390x
|
||||
@ -25,12 +25,13 @@
|
||||
%if 0%{?rhel}
|
||||
%{!?octave:%global octave 0}
|
||||
%else
|
||||
%{!?octave:%global octave 1}
|
||||
# Disable octave tests, because swig doesn't support Octave 4.2.0
|
||||
%{!?octave:%global octave 0}
|
||||
%endif
|
||||
|
||||
Summary: Connects C/C++/Objective C to some high-level programming languages
|
||||
Name: swig
|
||||
Version: 3.0.10
|
||||
Version: 3.0.11
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3+ and BSD
|
||||
URL: http://swig.sourceforge.net/
|
||||
@ -43,7 +44,8 @@ Source4: ccache-swig.csh
|
||||
|
||||
Patch0: swig308-Do-not-use-isystem.patch
|
||||
|
||||
BuildRequires: perl, python2-devel, pcre-devel
|
||||
BuildRequires: perl, pcre-devel
|
||||
BuildRequires: python2-devel, python3-devel
|
||||
BuildRequires: autoconf, automake, gawk, dos2unix
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: help2man
|
||||
@ -84,6 +86,9 @@ BuildRequires: R-devel
|
||||
%if %{javalang}
|
||||
BuildRequires: java, java-devel
|
||||
%endif
|
||||
%if %{phplang}
|
||||
BuildRequires: php, php-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Simplified Wrapper and Interface Generator (SWIG) is a software
|
||||
@ -116,6 +121,15 @@ BuildArch: noarch
|
||||
%description doc
|
||||
This package contains documentation for SWIG and useful examples
|
||||
|
||||
%package gdb
|
||||
Summary: Commands for easier debugging of SWIG
|
||||
License: BSD
|
||||
Requires: swig
|
||||
|
||||
%description gdb
|
||||
This package contains file with commands for easier debugging of SWIG
|
||||
in gdb.
|
||||
|
||||
%prep
|
||||
%setup -q -n swig-%{version}
|
||||
|
||||
@ -135,6 +149,9 @@ done
|
||||
# It causes that log had more then 600M.
|
||||
%configure \
|
||||
--without-ocaml \
|
||||
%if %{phplang}
|
||||
--with-php=%{__php} \
|
||||
%endif
|
||||
%if ! %{javalang}
|
||||
--without-java \
|
||||
%endif
|
||||
@ -237,9 +254,14 @@ mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
|
||||
install -dm 755 %{buildroot}%{_sysconfdir}/profile.d
|
||||
install -pm 644 %{SOURCE3} %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d
|
||||
|
||||
# Add swig.gdb sub-package gdb
|
||||
mkdir -p %{buildroot}%{_datadir}/%{name}/gdb
|
||||
install -pm 644 Tools/swig.gdb %{buildroot}%{_datadir}/%{name}/gdb
|
||||
|
||||
%files
|
||||
%{_bindir}/swig
|
||||
%{_datadir}/swig
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}
|
||||
%exclude %{_datadir}/%{name}/gdb
|
||||
%{_mandir}/man1/swig.1*
|
||||
%license LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
|
||||
%doc ANNOUNCE CHANGES CHANGES.current
|
||||
@ -254,7 +276,18 @@ install -pm 644 %{SOURCE3} %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d
|
||||
%license LICENSE LICENSE-GPL LICENSE-UNIVERSITIES
|
||||
%doc Doc Examples COPYRIGHT
|
||||
|
||||
%files gdb
|
||||
%{_datadir}/%{name}/gdb
|
||||
|
||||
%changelog
|
||||
* Mon Jan 02 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.11-1
|
||||
- Update to 3.0.11
|
||||
- Add support for PHP 7
|
||||
- Disable guile tests
|
||||
|
||||
* Wed Oct 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.10-2
|
||||
- Sub-package file swig.gdb (bug #1332673)
|
||||
|
||||
* Mon Jun 13 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.10-1
|
||||
- Update to 3.0.10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user