summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-09-19 18:19:32 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-09-20 22:31:50 +0100
commit623b7d97a79baea923f3a64825d3afbd94c1b24d (patch)
tree422fc52791e4094e147bea429dfcd437034e2c41
parent9081e3e87894e018912048c2e4127800efca0feb (diff)
downloadswig-623b7d97a79baea923f3a64825d3afbd94c1b24d.tar.gz
Remove swig.spec file
Discussion #2316
-rw-r--r--.gitignore1
-rw-r--r--CHANGES.current5
-rw-r--r--Makefile.in11
-rw-r--r--configure.ac1
-rw-r--r--swig.spec.in70
5 files changed, 6 insertions, 82 deletions
diff --git a/.gitignore b/.gitignore
index 4fee29d54..307def526 100644
--- a/.gitignore
+++ b/.gitignore
@@ -81,7 +81,6 @@ Tools/javascript/Makefile
config.log
config.status
preinst-swig
-swig.spec
# Build Artifacts
.dirstamp
diff --git a/CHANGES.current b/CHANGES.current
index bb96c581f..fd180c31c 100644
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -7,6 +7,11 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
Version 4.1.0 (in progress)
===========================
+2022-09-19: wsfulton
+ #2316 Remove swig.spec file and srcrpm makefile target. These are very out of date
+ and don't seem to be used by RPM based Linux distributions which have their
+ own version of swig.spec.
+
2022-09-17: wsfulton
[Go, Guile, Racket, Scilab] Add throws typemaps for std::string so that thrown
string exception messages can be seen.
diff --git a/Makefile.in b/Makefile.in
index f4cb794d8..a1cb423e4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -340,7 +340,7 @@ clean-ccache:
# DISTCLEAN - clean what configure built
#####################################################################
-DISTCLEAN-DEAD = config.status config.log config.cache swig.spec Makefile mkmf.log preinst-swig
+DISTCLEAN-DEAD = config.status config.log config.cache Makefile mkmf.log preinst-swig
distclean-helper: distclean-test-suite distclean-examples distclean-tools distclean-dead
@@ -505,15 +505,6 @@ dist:
@echo "Tools/mkdist.py @VERSION@ master"
@false
-srcrpm:
- rm -fr $(srpm) $(srpm).src.rpm
- echo "TODO: update to use git instead of cvs"
- cvs export -d $(srpm) -r HEAD SWIG
- cp swig.spec $(srpm)
- tar -cf - $(srpm) | gzip --best > $(srpm).tar.gz
- rm -fr $(srpm)
- rpmbuild -ts $(srpm).tar.gz
-
# Update the autoconf files for detecting host/targets. Automake will do this in
# version 1.10 for our case of not having a top level Makefile.am. Until then we
# can fetch them manually and will have to commit them to Git.
diff --git a/configure.ac b/configure.ac
index b3b1a8e48..db0856dcd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2837,7 +2837,6 @@ AC_SUBST(SWIG_LIB_SET)
AC_CONFIG_FILES([
Makefile
- swig.spec
Examples/Makefile
Examples/d/example.mk
Examples/xml/Makefile
diff --git a/swig.spec.in b/swig.spec.in
deleted file mode 100644
index 140b96206..000000000
--- a/swig.spec.in
+++ /dev/null
@@ -1,70 +0,0 @@
-# You can build the package from Git using something like:
-# tar -czf swig-@PACKAGE_VERSION@.tar.gz swig-@PACKAGE_VERSION@ && rpmbuild -tb swig-@PACKAGE_VERSION@.tar.gz
-# @configure_input@
-
-%define ver @PACKAGE_VERSION@
-%define rel 1
-%define prefix /usr
-%define home_page http://www.swig.org
-%define docprefix %{prefix}/share
-
-######################################################################
-# Usually, nothing needs to be changed below here between releases
-######################################################################
-Summary: Simplified Wrapper and Interface Generator
-Name: swig
-Version: %{ver}
-Release: %{rel}
-URL: %{home_page}
-Source0: %{name}-%{version}.tar.gz
-License: BSD
-Group: Development/Tools
-BuildRoot: %{_tmppath}/%{name}-root
-
-%description
-SWIG is a software development tool that connects programs written in C and C++
-with a variety of high-level programming languages. SWIG is primarily used with
-common scripting languages such as Perl, Python, Tcl/Tk, and Ruby, however the
-list of supported languages also includes non-scripting languages such as Java,
-OCAML and C#. Also several interpreted and compiled Scheme implementations
-(Guile, MzScheme) are supported. SWIG is most commonly used to create
-high-level interpreted or compiled programming environments, user interfaces,
-and as a tool for testing and prototyping C/C++ software. SWIG can also export
-its parse tree in the form of XML.
-
-%prep
-%setup -q -n %{name}-%{version}
-
-%build
-# so we can build package from Git source too
-[ ! -r configure ] && ./autogen.sh
-%configure
-make
-
-%install
-rm -rf ${RPM_BUILD_ROOT}
-make DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-rm -rf ${RPM_BUILD_ROOT}
-
-%files
-%defattr(-,root,root)
-%doc ANNOUNCE CHANGES INSTALL LICENSE LICENSE-GPL LICENSE-UNIVERSITIES README RELEASENOTES
-%doc Doc/*
-%{_bindir}/*
-%{prefix}/share/*
-
-%changelog
-* Thu Sep 16 2004 Marcelo Matus <mmatus@acms.arizona.edu>
-- Small fixes needed after removing the runtime package
-* Tue Jul 20 2004 William Fulton <wsf@fultondesigns.co.uk>
-- Update for SWIG-1.3.22 - Removed runtime package
-* Wed Mar 03 2004 Robert H De Vries
-- Update to work with Fedora Core 1 rpm 4.2.1
-* Wed Jul 24 2002 Sam Liddicott <sam@liddicott.com>
-- Added runtime package of runtime libs
-* Mon Sep 10 2001 Tony Seward <anthony.seward@ieee.org>
-- Merge Red Hat's and Dustin Mitchell's .spec files.
-- Install all of the examples in the documentation directory.
-- Auto create the list of installed files.