]> git.pld-linux.org Git - packages/g-wrap.git/blobdiff - g-wrap.spec
- rel 4; add git fixes for guile 2
[packages/g-wrap.git] / g-wrap.spec
index 9b0cf0e10aa28deb407f6fd6c42a8ffac4369f88..01f1118e6aa79d3199d8ad7933c9d725735201e3 100644 (file)
@@ -2,15 +2,15 @@ Summary:      A utility for automatically generating glue code to export C libraries
 Summary(pl.UTF-8):     Narzędzie do eksportowania bibliotek C do interpreterów Scheme
 Summary(pt_BR.UTF-8):  Um utilitário para geração automática de código para exportar bibliotecas C para guile scheme e rscheme
 Name:          g-wrap
-Version:       1.9.9
-Release:       2
+Version:       1.9.13
+Release:       4
 Epoch:         2
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://download.savannah.gnu.org/releases/g-wrap/%{name}-%{version}.tar.gz
-# Source0-md5: 9014d7ed8d395ff335a6a4bf5778ed4e
+# Source0-md5: 5952a389fd00f123dfb86d269a1d6d67
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-srfi-35-fixes.patch
+Patch1:                %{name}-git.patch
 URL:           http://www.nongnu.org/g-wrap/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1.5
@@ -45,6 +45,7 @@ Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para o g-wrap
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      guile-devel >= 5:1.8
+Requires:      libffi-devel
 
 %description devel
 headers for developing programs using g-wrap.
@@ -74,7 +75,9 @@ Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p0
+%patch1 -p1
+
+touch config.rpath
 
 %build
 %{__libtoolize}
@@ -93,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/g-wrap/modules/libgw-*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/g-wrap/modules/libgw-*.{a,la}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -101,24 +104,25 @@ rm -rf $RPM_BUILD_ROOT
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%post devel    -p      /sbin/postshell
+%post  devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel  -p      /sbin/postshell
+%postun        devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_libdir}/libgwrap-core-runtime.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgwrap-core-runtime.so.2
 %attr(755,root,root) %{_libdir}/libgwrap-guile-runtime.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgwrap-guile-runtime.so.2
 %dir %{_libdir}/g-wrap
 %dir %{_libdir}/g-wrap/modules
 %attr(755,root,root) %{_libdir}/g-wrap/modules/libgw-guile-gw-glib.so*
 %attr(755,root,root) %{_libdir}/g-wrap/modules/libgw-guile-standard.so*
 %{_datadir}/guile/site/g-wrap
 %{_datadir}/guile/site/g-wrap.scm
-%{_infodir}/g-wrap.info*
 
 %files devel
 %defattr(644,root,root,755)
@@ -131,6 +135,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/g-wrap-wct.h
 %{_pkgconfigdir}/g-wrap-2.0-guile.pc
 %{_aclocaldir}/g-wrap.m4
+%{_mandir}/man1/g-wrap-config.1*
+%{_infodir}/g-wrap.info*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.053766 seconds and 4 git commands to generate.