]> git.pld-linux.org Git - packages/g-wrap.git/blame - g-wrap.spec
- updated to 1.1.10
[packages/g-wrap.git] / g-wrap.spec
CommitLineData
fb018e96 1Summary: A tool for exporting C libraries into Scheme interpreters
2Name: g-wrap
349562d8 3Version: 1.1.10
14e039ea 4Release: 1
fb018e96 5License: GPL
6Group: Libraries
80984df2 7Group(de): Libraries
80875be3 8Group(fr): Librairies
fb018e96 9Group(pl): Biblioteki
80875be3 10Source0: ftp://ftp.gnucash.org/pub/g-wrap/%{name}-%{version}.tar.gz
80984df2 11Patch0: %{name}-info.patch
76dd16c9 12BuildRequires: guile-devel >= 1.4
80984df2 13BuildRequires: texinfo
349562d8 14BuildRequires: slib
80875be3 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
fb018e96 16
17%description
18This is a tool for specifying types, functions, and constants to
19import into a Scheme interpreter, and for generating code (in C) to
20interface these to the Guile and RScheme interpreters in particular.
21
22%package devel
80875be3 23Summary: headers for developing programs using g-wrap
24Group: Development/Libraries
80984df2 25Group(de): Entwicklung/Libraries
80875be3 26Group(fr): Development/Librairies
27Group(pl): Programowanie/Biblioteki
28Requires: %{name} = %{version}
fb018e96 29
30%description devel
80875be3 31headers for developing programs using g-wrap.
fb018e96 32
33%package static
80875be3 34Summary: Static libraries for developing programs using g-wrap
35Summary(pl): Biblioteki statyczne g-wrap
36Group: Development/Libraries
80984df2 37Group(de): Entwicklung/Libraries
80875be3 38Group(fr): Development/Librairies
39Group(pl): Programowanie/Biblioteki
40Requires: %{name}-devel = %{version}
fb018e96 41
42%description static
43Static libraries for developing programs using g-wrap.
fb018e96 44
45%prep
46%setup -q
80984df2 47%patch -p1
fb018e96 48
fb018e96 49%build
50%configure
37783ab1 51%{__make}
fb018e96 52
53%install
54rm -rf $RPM_BUILD_ROOT
80984df2 55
822db3ee 56%{__make} install DESTDIR=$RPM_BUILD_ROOT
fb018e96 57
3cd4cb75 58gzip -9nf NEWS README ChangeLog
fb018e96 59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%post -p /sbin/ldconfig
64%postun -p /sbin/ldconfig
65
66%post devel
67[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
68
69%postun devel
70[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
71
72%files
73%defattr(644,root,root,755)
74%attr(755,root,root) %{_libdir}/lib*.so.*.*
349562d8 75%{_datadir}/guile/g-wrap
76%{_datadir}/guile/g-wrap.scm
fb018e96 77
78%files devel
79%defattr(644,root,root,755)
3cd4cb75 80%doc {NEWS,README,ChangeLog}.gz
fb018e96 81%attr(755,root,root) %{_bindir}/g-wrap-config
82%attr(755,root,root) %{_libdir}/lib*.so
83%attr(755,root,root) %{_libdir}/lib*.la
84%{_includedir}/*.h
85%{_infodir}/*
86
87%files static
88%defattr(644,root,root,755)
89%{_libdir}/lib*.a
This page took 0.10522 seconds and 4 git commands to generate.