This commit is contained in:
commit
76b8f9c3c4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
11
swig-1.3.29-autoconf260.patch
Normal file
11
swig-1.3.29-autoconf260.patch
Normal file
@ -0,0 +1,11 @@
|
||||
# datarootdir is a new variable in autoconf-2.60
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -5,6 +5,7 @@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
srcdir = @srcdir@
|
||||
+datarootdir = @datarootdir@
|
||||
|
||||
##############################################################################
|
||||
# Compiler and system configuration
|
20
swig-1.3.29-python-module-crash.patch
Normal file
20
swig-1.3.29-python-module-crash.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- Source/Modules/python.cxx
|
||||
+++ Source/Modules/python.cxx
|
||||
@@ -3187,7 +3187,7 @@ public:
|
||||
Append(f->code,"}\n");
|
||||
add_method(gname, wgname, 0);
|
||||
Wrapper_print(f,f_wrappers);
|
||||
- Delete(f);
|
||||
+ DelWrapper(f);
|
||||
int assignable = is_assignable(n);
|
||||
if (assignable) {
|
||||
Wrapper *f = NewWrapper();
|
||||
@@ -3200,7 +3200,7 @@ public:
|
||||
Append(f->code,"}\n");
|
||||
Wrapper_print(f,f_wrappers);
|
||||
add_method(sname, wsname, 0);
|
||||
- Delete(f);
|
||||
+ DelWrapper(f);
|
||||
}
|
||||
if (!modern) {
|
||||
if (assignable) {
|
49
swig-1.3.29-python25.patch
Normal file
49
swig-1.3.29-python25.patch
Normal file
@ -0,0 +1,49 @@
|
||||
--- Lib/python/pyinit.swg
|
||||
+++ Lib/python/pyinit.swg
|
||||
@@ -226,11 +226,11 @@ SWIG_Python_FixMethods(PyMethodDef *meth
|
||||
swig_type_info **types_initial) {
|
||||
size_t i;
|
||||
for (i = 0; methods[i].ml_name; ++i) {
|
||||
- char *c = methods[i].ml_doc;
|
||||
+ const char *c = methods[i].ml_doc;
|
||||
if (c && (c = strstr(c, "swig_ptr: "))) {
|
||||
int j;
|
||||
swig_const_info *ci = 0;
|
||||
- char *name = c + 10;
|
||||
+ const char *name = c + 10;
|
||||
for (j = 0; const_table[j].type; ++j) {
|
||||
if (strncmp(const_table[j].name, name,
|
||||
strlen(const_table[j].name)) == 0) {
|
||||
--- Lib/python/pyrun.swg
|
||||
+++ Lib/python/pyrun.swg
|
||||
@@ -1075,7 +1075,7 @@ SWIG_Python_ConvertFunctionPtr(PyObject
|
||||
void *vptr = 0;
|
||||
|
||||
/* here we get the method pointer for callbacks */
|
||||
- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
|
||||
+ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
|
||||
const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
|
||||
if (desc) {
|
||||
desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
|
||||
--- Lib/python/pystrings.swg
|
||||
+++ Lib/python/pystrings.swg
|
||||
@@ -6,7 +6,7 @@ SWIGINTERN int
|
||||
SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
|
||||
{
|
||||
if (PyString_Check(obj)) {
|
||||
- char *cstr; int len;
|
||||
+ char *cstr; Py_ssize_t len;
|
||||
PyString_AsStringAndSize(obj, &cstr, &len);
|
||||
if (cptr) {
|
||||
if (alloc) {
|
||||
--- Lib/python/pyhead.swg
|
||||
+++ Lib/python/pyhead.swg
|
||||
@@ -80,3 +80,8 @@ PyObject *PyBool_FromLong(long ok)
|
||||
}
|
||||
#endif
|
||||
|
||||
+/* Py_ssize_t for python < 2.5 */
|
||||
+#if PY_VERSION_HEX < 0x02050000
|
||||
+typedef int Py_ssize_t;
|
||||
+#endif
|
||||
+
|
49
swig-1.3.29-testsuite.patch
Normal file
49
swig-1.3.29-testsuite.patch
Normal file
@ -0,0 +1,49 @@
|
||||
--- Examples/test-suite/common.mk
|
||||
+++ Examples/test-suite/common.mk
|
||||
@@ -27,7 +27,7 @@
|
||||
#######################################################################
|
||||
# Variables
|
||||
#######################################################################
|
||||
-SWIG = $(top_builddir)preinst-swig
|
||||
+SWIG = $(top_builddir)/preinst-swig
|
||||
SWIG_LIB = $(top_srcdir)/Lib
|
||||
TEST_SUITE = test-suite
|
||||
EXAMPLES = Examples
|
||||
@@ -35,7 +35,7 @@ CXXSRCS =
|
||||
CSRCS =
|
||||
TARGETPREFIX =
|
||||
TARGETSUFFIX =
|
||||
-SWIGOPT = -I$(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/$(LANGUAGE) -I$(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)
|
||||
+SWIGOPT = -I$(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/$(LANGUAGE) -I$(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE) -DSWIG_NOEXTRA_QUALIFICATION
|
||||
INCLUDES = -I$(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)/$(LANGUAGE) -I$(top_srcdir)/$(EXAMPLES)/$(TEST_SUITE)
|
||||
LIBS = -L.
|
||||
LIBPREFIX = lib
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -63,7 +63,7 @@ chk-set-swiglib = SWIG_LIB=@ROOT_DIR@/L
|
||||
chk-set-swig = SWIG=@ROOT_DIR@/$(TARGET)
|
||||
chk-set-env = $(chk-set-swiglib) $(chk-set-swig)
|
||||
|
||||
-chk = $(MAKE) -k -s $(chk-set-env) $(ACTION)
|
||||
+chk = $(MAKE) -k $(chk-set-env) $(ACTION)
|
||||
|
||||
check-aliveness:
|
||||
test -x ./$(TARGET)
|
||||
@@ -128,7 +128,7 @@ check-%-examples:
|
||||
|
||||
gifplot-library:
|
||||
@echo $(ACTION)ing Examples/GIFPlot/Lib
|
||||
- @cd Examples/GIFPlot/Lib && $(MAKE) -k -s $(ACTION)
|
||||
+ @cd Examples/GIFPlot/Lib && $(MAKE) -k $(ACTION)
|
||||
|
||||
check-gifplot: \
|
||||
check-tcl-gifplot \
|
||||
@@ -195,7 +195,7 @@ check-%-test-suite:
|
||||
echo warning: cannot $(ACTION) $* test-suite "(no dir $$dir)";\
|
||||
else \
|
||||
echo $(ACTION)ing $* test-suite; \
|
||||
- (cd $$dir && $(MAKE) -k -s $(ACTION)) \
|
||||
+ (cd $$dir && $(MAKE) -k $(ACTION)) \
|
||||
|| passed=false; \
|
||||
fi; \
|
||||
test $$passed = true
|
3
swig-1.3.29.tar.bz2
Normal file
3
swig-1.3.29.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4cd482e1f5f85415b757c210d2ba4d2de936195798784beeb0a4b60416a77d63
|
||||
size 3243566
|
348
swig.changes
Normal file
348
swig.changes
Normal file
@ -0,0 +1,348 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 8 15:23:27 CET 2006 - mmarek@suse.cz
|
||||
|
||||
- fixed bug in the python module that caused aborts on some
|
||||
architectures
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 7 13:59:52 CET 2006 - mmarek@suse.cz
|
||||
|
||||
- don't install executable documentation files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 8 11:00:48 CEST 2006 - mmarek@suse.cz
|
||||
|
||||
- fixed for Python 2.5 (further fixes may be needed, at least it
|
||||
builds again)
|
||||
(python25.patch)
|
||||
- use $RPM_OPT_FLAGS, unhide compilation of test wrappers (ditto)
|
||||
(testsuite.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 6 09:30:14 CEST 2006 - mmarek@suse.de
|
||||
|
||||
- fixed build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 13:21:08 CEST 2006 - mmarek@suse.cz
|
||||
|
||||
- update to version 1.3.29
|
||||
* support for Common Lisp with CFFI
|
||||
* new %extend_smart_pointer() directive to extend SWIG smart
|
||||
pointer support in Python
|
||||
* new %bang directive for methods ending with exclamation marks
|
||||
in Ruby
|
||||
* New -autorename option for Ruby to rename methods to match
|
||||
Ruby naming conventions
|
||||
* enhancements to the %rename directive
|
||||
* initial support for wrappint Java code in scripting languages
|
||||
using gcj
|
||||
* new %copyctor directive for automatic generation of copy
|
||||
constructors
|
||||
* many more enhancements + bugfixes
|
||||
- fixed top-level Makefile.in to work with autoconf-2.60
|
||||
(autoconf260.patch)
|
||||
- added python-devel to buildrequires to test the Python module
|
||||
during build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 20 16:06:53 CEST 2006 - schwab@suse.de
|
||||
|
||||
- Fix missing slash.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 12:00:20 CET 2006 - mmarek@suse.cz
|
||||
|
||||
- split documentation into swig-doc and swig-examples
|
||||
[#153015]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 11:04:51 CET 2006 - mmarek@suse.cz
|
||||
|
||||
- fix build with perl-5.8.8 (thanks to Olaf Hering)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:41:57 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 23 15:28:45 CET 2006 - mmarek@suse.cz
|
||||
|
||||
- use -fPIC instead of -fpic (-fpic didn't pass testsuite on s390x)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 10 17:51:17 CET 2006 - mmarek@suse.cz
|
||||
|
||||
- fix endless loop when write fails
|
||||
[#141754] (write-loop.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 16 15:09:33 CET 2005 - ro@suse.de
|
||||
|
||||
- fix build on x86_64 (fPIC in gifplot)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 2 22:27:06 CET 2005 - dmueller@suse.de
|
||||
|
||||
- don't build as root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 2 17:48:11 CET 2005 - uli@suse.de
|
||||
|
||||
- update -> 1.3.27
|
||||
- parallelize build
|
||||
- run test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 11:56:46 CEST 2005 - mcihar@suse.cz
|
||||
|
||||
- update to 1.3.24 again, I hope that subversion guys will fix their
|
||||
problems till next release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 24 01:49:21 CET 2005 - ro@suse.de
|
||||
|
||||
- fix swigpy build on lib64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 6 11:51:21 CET 2005 - mcihar@suse.cz
|
||||
|
||||
- back to 1.3.21 due to subversion incompatibility
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 21 16:51:38 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- update to 1.3.24
|
||||
- our python now has sys.lib, so no need for patching
|
||||
- spec file cleanup
|
||||
- swiglibdir is now same as upstream - $datadir/swig/version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 23 17:05:25 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- update to 1.3.23
|
||||
- runtime no more included
|
||||
- remove most of buildrequires, as they're needed just for examples and
|
||||
they anyway don't compile out of the source directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 13:04:38 CEST 2004 - mcihar@suse.cz
|
||||
|
||||
- -fno-strict-aliasing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 8 14:49:52 CET 2004 - ro@suse.de
|
||||
|
||||
- added php4 to neededforbuild
|
||||
- renamed mod_php4-devel to php4-devel in neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 23 15:19:38 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- updated to 1.3.21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 18 12:37:25 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- Updated to 1.3.20. This release includes a large number of
|
||||
enhancements including improved C++ support, directors, contracts, and
|
||||
more.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 12:21:49 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- handle libdir correctly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 19:27:27 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- try to force swig compilation to accept CFLAGS
|
||||
- cleaned up specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 16:26:51 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- add -fPIC
|
||||
- fix libtool problems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 19:23:41 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- fixed permissions for files in lib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 15 12:22:38 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- fix permissions for documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 12 17:23:12 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- use swiglibdir to have save setup as previous versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 12 13:01:30 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to 1.3.19
|
||||
- compile with -fPIC (should fix #26765)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 12:54:18 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- configure scripts finds correctly more requirements:
|
||||
- java includes
|
||||
- python on lib64
|
||||
- ocaml on lib64
|
||||
- build more runtimes:
|
||||
- added php4
|
||||
- fixed perl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 16:34:50 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- not marking files as config, as they do not contain configuration
|
||||
- simplified file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 06 12:20:08 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- updated to 1.3.17:
|
||||
* added pike and ocaml bindings
|
||||
* many bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||
|
||||
- removed bogus self-provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 14:39:41 MEST 2002 - mls@suse.de
|
||||
|
||||
- made it work with threaded perl-5.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 27 13:57:22 CEST 2002 - mcihar@suse.cz
|
||||
|
||||
- updated to 1.3.13
|
||||
- added more documentation (html manual and some others)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 16:46:48 MEST 2002 - mls@suse.de
|
||||
|
||||
- delete bogus config.{log,status} from Examples/GIFPlot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 14:41:20 CEST 2002 - meissner@suse.de
|
||||
|
||||
- compile with tcl again (needs --with-tclconfig)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 13:39:50 CEST 2002 - ro@suse.de
|
||||
|
||||
- fix libdir usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 28 10:58:32 CET 2002 - tcrhak@suse.cz
|
||||
|
||||
- fixed parser.yxx to compile with bison 1.32
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 11:29:12 CET 2002 - cihlar@suse.cz
|
||||
|
||||
- fixed to compile with python 2.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 11:00:16 CET 2001 - cihlar@suse.cz
|
||||
|
||||
- update to version 1.3.9:
|
||||
* many fixes and improvements
|
||||
- added libraries in /usr/lib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 27 08:21:51 CEST 2001 - cihlar@suse.cz
|
||||
|
||||
- update to version 1.3.6
|
||||
- fixed call of suse_update_config
|
||||
- call autoconf also in subdirs
|
||||
- added xf86 to neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 20 19:38:42 CET 2001 - schwab@suse.de
|
||||
|
||||
- Fix last change to do it right.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 08:38:33 CET 2001 - cihlar@suse.cz
|
||||
|
||||
- added swig1.3a5-Printv.dif.bz2 - fixed to work on ia64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 29 17:26:51 CET 2000 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <tcld> to <tcl-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 08:14:56 CET 2000 - cihlar@suse.cz
|
||||
|
||||
- removed kaffe from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 17 09:23:28 CET 2000 - ro@suse.de
|
||||
|
||||
- fixed filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 10:34:29 CET 2000 - cihlar@suse.cz
|
||||
|
||||
- fixed neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 08:46:06 CET 2000 - cihlar@suse.cz
|
||||
|
||||
- update to version 1.3a5
|
||||
- fixed file list
|
||||
- fixed neededforbuild
|
||||
- improved optimalization
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 08:33:09 CEST 2000 - cihlar@suse.cz
|
||||
|
||||
- update to version 1.3a3
|
||||
- bzipped sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 14:31:54 CEST 2000 - cihlar@suse.cz
|
||||
|
||||
- added BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 2 11:28:17 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Use doc macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 31 18:39:02 CET 2000 - ro@suse.de
|
||||
|
||||
- fixed to compile
|
||||
- man to /usr/share
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 17 02:24:35 CEST 1999 - ro@suse.de
|
||||
|
||||
- fixed neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 17 11:28:09 MEST 1999 - kettner@suse.de
|
||||
|
||||
- Reinserted old # Commandline: line.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 3 15:43:56 MEST 1999 - kettner@suse.de
|
||||
|
||||
- Spec file created from swig1.1p5.tar.gz by autospec
|
311
swig.spec
Normal file
311
swig.spec
Normal file
@ -0,0 +1,311 @@
|
||||
#
|
||||
# spec file for package swig (Version 1.3.29)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: swig
|
||||
BuildRequires: gcc-c++ python-devel
|
||||
URL: http://www.swig.org
|
||||
License: BSD License and BSD-like
|
||||
Group: Development/Languages/C and C++
|
||||
Autoreqprov: on
|
||||
Summary: Simplified Wrapper and Interface Generator
|
||||
Version: 1.3.29
|
||||
Release: 24
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch1: %{name}-%{version}-testsuite.patch
|
||||
Patch2: %{name}-%{version}-autoconf260.patch
|
||||
Patch3: swig-1.3.29-python25.patch
|
||||
Patch4: swig-1.3.29-python-module-crash.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
SWIG is a compiler that attempts to make it easy to integrate C, C++,
|
||||
or Objective-C code with scripting languages including Perl, Tcl, and
|
||||
Python. In a nutshell, you give it a bunch of ANSI C/C++ declarations
|
||||
and it generates an interface between C and your favorite scripting
|
||||
language. However, this is only scratching the surface of what SWIG
|
||||
can do--some of its more advanced features include automatic
|
||||
documentation generation, module and library management, extensive
|
||||
customization options, and more.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dave Beazley <beazley@cs.utah.edu>
|
||||
|
||||
%package doc
|
||||
Summary: SWIG Manual
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: swig
|
||||
|
||||
%description doc
|
||||
SWIG is a compiler that attempts to make it easy to integrate C, C++,
|
||||
or Objective-C code with scripting languages including Perl, Tcl, and
|
||||
Python. In a nutshell, you give it a bunch of ANSI C/C++ declarations
|
||||
and it generates an interface between C and your favorite scripting
|
||||
language. However, this is only scratching the surface of what SWIG
|
||||
can do--some of its more advanced features include automatic
|
||||
documentation generation, module and library management, extensive
|
||||
customization options, and more.
|
||||
|
||||
This package contains the SWIG manual.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dave Beazley <beazley@cs.utah.edu>
|
||||
|
||||
%package examples
|
||||
Summary: SWIG example files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: swig
|
||||
|
||||
%description examples
|
||||
SWIG is a compiler that attempts to make it easy to integrate C, C++,
|
||||
or Objective-C code with scripting languages including Perl, Tcl, and
|
||||
Python. In a nutshell, you give it a bunch of ANSI C/C++ declarations
|
||||
and it generates an interface between C and your favorite scripting
|
||||
language. However, this is only scratching the surface of what SWIG
|
||||
can do--some of its more advanced features include automatic
|
||||
documentation generation, module and library management, extensive
|
||||
customization options, and more.
|
||||
|
||||
This package contains SWIG examples, usefull both for testing and
|
||||
understandig SWIG usage.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dave Beazley <beazley@cs.utah.edu>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
chmod -x Doc/Manual/*
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
ACLOCAL="aclocal -I Tools/config" autoreconf -fi
|
||||
export CCSHARED="-fPIC $RPM_OPT_FLAGS"
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=%{_libdir}
|
||||
make %{?jobs:-j%jobs}
|
||||
make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
cp -a FUTURE TODO NEW ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \
|
||||
Examples $RPM_BUILD_ROOT%{_docdir}/%{name}/
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
%dir %{_docdir}/%{name}
|
||||
%{_docdir}/%{name}/[A-Z][A-Z]*
|
||||
%{_datadir}/swig
|
||||
%attr(755,root,root) %{_bindir}/swig
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}/Devel
|
||||
%{_docdir}/%{name}/Manual
|
||||
|
||||
%files examples
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}/Examples
|
||||
|
||||
%changelog -n swig
|
||||
* Wed Nov 08 2006 - mmarek@suse.cz
|
||||
- fixed bug in the python module that caused aborts on some
|
||||
architectures
|
||||
* Tue Nov 07 2006 - mmarek@suse.cz
|
||||
- don't install executable documentation files
|
||||
* Fri Sep 08 2006 - mmarek@suse.cz
|
||||
- fixed for Python 2.5 (further fixes may be needed, at least it
|
||||
builds again)
|
||||
(python25.patch)
|
||||
- use $RPM_OPT_FLAGS, unhide compilation of test wrappers (ditto)
|
||||
(testsuite.patch)
|
||||
* Wed Sep 06 2006 - mmarek@suse.de
|
||||
- fixed build
|
||||
* Wed Jul 26 2006 - mmarek@suse.cz
|
||||
- update to version 1.3.29
|
||||
* support for Common Lisp with CFFI
|
||||
* new %%extend_smart_pointer() directive to extend SWIG smart
|
||||
pointer support in Python
|
||||
* new %%bang directive for methods ending with exclamation marks
|
||||
in Ruby
|
||||
* New -autorename option for Ruby to rename methods to match
|
||||
Ruby naming conventions
|
||||
* enhancements to the %%rename directive
|
||||
* initial support for wrappint Java code in scripting languages
|
||||
using gcj
|
||||
* new %%copyctor directive for automatic generation of copy
|
||||
constructors
|
||||
* many more enhancements + bugfixes
|
||||
- fixed top-level Makefile.in to work with autoconf-2.60
|
||||
(autoconf260.patch)
|
||||
- added python-devel to buildrequires to test the Python module
|
||||
during build
|
||||
* Thu Jul 20 2006 - schwab@suse.de
|
||||
- Fix missing slash.
|
||||
* Mon Feb 27 2006 - mmarek@suse.cz
|
||||
- split documentation into swig-doc and swig-examples
|
||||
[#153015]
|
||||
* Mon Jan 30 2006 - mmarek@suse.cz
|
||||
- fix build with perl-5.8.8 (thanks to Olaf Hering)
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 23 2006 - mmarek@suse.cz
|
||||
- use -fPIC instead of -fpic (-fpic didn't pass testsuite on s390x)
|
||||
* Tue Jan 10 2006 - mmarek@suse.cz
|
||||
- fix endless loop when write fails
|
||||
[#141754] (write-loop.patch)
|
||||
* Wed Nov 16 2005 - ro@suse.de
|
||||
- fix build on x86_64 (fPIC in gifplot)
|
||||
* Wed Nov 02 2005 - dmueller@suse.de
|
||||
- don't build as root
|
||||
* Wed Nov 02 2005 - uli@suse.de
|
||||
- update -> 1.3.27
|
||||
- parallelize build
|
||||
- run test suite
|
||||
* Mon Apr 11 2005 - mcihar@suse.cz
|
||||
- update to 1.3.24 again, I hope that subversion guys will fix their
|
||||
problems till next release
|
||||
* Mon Jan 24 2005 - ro@suse.de
|
||||
- fix swigpy build on lib64
|
||||
* Thu Jan 06 2005 - mcihar@suse.cz
|
||||
- back to 1.3.21 due to subversion incompatibility
|
||||
* Tue Dec 21 2004 - mcihar@suse.cz
|
||||
- update to 1.3.24
|
||||
- our python now has sys.lib, so no need for patching
|
||||
- spec file cleanup
|
||||
- swiglibdir is now same as upstream - $datadir/swig/version
|
||||
* Tue Nov 23 2004 - mcihar@suse.cz
|
||||
- update to 1.3.23
|
||||
- runtime no more included
|
||||
- remove most of buildrequires, as they're needed just for examples and
|
||||
they anyway don't compile out of the source directory
|
||||
* Mon Apr 19 2004 - mcihar@suse.cz
|
||||
- -fno-strict-aliasing
|
||||
* Mon Mar 08 2004 - ro@suse.de
|
||||
- added php4 to neededforbuild
|
||||
- renamed mod_php4-devel to php4-devel in neededforbuild
|
||||
* Fri Jan 23 2004 - mcihar@suse.cz
|
||||
- updated to 1.3.21
|
||||
* Thu Dec 18 2003 - mcihar@suse.cz
|
||||
- Updated to 1.3.20. This release includes a large number of
|
||||
enhancements including improved C++ support, directors, contracts, and
|
||||
more.
|
||||
* Fri Aug 15 2003 - mcihar@suse.cz
|
||||
- handle libdir correctly
|
||||
* Thu Aug 14 2003 - mcihar@suse.cz
|
||||
- try to force swig compilation to accept CFLAGS
|
||||
- cleaned up specfile
|
||||
* Wed May 28 2003 - mcihar@suse.cz
|
||||
- add -fPIC
|
||||
- fix libtool problems
|
||||
* Tue May 27 2003 - mcihar@suse.cz
|
||||
- fixed permissions for files in lib
|
||||
* Thu May 15 2003 - mcihar@suse.cz
|
||||
- fix permissions for documentation
|
||||
* Mon May 12 2003 - mcihar@suse.cz
|
||||
- use swiglibdir to have save setup as previous versions
|
||||
* Mon May 12 2003 - mcihar@suse.cz
|
||||
- updated to 1.3.19
|
||||
- compile with -fPIC (should fix #26765)
|
||||
* Thu Feb 13 2003 - mcihar@suse.cz
|
||||
- configure scripts finds correctly more requirements:
|
||||
- java includes
|
||||
- python on lib64
|
||||
- ocaml on lib64
|
||||
- build more runtimes:
|
||||
- added php4
|
||||
- fixed perl
|
||||
* Wed Jan 22 2003 - mcihar@suse.cz
|
||||
- not marking files as config, as they do not contain configuration
|
||||
- simplified file list
|
||||
* Mon Jan 06 2003 - mcihar@suse.cz
|
||||
- updated to 1.3.17:
|
||||
* added pike and ocaml bindings
|
||||
* many bugfixes
|
||||
* Tue Sep 17 2002 - ro@suse.de
|
||||
- removed bogus self-provides
|
||||
* Wed Aug 14 2002 - mls@suse.de
|
||||
- made it work with threaded perl-5.8
|
||||
* Thu Jun 27 2002 - mcihar@suse.cz
|
||||
- updated to 1.3.13
|
||||
- added more documentation (html manual and some others)
|
||||
* Tue Jun 11 2002 - mls@suse.de
|
||||
- delete bogus config.{log,status} from Examples/GIFPlot
|
||||
* Tue May 21 2002 - meissner@suse.de
|
||||
- compile with tcl again (needs --with-tclconfig)
|
||||
* Tue May 21 2002 - ro@suse.de
|
||||
- fix libdir usage
|
||||
* Mon Jan 28 2002 - tcrhak@suse.cz
|
||||
- fixed parser.yxx to compile with bison 1.32
|
||||
* Tue Jan 08 2002 - cihlar@suse.cz
|
||||
- fixed to compile with python 2.2
|
||||
* Thu Dec 06 2001 - cihlar@suse.cz
|
||||
- update to version 1.3.9:
|
||||
* many fixes and improvements
|
||||
- added libraries in /usr/lib
|
||||
* Fri Jul 27 2001 - cihlar@suse.cz
|
||||
- update to version 1.3.6
|
||||
- fixed call of suse_update_config
|
||||
- call autoconf also in subdirs
|
||||
- added xf86 to neededforbuild
|
||||
* Sat Jan 20 2001 - schwab@suse.de
|
||||
- Fix last change to do it right.
|
||||
* Fri Jan 19 2001 - cihlar@suse.cz
|
||||
- added swig1.3a5-Printv.dif.bz2 - fixed to work on ia64
|
||||
* Wed Nov 29 2000 - ro@suse.de
|
||||
- changed neededforbuild <tcld> to <tcl-devel>
|
||||
* Mon Nov 27 2000 - cihlar@suse.cz
|
||||
- removed kaffe from neededforbuild
|
||||
* Fri Nov 17 2000 - ro@suse.de
|
||||
- fixed filelist
|
||||
* Thu Nov 16 2000 - cihlar@suse.cz
|
||||
- fixed neededforbuild
|
||||
* Thu Nov 16 2000 - cihlar@suse.cz
|
||||
- update to version 1.3a5
|
||||
- fixed file list
|
||||
- fixed neededforbuild
|
||||
- improved optimalization
|
||||
* Thu Aug 24 2000 - cihlar@suse.cz
|
||||
- update to version 1.3a3
|
||||
- bzipped sources
|
||||
* Wed Aug 16 2000 - cihlar@suse.cz
|
||||
- added BuildRoot
|
||||
* Fri Jun 02 2000 - kukuk@suse.de
|
||||
- Use doc macro
|
||||
* Mon Jan 31 2000 - ro@suse.de
|
||||
- fixed to compile
|
||||
- man to /usr/share
|
||||
* Sun Oct 17 1999 - ro@suse.de
|
||||
- fixed neededforbuild
|
||||
* Fri Sep 17 1999 - kettner@suse.de
|
||||
- Reinserted old # Commandline: line.
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Mon May 03 1999 - kettner@suse.de
|
||||
- Spec file created from swig1.1p5.tar.gz by autospec
|
Loading…
Reference in New Issue
Block a user