]> git.pld-linux.org Git - packages/swig.git/commitdiff
- split libs into subpackages; rel 2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 12 Apr 2002 18:35:29 +0000 (18:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    swig.spec -> 1.27

swig.spec

index 6f0311a7cb0fcc264b0989e2481547dc6d955f06..011c56d9a0f51a8029e4ccab6e85f2e820a144a2 100644 (file)
--- a/swig.spec
+++ b/swig.spec
@@ -2,12 +2,12 @@ Summary:      Interface generator for Perl, Tcl, Guile and Python
 Summary(pl):   Generator interfejsu do Perl'a, Tcl'a, Guile'a i Python'a
 Name:          swig
 Version:       1.3.11
-Release:       1
+Release:       2
 License:       distributable
 Group:         Development/Languages
 Source0:       http://prdownloads.sourceforge.net/swig/%{name}-%{version}.tar.gz
 Patch0:                %{name}-configure.patch
-URL:           http://www.swig.org
+URL:           http://www.swig.org/
 BuildRequires: autoconf
 BuildRequires: guile-devel
 BuildRequires: libstdc++-devel
@@ -49,6 +49,61 @@ pomys
 bez ich wsparcia, SWIG nie by³by anie tak pote¿nym na¿edziem, ani tak
 fajnym w u¿yciu jak jest teraz. Wiekie dziêki!
 
+%package guile
+Summary:       SWIG library: guile
+Summary(pl):   Biblioteka SWIG: guile
+Group:         Libraries
+
+%description guile
+SWIG library: guile
+
+%description guile -l pl
+Biblioteka SWIG: guile
+
+%package perl
+Summary:       SWIG library: Perl
+Summary(pl):   Biblioteka SWIG: Perl
+Group:         Libraries
+
+%description perl
+SWIG library: perl
+
+%description perl -l pl
+Biblioteka SWIG: perl
+
+%package python
+Summary:       SWIG library: python
+Summary(pl):   Biblioteka SWIG: python
+Group:         Libraries
+
+%description python
+SWIG library: python
+
+%description python -l pl
+Biblioteka SWIG: python
+
+%package ruby
+Summary:       SWIG library: ruby
+Summary(pl):   Biblioteka SWIG: ruby
+Group:         Libraries
+
+%description ruby
+SWIG library: ruby
+
+%description ruby -l pl
+Biblioteka SWIG: ruby
+
+%package tcl
+Summary:       SWIG library: tcl
+Summary(pl):   Biblioteka SWIG: tcl
+Group:         Libraries
+
+%description tcl
+SWIG library: tcl
+
+%description tcl -l pl
+Biblioteka SWIG: tcl
+
 %prep
 %setup -q -n SWIG-%{version}
 %patch0 -p1
@@ -64,6 +119,7 @@ done
 %configure
 %{__make} OPT="%{rpmcflags}"
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/{%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
@@ -86,6 +142,29 @@ rm -rf $RPM_BUILD_ROOT
 %doc Doc *.gz
 %{_libdir}/%{name}*
 %attr(755,root,root) %{_bindir}/swig
-%attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
 %{_examplesdir}/%{name}-%{version}
+
+%files guile
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*guile.so
+%attr(755,root,root) %{_libdir}/lib*guile.la
+
+%files perl
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*pl.so
+%attr(755,root,root) %{_libdir}/lib*pl.la
+
+%files python
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*py.so
+%attr(755,root,root) %{_libdir}/lib*py.la
+
+%files ruby
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*rb.so
+%attr(755,root,root) %{_libdir}/lib*rb.la
+
+%files tcl
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*tcl*.so
+%attr(755,root,root) %{_libdir}/lib*tcl*.la
This page took 0.121106 seconds and 4 git commands to generate.