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