]> git.pld-linux.org Git - packages/g-wrap.git/blob - g-wrap.spec
- adapterized.
[packages/g-wrap.git] / g-wrap.spec
1 Summary:        A utility for automatically generating glue code to export C libraries to Guile Scheme and RScheme
2 Summary(pl):    Narzêdzie do eksportowania bibliotek C do interpreterów Scheme
3 Summary(pt_BR): Um utilitário para geração automática de código para exportar bibliotecas C para guile scheme e rscheme
4 Name:           g-wrap
5 Version:        1.2.1
6 Release:        1
7 Epoch:          1
8 License:        GPL
9 Group:          Libraries
10 Source0:        ftp://ftp.gnucash.org/pub/g-wrap/source/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-info.patch
12 Patch1:         %{name}-werror.patch
13 BuildRequires:  guile-devel >= 1.4
14 BuildRequires:  texinfo
15 BuildRequires:  slib
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is a tool for specifying types, functions, and constants to
20 import into a Scheme interpreter, and for generating code (in C) to
21 interface these to the Guile and RScheme interpreters in particular.
22
23 %description -l pl
24 To jest narzêdzie do specyfikowania typów, funkcji i sta³ych dla
25 interpretera Scheme i generowania kodu (w C) do udostêpnienia ich dla
26 interpreterów Guile i RScheme.
27
28 %description -l pt_BR
29 O g-wrap é uma ferramenta para especificar tipos, funções e constantes
30 para importação em um interpretador scheme e para geração de código em
31 C para fazer a interface com os interpretadores guile e rscheme.
32
33 %package devel
34 Summary:        Headers for developing programs using g-wrap
35 Summary(pl):    Pliki nag³ówkowe do rozwijnia programów z u¿yciem g-wrap
36 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o g-wrap
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description devel
41 headers for developing programs using g-wrap.
42
43 %description devel -l pl
44 Pliki nag³ówkowe do rozwijania programów z u¿yciem g-wrap.
45
46 %description devel -l pt_BR
47 Arquivos de inclusao e bibliotecas para o g-wrap.
48
49 %package static
50 Summary:        Static libraries for developing programs using g-wrap
51 Summary(pl):    Biblioteki statyczne g-wrap
52 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com g-wrap
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 Static libraries for developing programs using g-wrap.
58
59 %description static -l pl
60 Statyczne biblioteki g-wrap.
61
62 %description static -l pt_BR
63 Bibliotecas estáticas para desenvolvimento com a biblioteca g-wrap.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68 %patch1 -p1
69
70 %build
71 rm -f missing
72 libtoolize --copy --force
73 aclocal
74 autoconf
75 automake -a -c
76 %configure
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install DESTDIR=$RPM_BUILD_ROOT
83
84 gzip -9nf NEWS README ChangeLog
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %post devel
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
94
95 %postun devel
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
97
98 %files
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*
101 %{_datadir}/guile/*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %doc *.gz
106 %attr(755,root,root) %{_bindir}/g-wrap-config
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %attr(755,root,root) %{_libdir}/lib*.la
109 %{_includedir}/*
110 %{_aclocaldir}/*
111 %{_infodir}/*info*gz
112
113 %files static
114 %defattr(644,root,root,755)
115 %{_libdir}/lib*.a
This page took 0.069129 seconds and 4 git commands to generate.