X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=g-wrap.spec;h=0255cc1d8ae32ec7bb293bdea1dee41581d3ccc2;hb=2515e6f1be631d4a724106b0816ab067fe73c08b;hp=25243c18c2b1064e8d8f03160ef1ec72696a10f0;hpb=76dd16c9f4865b0f6b398a4b45027fddc980ff5f;p=packages%2Fg-wrap.git diff --git a/g-wrap.spec b/g-wrap.spec index 25243c1..0255cc1 100644 --- a/g-wrap.spec +++ b/g-wrap.spec @@ -1,13 +1,22 @@ Summary: A tool for exporting C libraries into Scheme interpreters +Summary(pl): Narzêdzie do eksportowania bibliotek C do interpreterów Scheme Name: g-wrap -Version: 0.9.1 -Release: 2 +Version: 1.1.10 +Release: 5 License: GPL Group: Libraries +Group(de): Libraries +Group(es): Bibliotecas Group(fr): Librairies Group(pl): Biblioteki +Group(pt_BR): Bibliotecas +Group(ru): âÉÂÌÉÏÔÅËÉ +Group(uk): â¦Â̦ÏÔÅËÉ Source0: ftp://ftp.gnucash.org/pub/g-wrap/%{name}-%{version}.tar.gz +Patch0: %{name}-info.patch BuildRequires: guile-devel >= 1.4 +BuildRequires: texinfo +BuildRequires: slib BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -15,42 +24,63 @@ 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. + %package devel -Summary: headers for developing programs using g-wrap +Summary: Headers for developing programs using g-wrap +Summary(pl): Pliki nag³ówkowe do rozwijnia programów z u¿yciem g-wrap Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: %{name} = %{version} %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. + %package static Summary: Static libraries for developing programs using g-wrap Summary(pl): Biblioteki statyczne g-wrap Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: %{name}-devel = %{version} %description static Static libraries for developing programs using g-wrap. +%description static -l pl +Statyczne biblioteki g-wrap. + %prep %setup -q +%patch -p1 %build -LDFLAGS="-s"; export LDFLAGS -%configure +%configure2_13 %{__make} %install rm -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT -strip --strip-unneed $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* +%{__make} install DESTDIR=$RPM_BUILD_ROOT -gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* NEWS README +gzip -9nf NEWS README ChangeLog %clean rm -rf $RPM_BUILD_ROOT @@ -67,21 +97,23 @@ rm -rf $RPM_BUILD_ROOT %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}/* -%{_datadir}/guile/site/g-wrap -%{_datadir}/guile/site/g-wrap.scm +%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 %files devel %defattr(644,root,root,755) -%doc {NEWS,README}.gz +%doc *.gz %attr(755,root,root) %{_bindir}/g-wrap-config %attr(755,root,root) %{_libdir}/lib*.so -%attr(755,root,root) %{_libdir}/lib*.la +%attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so %{_includedir}/*.h -%{_infodir}/* +%{_infodir}/*info*gz %files static %defattr(644,root,root,755) %{_libdir}/lib*.a +%{_datadir}/guile/g-wrapped/lib*.a