]> git.pld-linux.org Git - packages/g-wrap.git/blobdiff - g-wrap.spec
- fix building with texinfo 5
[packages/g-wrap.git] / g-wrap.spec
index 9df16f95fca52dd5ab512ffe501e0c5aafebce37..26056683d9df858557715090e7de420c81eba73c 100644 (file)
@@ -1,18 +1,26 @@
 Summary:       A utility for automatically generating glue code to export C libraries to Guile Scheme and RScheme
-Summary(pl):   Narzêdzie do eksportowania bibliotek C do interpreterów Scheme
-Summary(pt_BR):        Um utilitário para geração automática de código para exportar bibliotecas C para guile scheme e 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:       1.2.1
-Release:       1
+Version:       1.9.14
+Release:       3
 Epoch:         2
-License:       GPL
+License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://www.gnucash.org/pub/g-wrap/source/%{name}-%{version}.tar.gz
+Source0:       http://download.savannah.gnu.org/releases/g-wrap/%{name}-%{version}.tar.gz
+# Source0-md5: fef7ec5e2ff5192221ed6e97fe93bcb9
 Patch0:                %{name}-info.patch
-Patch1:                %{name}-ac_am_cflags.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
-BuildRequires: slib
+Requires:      guile >= 5:1.8.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -20,68 +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
-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 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
-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
+%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(pl):   Pliki nag³ówkowe do rozwijnia programów z u¿yciem g-wrap
-Summary(pt_BR):        Arquivos de inclusão e bibliotecas para o 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
-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
-Pliki nag³ówkowe do rozwijania programów z u¿yciem 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
+%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(pt_BR):        Bibliotecas estáticas para desenvolvimento com 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
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 Static libraries for developing programs using g-wrap.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczne biblioteki g-wrap.
 
-%description static -l pt_BR
-Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap.
+%description static -l pt_BR.UTF-8
+Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
-libtoolize -c -f
-aclocal
-autoconf
-automake -a -c -f
-%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
@@ -89,33 +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
+%post  devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%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) %{_libdir}/lib*.la
-%attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so.*
-%attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.la
-%{_datadir}/guile/g-wrap
-%{_datadir}/guile/g-wrap.scm
-%{_datadir}/guile/g-wrapped/*.scm
+%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 *.gz
 %attr(755,root,root) %{_bindir}/g-wrap-config
-%attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so
-%{_includedir}/*.h
-%{_infodir}/*info*gz
-%{_aclocaldir}/*.m4
+%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
-%{_datadir}/guile/g-wrapped/lib*.a
+%{_libdir}/libgwrap-guile-runtime.a
+%{_libdir}/libgwrap-core-runtime.a
This page took 0.569707 seconds and 4 git commands to generate.