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