X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=g-wrap.spec;h=26056683d9df858557715090e7de420c81eba73c;hb=6580e52aa53a0691e81a82e629970cbef65311e7;hp=6780ae05baa506336b7be6f06d1c596d42d3d721;hpb=80984df2fb06b05134c312411b7c7fa46c397e41;p=packages%2Fg-wrap.git diff --git a/g-wrap.spec b/g-wrap.spec index 6780ae0..2605668 100644 --- a/g-wrap.spec +++ b/g-wrap.spec @@ -1,16 +1,26 @@ -Summary: A tool for exporting C libraries into Scheme interpreters +Summary: A utility for automatically generating glue code to export C libraries to Guile Scheme and RScheme +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: 0.9.6 -Release: 1 -License: GPL +Version: 1.9.14 +Release: 3 +Epoch: 2 +License: LGPL v2.1+ Group: Libraries -Group(de): Libraries -Group(fr): Librairies -Group(pl): Biblioteki -Source0: ftp://ftp.gnucash.org/pub/g-wrap/%{name}-%{version}.tar.gz +Source0: http://download.savannah.gnu.org/releases/g-wrap/%{name}-%{version}.tar.gz +# Source0-md5: fef7ec5e2ff5192221ed6e97fe93bcb9 Patch0: %{name}-info.patch -BuildRequires: guile-devel >= 1.4 +URL: http://www.nongnu.org/g-wrap/ +BuildRequires: autoconf >= 2.50 +BuildRequires: automake >= 1.5 +BuildRequires: glib2-devel >= 2.0 +BuildRequires: guile-devel >= 5:1.8.3 +BuildRequires: libffi-devel +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libffi) BuildRequires: texinfo +Requires: guile >= 5:1.8.3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -18,43 +28,72 @@ This is a tool for specifying types, functions, and constants to import into a Scheme interpreter, and for generating code (in C) to interface these to the Guile and RScheme interpreters in particular. +%description -l pl.UTF-8 +To jest narzędzie do specyfikowania typów, funkcji i stałych dla +interpretera Scheme i generowania kodu (w C) do udostępnienia ich dla +interpreterów Guile i RScheme. + +%description -l pt_BR.UTF-8 +O g-wrap é uma ferramenta para especificar tipos, funções e constantes +para importação em um interpretador scheme e para geração de código em +C para fazer a interface com os interpretadores guile e rscheme. + %package devel -Summary: headers for developing programs using g-wrap +Summary: Headers for developing programs using g-wrap +Summary(pl.UTF-8): Pliki nagłówkowe do rozwijnia programów z użyciem g-wrap +Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para o g-wrap Group: Development/Libraries -Group(de): Entwicklung/Libraries -Group(fr): Development/Librairies -Group(pl): Programowanie/Biblioteki -Requires: %{name} = %{version} +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: guile-devel >= 5:1.8.3 +Requires: libffi-devel %description devel headers for developing programs using g-wrap. +%description devel -l pl.UTF-8 +Pliki nagłówkowe do rozwijania programów z użyciem g-wrap. + +%description devel -l pt_BR.UTF-8 +Arquivos de inclusao e bibliotecas para o g-wrap. + %package static Summary: Static libraries for developing programs using g-wrap -Summary(pl): Biblioteki statyczne g-wrap +Summary(pl.UTF-8): Biblioteki statyczne g-wrap +Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com g-wrap Group: Development/Libraries -Group(de): Entwicklung/Libraries -Group(fr): Development/Librairies -Group(pl): Programowanie/Biblioteki -Requires: %{name}-devel = %{version} +Requires: %{name}-devel = %{epoch}:%{version}-%{release} %description static Static libraries for developing programs using g-wrap. +%description static -l pl.UTF-8 +Statyczne biblioteki g-wrap. + +%description static -l pt_BR.UTF-8 +Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap. + %prep %setup -q -%patch -p1 +%patch0 -p1 %build -%configure +%{__libtoolize} +%{__aclocal} -I m4 +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --disable-Werror + %{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT -gzip -9nf NEWS README ChangeLog +%{__rm} $RPM_BUILD_ROOT%{_libdir}/g-wrap/modules/libgw-*.{a,la} %clean rm -rf $RPM_BUILD_ROOT @@ -62,30 +101,41 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%post devel -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 - -%postun devel -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%post devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} + +%postun devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} %files %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/lib*.so.*.* -%attr(755,root,root) %{_bindir}/g-scan -%attr(755,root,root) %{_bindir}/g-wrap -%attr(755,root,root) %{_libexecdir}/* +%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 %files devel %defattr(644,root,root,755) -%doc {NEWS,README,ChangeLog}.gz %attr(755,root,root) %{_bindir}/g-wrap-config -%attr(755,root,root) %{_libdir}/lib*.so -%attr(755,root,root) %{_libdir}/lib*.la -%{_includedir}/*.h -%{_infodir}/* +%attr(755,root,root) %{_libdir}/libgwrap-core-runtime.so +%attr(755,root,root) %{_libdir}/libgwrap-guile-runtime.so +%{_libdir}/libgwrap-core-runtime.la +%{_libdir}/libgwrap-guile-runtime.la +%{_includedir}/g-wrap +%{_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) -%{_libdir}/lib*.a +%{_libdir}/libgwrap-guile-runtime.a +%{_libdir}/libgwrap-core-runtime.a