summaryrefslogtreecommitdiff
path: root/swig.spec.in
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2004-07-23 21:45:07 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2004-07-23 21:45:07 +0000
commite98c9bd876111eabfbfad84e6316d11da613912d (patch)
treee6f7d2fbf45ad54253070689d66d7c436bfa4cba /swig.spec.in
parent4176a9c72c9b0b817fb9cecefc74775554f42869 (diff)
downloadswig-e98c9bd876111eabfbfad84e6316d11da613912d.tar.gz
Patch from Robert H De Vries. RPM file generation fix for Fedora Core 1 and Redhat AS2.1.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'swig.spec.in')
-rw-r--r--swig.spec.in39
1 files changed, 13 insertions, 26 deletions
diff --git a/swig.spec.in b/swig.spec.in
index d88fbbae6..4453315f5 100644
--- a/swig.spec.in
+++ b/swig.spec.in
@@ -1,11 +1,11 @@
-# You can make the package from CVS by something like:
-# tar -cvzf swig-1.3.11cvs.tar.gz SWIG-1.3.11cvs && rpm -tb swig-1.3.11cvs.tar.gz
+# You can build the package from CVS 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://swig.sourceforge.net/
+%define home_page http://www.swig.org
%define docprefix %{prefix}/share
######################################################################
@@ -32,15 +32,6 @@ 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 and Lisp s-expressions.
-%package runtime
-Summary: Runtime libraries required for dynamically loading swig-generated modules
-Group: Development/Libraries
-
-%description runtime
-The swig-runtime package contains shared libraries used to share type
-information between swig-generated modules loaded into the same application.
-Dynamically loading swig-generated modules should use the swig-runtime libs.
-
%prep
%setup -q -n SWIG-%{version}
@@ -49,31 +40,27 @@ Dynamically loading swig-generated modules should use the swig-runtime libs.
[ ! -r configure ] && ./autogen.sh
%configure
make
-make runtime
%install
rm -rf ${RPM_BUILD_ROOT}
-# Why is exec_prefix not used in BIN_DIR in Makefile?
-%makeinstall prefix=${RPM_BUILD_ROOT}%prefix BIN_DIR=${RPM_BUILD_ROOT}%{_exec_prefix}/bin
-
-DIR=${RPM_BUILD_ROOT}
-find $DIR -type f | sed -e "s#^${RPM_BUILD_ROOT}##g" > %{name}.files
+make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
-# -f %{name}.files
-/usr/bin/*
-/usr/lib/swig*
-#%doc /usr/share/doc/swig*
-#/usr/share/doc/swig*
%defattr(-,root,root)
-
-%files runtime
-/usr/lib/lib*
+%doc ANNOUNCE CHANGES FUTURE INSTALL LICENSE NEW README TODO
+%doc Doc/*
+%{_bindir}/*
+%{_libdir}/swig1.3
+%{prefix}/share/aclocal/*
%changelog
+* 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>