Accepting request 29348 from devel:tools:building

Copy from devel:tools:building/swig based on submit request 29348 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/swig?expand=0&rev=14
This commit is contained in:
OBS User autobuild 2010-02-11 18:01:01 +00:00 committed by Git OBS Bridge
parent 65136e88e3
commit a6ac6b6feb
4 changed files with 68 additions and 247 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfae3308533aa671dd9912612cc59de9109d161efc203d7c58f3ba370f48040a
size 3705329

3
swig-1.3.40.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80b7dc8c05564b6053bc98c6b899e41ae894438d8da2971ad6c57b4765d390c5
size 3947155

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Thu Dec 17 10:21:40 UTC 2009 - kkaempf@novell.com
- tune .spec file to build on multiple distros
-------------------------------------------------------------------
Wed Dec 16 10:29:50 CET 2009 - jengelh@medozas.de
- package documentation as noarch
-------------------------------------------------------------------
Tue Nov 24 14:16:48 CET 2009 - kkaempf@suse.de
- updated to 1.3.40
* SWIG now supports directors for PHP.
* PHP support improved in general.
* Octave 3.2 support added.
* Various bug fixes/enhancements for Allegrocl, C#, Java, Octave,
Perl, Python, Ruby and Tcl.
* Other generic fixes and minor new features.
-------------------------------------------------------------------
Wed Aug 12 14:31:43 CEST 2009 - mmarek@suse.cz
- updated to 1.3.39
* Python 3 support added
* PHP4 support dropped
* many bugfixes and improvements
- ccache support disabled as it didn't work (todo after 11.2)
-------------------------------------------------------------------
Tue Oct 21 10:01:26 CEST 2008 - mmarek@suse.cz

279
swig.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package swig (Version 1.3.36)
# spec file for package swig (Version 1.3.40)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,36 @@
Name: swig
BuildRequires: boost-devel gcc-c++ python-devel
BuildRequires: perl python-devel
%if 0%{?rhel_version} > 0
BuildRequires: -vim
%endif
%if 0%{?fedora} + 0%{?rhel_version} > 0
BuildRequires: pkgconfig ruby-devel
%if 0%{?rhel_version} == 0
BuildRequires: perl-devel
%endif
%endif
%if 0%{?suse_version} > 0
%if 0%{?suse_version} > 1020
BuildRequires: fdupes
%endif
# SLE9
%if 0%{?suse_version} < 920
BuildRequires: pkgconfig ruby
%else
# SLE10 and up
BuildRequires: ruby-devel
BuildRequires: pkg-config
%endif
%endif
Url: http://www.swig.org
License: BSD 3-Clause
License: BSD3c
Group: Development/Languages/C and C++
AutoReqProv: on
Summary: Simplified Wrapper and Interface Generator
Version: 1.3.36
Release: 2
Version: 1.3.40
Release: 1
Source: swig-%{version}.tar.bz2
Patch1: swig-1.3.36-perl-long-long.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -49,10 +72,13 @@ Authors:
William S Fulton <wsf@fultondesigns.co.uk>
%package doc
License: BSD 3-Clause
License: BSD3c
Summary: SWIG Manual
Group: Development/Languages/C and C++
Requires: swig
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description doc
SWIG is a compiler that attempts to make it easy to integrate C, C++,
@ -73,7 +99,7 @@ Authors:
Dave Beazley <beazley@cs.utah.edu>
%package examples
License: BSD 3-Clause
License: BSD3c
Summary: SWIG example files
Group: Development/Languages/C and C++
Requires: swig
@ -113,7 +139,8 @@ export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
./configure \
--prefix=/usr \
--libdir=%{_libdir}
--libdir=%{_libdir} \
--disable-ccache
make %{?jobs:-j%jobs}
make check
@ -155,239 +182,3 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/swig
%changelog
* Tue Oct 21 2008 mmarek@suse.cz
- fixed two integer overflows in perlprimtypes.swg. These were
actually why the two tests on ppc failed. *sigh* (bnc#431945)
* Fri Sep 26 2008 mmarek@suse.cz
- disable two perl tests on ppc
* Wed Sep 24 2008 mmarek@suse.cz
- updated to 1.3.36
* Enhancement to directors to wrap all protected members
* Optimisation feature for objects returned by value
* A few bugs fixes in the PHP, Java, Ruby, R, C#, Python, Lua and
Perl modules
* Other minor generic bug fixes
* Tue Apr 08 2008 mmarek@suse.cz
- updated to 1.3.35
* Octave language module added
* Bug fixes in Python, Lua, Java, C#, Perl modules
* A few other generic bugs and runtime assertions fixed
* Wed Mar 26 2008 mmarek@suse.cz
- remove the croak patch, croak(Nullch) is correct (see
https://sourceforge.net/tracker/?func=detail&atid=301645&aid=1925121&group_id=1645)
- testsuite-warnings.patch not needed
* Thu Mar 20 2008 pth@suse.de
- define SWIG_croak_null as croak("%%s","") not croak(Nullch)
as croak is defined to take a string constant as 1st arg.
- Don't return an unitialized local variable in template code.
- Bracket if clauses so that the compiler doesn't warn in template code.
* Fri Feb 29 2008 mmarek@suse.cz
- updated to 1.3.34
+ shared_ptr support for Python
+ Support for latest R - version 2.6
+ Various minor improvements/bug fixes for R, Lua, Python, Java,
C#
+ A few other generic bug fixes, mainly for templates and using
statements
* Wed Nov 28 2007 mmarek@suse.cz
- updated to 1.3.33
+ shared_ptr support for Java and C#
+ Enhanced STL support for Ruby
+ Fixed long-standing memory leak in PHP Module
+ Numerous fixes and minor enhancements for Allegrocl, C#, cffi,
Chicken, Guile, Java, Lua, Ocaml, Perl, PHP, Python, Ruby, Tcl
+ Improved warning support
* Wed Sep 19 2007 mmarek@suse.cz
- don't "update" autofoo when building for older dists in the
buildservice
* Tue May 29 2007 mmarek@suse.cz
- install examples in '%%_libdir/swig/examples' (not Examples) to
pass the devel-file-in-non-devel-package rpmlint check
* Thu May 24 2007 mmarek@suse.cz
- fixed some rpmlint errors
* Wed Apr 04 2007 mmarek@suse.cz
- install the precompiled examples to %%_libdir/swig
* Wed Jan 24 2007 mmarek@suse.cz
- temporarily disabled li_std_string run test under perl5 on ix86
and s390
- build examples and testsuite with -fno-strict-aliasing (packages
using swig & python should do the same for now)
- fixed testsuite-warnings.patch
* Fri Dec 15 2006 mmarek@suse.cz
- updated to 1.3.31, for changes see
http://swig.svn.sourceforge.net/viewvc/swig/trunk/CHANGES?r1=9073&r2=9585&diff_format=u
* 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)
* Thu Nov 03 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