SPECS: swig.spec - up to 1.3.25 - note: since 1.3.22 the runtime l...

saq saq at pld-linux.org
Mon Jun 27 01:51:23 CEST 2005


Author: saq                          Date: Sun Jun 26 23:51:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.3.25
- note: since 1.3.22 the runtime libraries are not built nor required

---- Files affected:
SPECS:
   swig.spec (1.66 -> 1.67) 

---- Diffs:

================================================================
Index: SPECS/swig.spec
diff -u SPECS/swig.spec:1.66 SPECS/swig.spec:1.67
--- SPECS/swig.spec:1.66	Mon Jun  6 14:44:53 2005
+++ SPECS/swig.spec	Mon Jun 27 01:51:17 2005
@@ -12,15 +12,14 @@
 Summary(pl):	Generator interfejsów do Perla, Tcl-a, Guile'a i Pythona
 Summary(pt_BR):	Gerador de Interfaces e "Wrappers" Simplificado (SWIG)
 Name:		swig
-Version:	1.3.21
-Release:	5
+Version:	1.3.25
+Release:	1
 License:	distributable
 Group:		Development/Languages
 Source0:	http://dl.sourceforge.net/swig/%{name}-%{version}.tar.gz
-# Source0-md5:	88ff5b99be3eafebb8a6e20f4f986c04
+# Source0-md5:	0a338d9de65e266338cbe7e2bea7a4a9
 Patch0:		%{name}-format.patch
 Patch1:		%{name}-php.patch
-Patch2:		%{name}-php-tsrm.patch
 Patch3:		%{name}-php-freearg.patch
 Patch4:		%{name}-php-vdecl.patch
 Patch5:		%{name}-python-lib64.patch
@@ -81,6 +80,7 @@
 Summary:	SWIG library: guile
 Summary(pl):	Biblioteka SWIG: guile
 Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description guile
 SWIG library: guile.
@@ -92,6 +92,7 @@
 Summary:	SWIG library: Perl
 Summary(pl):	Biblioteka SWIG: Perl
 Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description perl
 SWIG library: perl.
@@ -103,6 +104,7 @@
 Summary:	SWIG library: php
 Summary(pl):	Biblioteka SWIG: php
 Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description php
 SWIG library: php.
@@ -114,6 +116,7 @@
 Summary:	SWIG library: python
 Summary(pl):	Biblioteka SWIG: python
 Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description python
 SWIG library: python.
@@ -125,6 +128,7 @@
 Summary:	SWIG library: ruby
 Summary(pl):	Biblioteka SWIG: ruby
 Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description ruby
 SWIG library: ruby.
@@ -136,6 +140,7 @@
 Summary:	SWIG library: tcl
 Summary(pl):	Biblioteka SWIG: tcl
 Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description tcl
 SWIG library: tcl.
@@ -144,10 +149,9 @@
 Biblioteka SWIG: tcl.
 
 %prep
-%setup -q -n SWIG-%{version}
+%setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %if "%{_lib}" == "lib64"
@@ -158,16 +162,17 @@
 %{__libtoolize}
 %{__aclocal} -I Tools/config
 %{__autoconf}
+%{__automake}
 %configure
 
-%{__make} source runtime \
+%{__make} source \
 	OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
 
-%{__make} install install-runtime \
+%{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	M4_INSTALL_DIR=$RPM_BUILD_ROOT%{_aclocaldir}
 
@@ -200,55 +205,48 @@
 %files
 %defattr(644,root,root,755)
 %doc Doc CHANGES NEW README ANNOUNCE TODO LICENSE
-%{_libdir}/%{name}*
 %attr(755,root,root) %{_bindir}/swig
-%{_aclocaldir}/swig.m4
+%{_datadir}/%{name}
+%{?with_guile:%exclude %{_datadir}/%{name}/%{version}/guile}
+%{?with_perl:%exclude %{_datadir}/%{name}/%{version}/perl5}
+%{?with_php:%exclude %{_datadir}/%{name}/%{version}/php4}
+%exclude %{_datadir}/%{name}/%{version}/python
+%{?with_ruby:%exclude %{_datadir}/%{name}/%{version}/ruby}
+%{?with_tcl:%exclude %{_datadir}/%{name}/%{version}/tcl}
 %{_examplesdir}/%{name}-%{version}
 
 %if %{with guile}
 %files guile
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswigguile*.so.*.*.*
-%attr(755,root,root) %{_libdir}/libswigguile*.so
-%{_libdir}/libswigguile*.la
+%{_datadir}/%{name}/%{version}/guile
 %endif
 
 %if %{with perl}
 %files perl
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswigpl.so.*.*.*
-%attr(755,root,root) %{_libdir}/libswigpl.so
-%{_libdir}/libswigpl.la
+%{_datadir}/%{name}/%{version}/perl5
 %endif
 
 %if %{with php}
 %files php
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswigphp4.so.*.*.*
-%attr(755,root,root) %{_libdir}/libswigphp4.so
-%{_libdir}/libswigphp4.la
+%{_datadir}/%{name}/%{version}/php4
 %endif
 
 %files python
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswigpy.so.*.*.*
-%attr(755,root,root) %{_libdir}/libswigpy.so
-%{_libdir}/libswigpy.la
+%{_datadir}/%{name}/%{version}/python
 
 %if %{with ruby}
 %files ruby
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswigrb.so.*.*.*
-%attr(755,root,root) %{_libdir}/libswigrb.so
-%{_libdir}/libswigrb.la
+%{_datadir}/%{name}/%{version}/ruby
 %endif
 
 %if %{with tcl}
 %files tcl
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libswigtcl*.so.*.*.*
-%attr(755,root,root) %{_libdir}/libswigtcl*.so
-%{_libdir}/libswigtcl*.la
+%{_datadir}/%{name}/%{version}/tcl
 %endif
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -257,6 +255,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2005/06/26 23:51:17  saq
+- up to 1.3.25
+- note: since 1.3.22 the runtime libraries are not built nor required
+
 Revision 1.66  2005/06/06 12:44:53  qboosh
 - reverted to working 1.3.21-5 (rev. 1.63)
   swig 1.3.24 in building state is on DEVEL branch (but apps are not ready for it)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/swig.spec?r1=1.66&r2=1.67&f=u




More information about the pld-cvs-commit mailing list