Summary(pl.UTF-8): Generator interfejsów do Perla, Tcl-a, Guile'a i Pythona
Summary(pt_BR.UTF-8): Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
Name: swig
-Version: 1.3.40
-Release: 2
-License: distributable
+Version: 2.0.4
+Release: 1
+License: GPL v3+ (utility), free (library)
Group: Development/Languages
-Source0: http://dl.sourceforge.net/swig/%{name}-%{version}.tar.gz
-# Source0-md5: 2df766c9e03e02811b1ab4bba1c7b9cc
+Source0: http://downloads.sourceforge.net/swig/%{name}-%{version}.tar.gz
+# Source0-md5: 4319c503ee3a13d2a53be9d828c3adc0
Patch0: %{name}-php-freearg.patch
+Patch1: %{name}-guile2.patch
URL: http://www.swig.org/
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: autoconf >= 2.58
+BuildRequires: automake >= 1:1.7.2
%{?with_guile:BuildRequires: guile-devel}
BuildRequires: libstdc++-devel
-BuildRequires: libtool
%{?with_ocaml:BuildRequires: ocaml}
%{?with_octave:BuildRequires: octave-devel}
%{?with_perl:BuildRequires: perl-devel >= 1:5.6.1}
%package guile
Summary: SWIG library: guile
Summary(pl.UTF-8): Biblioteka SWIG: guile
+License: free
Group: Libraries
Requires: %{name} = %{version}-%{release}
%package perl
Summary: SWIG library: Perl
Summary(pl.UTF-8): Biblioteka SWIG: Perl
+License: free
Group: Libraries
Requires: %{name} = %{version}-%{release}
%package php
Summary: SWIG library: php
Summary(pl.UTF-8): Biblioteka SWIG: php
+License: free
Group: Libraries
Requires: %{name} = %{version}-%{release}
%package python
Summary: SWIG library: python
Summary(pl.UTF-8): Biblioteka SWIG: python
+License: free
Group: Libraries
Requires: %{name} = %{version}-%{release}
%package ruby
Summary: SWIG library: ruby
Summary(pl.UTF-8): Biblioteka SWIG: ruby
+License: free
Group: Libraries
Requires: %{name} = %{version}-%{release}
%{?ruby_mod_ver_requires_eq}
%package tcl
Summary: SWIG library: tcl
Summary(pl.UTF-8): Biblioteka SWIG: tcl
+License: free
Group: Libraries
Requires: %{name} = %{version}-%{release}
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
-%{__libtoolize}
%{__aclocal} -I Tools/config
%{__autoconf}
%{__automake}
%files
%defattr(644,root,root,755)
-%doc Doc CHANGES CHANGES.current NEW README ANNOUNCE TODO LICENSE
+%doc ANNOUNCE CHANGES CHANGES.current COPYRIGHT LICENSE LICENSE-UNIVERSITIES README RELEASENOTES TODO Doc
%attr(755,root,root) %{_bindir}/ccache-swig
%attr(755,root,root) %{_bindir}/swig
%{_datadir}/%{name}