]> git.pld-linux.org Git - packages/swig.git/commitdiff
- added php support
authorggodlewski <ggodlewski@pld-linux.org>
Tue, 9 Sep 2003 21:45:06 +0000 (21:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    swig.spec -> 1.45

swig.spec

index 3cf1dea32e19cbf99ae12534c5da99dbc9d958a2..0b484e87a4783f6afdbb173aabac1d9b85711a89 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -3,12 +3,13 @@ Summary(pl):  Generator interfejs
 Summary(pt_BR):        Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
 Name:          swig
 Version:       1.3.19
-Release:       1
+Release:       2
 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
 URL:           http://www.swig.org/
 Icon:          swig.gif
 BuildRequires: autoconf
@@ -19,6 +20,7 @@ BuildRequires:        libtool
 BuildRequires: perl-devel >= 5.6.1
 BuildRequires: php-devel >= 4.1.0
 BuildRequires: python >= 2.2
+BuildRequires: php-devel
 BuildRequires: ruby >= 1.6.3
 BuildRequires: tcl-devel >= 8.3.3
 BuildRequires: ocaml
@@ -82,6 +84,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
@@ -128,7 +141,8 @@ Biblioteka SWIG: ocaml.
 
 %prep
 %setup -q -n SWIG-%{version}
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 oldpwd=$PWD
@@ -175,6 +189,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.083605 seconds and 4 git commands to generate.