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