This commit is contained in:
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
|
Reference in New Issue
Block a user