]> git.pld-linux.org Git - packages/swig.git/blobdiff - swig.spec
- generation order fixed
[packages/swig.git] / swig.spec
index b54fb5513b284001d8c85ae782b9c5366ce53c68..d00aef47f45e7154e61338c291d4b9e5c6d606a8 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -1,13 +1,19 @@
+
 Summary:       Interface generator for Perl, Tcl, Guile and Python
 Summary(pl):   Generator interfejsów do Perla, Tcl-a, Guile'a i Pythona
 Summary(pt_BR):        Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
 Name:          swig
 Version:       1.3.19
-Release:       1
+Release:       6
 License:       distributable
 Group:         Development/Languages
 Source0:       http://dl.sourceforge.net/swig/%{name}-%{version}.tar.gz
+# Source0-md5: a733455544426b31868dd87fc162e750
 Patch0:                %{name}-format.patch
+Patch1:                %{name}-php.patch
+Patch2:                %{name}-php-tsrm.patch
+Patch3:                %{name}-php-freearg.patch
+Patch4:                %{name}-php-vdecl.patch
 URL:           http://www.swig.org/
 Icon:          swig.gif
 BuildRequires: autoconf
@@ -17,7 +23,8 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libtool
 BuildRequires: perl-devel >= 5.6.1
 BuildRequires: php-devel >= 4.1.0
-BuildRequires: python >= 2.2
+BuildRequires: php-cgi
+BuildRequires: python-devel >= 2.2
 BuildRequires: ruby >= 1.6.3
 BuildRequires: tcl-devel >= 8.3.3
 BuildRequires: ocaml
@@ -81,6 +88,17 @@ SWIG library: perl.
 %description perl -l pl
 Biblioteka SWIG: perl.
 
+%package php
+Summary:       SWIG library: php
+Summary(pl):   Biblioteka SWIG: php
+Group:         Libraries
+
+%description php
+SWIG library: php.
+
+%description php -l pl
+Biblioteka SWIG: php.
+
 %package python
 Summary:       SWIG library: python
 Summary(pl):   Biblioteka SWIG: python
@@ -127,7 +145,11 @@ Biblioteka SWIG: ocaml.
 
 %prep
 %setup -q -n SWIG-%{version}
-%patch -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 oldpwd=$PWD
@@ -174,6 +196,11 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/lib*pl.so
 %{_libdir}/lib*pl.la
 
+%files php
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*php4.so
+%{_libdir}/lib*php4.la
+
 %files python
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*py.so
This page took 0.026597 seconds and 4 git commands to generate.