]> git.pld-linux.org Git - packages/g-wrap.git/blame - g-wrap.spec
- Release 4.
[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
69b67913 4Release: 4
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
ba8cfba6 50%configure2_13
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
ba8cfba6 61rm -rf $RPM_BUILD_ROOT
fb018e96 62
63%post -p /sbin/ldconfig
64%postun -p /sbin/ldconfig
65
66%post devel
eddcb997 67[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
fb018e96 68
69%postun devel
eddcb997 70[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
fb018e96 71
72%files
73%defattr(644,root,root,755)
74%attr(755,root,root) %{_libdir}/lib*.so.*.*
69b67913 75%attr(755,root,root) %{_libdir}/lib*.la
32ba46fb 76%attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so.*
69b67913 77%attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.la
349562d8 78%{_datadir}/guile/g-wrap
79%{_datadir}/guile/g-wrap.scm
32ba46fb 80%{_datadir}/guile/g-wrapped/*.scm
fb018e96 81
82%files devel
83%defattr(644,root,root,755)
ba8cfba6 84%doc *.gz
fb018e96 85%attr(755,root,root) %{_bindir}/g-wrap-config
86%attr(755,root,root) %{_libdir}/lib*.so
32ba46fb 87%attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so
fb018e96 88%{_includedir}/*.h
89%{_infodir}/*
90
91%files static
92%defattr(644,root,root,755)
93%{_libdir}/lib*.a
32ba46fb 94%{_datadir}/guile/g-wrapped/lib*.a
This page took 0.183202 seconds and 4 git commands to generate.