automatic version update by autodist [release 3.0.0-1mamba;Wed Mar 26 2014]

This commit is contained in:
Automatic Build System 2024-01-05 18:15:23 +01:00
parent 8d1a93418e
commit f2c2ebbe2e
3 changed files with 114 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# swig
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages

View File

@ -0,0 +1,10 @@
--- swig-2.0.9/Source/Modules/php.cxx.orig 2013-02-27 13:02:04.248418984 +0100
+++ swig-2.0.9/Source/Modules/php.cxx 2013-02-27 13:01:41.800681771 +0100
@@ -418,6 +418,7 @@
Append(s_header, "static void SWIG_FAIL() __attribute__ ((__noreturn__));\n");
Append(s_header, "#endif\n\n");
Append(s_header, "static void SWIG_FAIL() {\n");
+ Append(s_header, " TSRMLS_FETCH();\n");
Append(s_header, " zend_error(SWIG_ErrorCode(), \"%s\", SWIG_ErrorMsg());\n");
// zend_error() should never return with the parameters we pass, but if it
// does, we really don't want to let SWIG_FAIL() return. This also avoids

102
swig.spec Normal file
View File

@ -0,0 +1,102 @@
Name: swig
Version: 3.0.0
Release: 1mamba
Summary: SWIG is a software development tool that connects programs written in C and C++
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.swig.org/
Source: http://downloads.sourceforge.net/sourceforge/swig/swig-%{version}.tar.gz
Patch0: swig-2.0.9-php-5.4.11.patch
License: BSD
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libpcre-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%if "%{stage1}" != "1"
BuildRequires: php-devel
%endif
%description
SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages
%prep
%setup -q
#%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#install -d %{buildroot}%{_bindir}
%makeinstall
install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/%{name}/%{version}/*
%{_mandir}/man1/ccache-swig.1*
%doc LICENSE
#CHANGES README TODO
%changelog
* Wed Mar 26 2014 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Tue Feb 11 2014 Automatic Build System <autodist@mambasoft.it> 2.0.12-1mamba
- automatic version update by autodist
* Tue Sep 17 2013 Automatic Build System <autodist@mambasoft.it> 2.0.11-1mamba
- automatic version update by autodist
* Mon Jun 10 2013 Automatic Build System <autodist@mambasoft.it> 2.0.10-1mamba
- automatic version update by autodist
* Wed Feb 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.9-2mamba
- added patch for php 5.4.11
* Thu Jan 03 2013 Automatic Build System <autodist@mambasoft.it> 2.0.9-1mamba
- automatic version update by autodist
* Fri Aug 05 2011 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic version update by autodist
* Thu Feb 24 2011 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic update by autodist
* Mon Oct 11 2010 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic update by autodist
* Sun Jun 06 2010 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic update by autodist
* Fri Aug 28 2009 Automatic Build System <autodist@mambasoft.it> 1.3.40-1mamba
- automatic update by autodist
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 1.3.39-1mamba
- automatic update by autodist
* Sat Jul 19 2008 gil <puntogil@libero.it> 1.3.36-1mamba
- update to 1.3.36
* Sun Feb 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.33-1mamba
- update to 1.3.33
- changed maintainer
* Tue Jun 13 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.3.29-1qilnx
- update to version 1.3.29 by autospec
* Mon Jul 18 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.3.25-1qilnx
- package created by autospec