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