]> git.pld-linux.org Git - packages/g-wrap.git/blob - g-wrap.spec
- Release 4.
[packages/g-wrap.git] / g-wrap.spec
1 Summary:        A tool for exporting C libraries into Scheme interpreters
2 Name:           g-wrap
3 Version:        1.1.10
4 Release:        4
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 BuildRequires:  slib
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This is a tool for specifying types, functions, and constants to
19 import into a Scheme interpreter, and for generating code (in C) to
20 interface these to the Guile and RScheme interpreters in particular.
21
22 %package devel
23 Summary:        headers for developing programs using g-wrap
24 Group:          Development/Libraries
25 Group(de):      Entwicklung/Libraries
26 Group(fr):      Development/Librairies
27 Group(pl):      Programowanie/Biblioteki
28 Requires:       %{name} = %{version}
29
30 %description devel
31 headers for developing programs using g-wrap.
32
33 %package static
34 Summary:        Static libraries for developing programs using g-wrap
35 Summary(pl):    Biblioteki statyczne g-wrap
36 Group:          Development/Libraries
37 Group(de):      Entwicklung/Libraries
38 Group(fr):      Development/Librairies
39 Group(pl):      Programowanie/Biblioteki
40 Requires:       %{name}-devel = %{version}
41
42 %description static
43 Static libraries for developing programs using g-wrap.
44
45 %prep
46 %setup -q
47 %patch -p1
48
49 %build
50 %configure2_13
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57
58 gzip -9nf NEWS README ChangeLog
59
60 %clean
61 rm -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.*.*
75 %attr(755,root,root) %{_libdir}/lib*.la
76 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so.*
77 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.la
78 %{_datadir}/guile/g-wrap
79 %{_datadir}/guile/g-wrap.scm
80 %{_datadir}/guile/g-wrapped/*.scm
81
82 %files devel
83 %defattr(644,root,root,755)
84 %doc *.gz
85 %attr(755,root,root) %{_bindir}/g-wrap-config
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so
88 %{_includedir}/*.h
89 %{_infodir}/*
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/lib*.a
94 %{_datadir}/guile/g-wrapped/lib*.a
This page took 0.098707 seconds and 3 git commands to generate.