]> git.pld-linux.org Git - packages/g-wrap.git/blob - g-wrap.spec
- re-updated to 1.2.1
[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:          2
8 License:        GPL
9 Group:          Libraries
10 Source0:        http://www.gnucash.org/pub/g-wrap/source/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-info.patch
12 Patch1:         %{name}-ac_am_cflags.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 libtoolize -c -f
72 aclocal
73 autoconf
74 automake -a -c -f
75 %configure
76
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 %attr(755,root,root) %{_libdir}/lib*.la
102 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so.*
103 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.la
104 %{_datadir}/guile/g-wrap
105 %{_datadir}/guile/g-wrap.scm
106 %{_datadir}/guile/g-wrapped/*.scm
107
108 %files devel
109 %defattr(644,root,root,755)
110 %doc *.gz
111 %attr(755,root,root) %{_bindir}/g-wrap-config
112 %attr(755,root,root) %{_libdir}/lib*.so
113 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so
114 %{_includedir}/*.h
115 %{_infodir}/*info*gz
116 %{_aclocaldir}/*.m4
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/lib*.a
121 %{_datadir}/guile/g-wrapped/lib*.a
This page took 0.123073 seconds and 4 git commands to generate.