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
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.
%prep
%setup -q
%patch0 -p1
-%patch1 -p0
+%patch1 -p1
+
+touch config.rpath
%build
%{__libtoolize}
%{__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
%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)
%{_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)