]> git.pld-linux.org Git - packages/g-wrap.git/blob - g-wrap.spec
- Release 5.
[packages/g-wrap.git] / g-wrap.spec
1 Summary:        A tool for exporting C libraries into Scheme interpreters
2 Summary(pl):    Narzêdzie do eksportowania bibliotek C do interpreterów Scheme
3 Name:           g-wrap
4 Version:        1.1.10
5 Release:        5
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://ftp.gnucash.org/pub/g-wrap/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-info.patch
17 BuildRequires:  guile-devel >= 1.4
18 BuildRequires:  texinfo
19 BuildRequires:  slib
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This is a tool for specifying types, functions, and constants to
24 import into a Scheme interpreter, and for generating code (in C) to
25 interface these to the Guile and RScheme interpreters in particular.
26
27 %description -l pl
28 To jest narzêdzie do specyfikowania typów, funkcji i sta³ych dla
29 interpretera Scheme i generowania kodu (w C) do udostêpnienia ich dla
30 interpreterów Guile i RScheme.
31
32 %package devel
33 Summary:        Headers for developing programs using g-wrap
34 Summary(pl):    Pliki nag³ówkowe do rozwijnia programów z u¿yciem g-wrap
35 Group:          Development/Libraries
36 Group(de):      Entwicklung/Libraries
37 Group(es):      Desarrollo/Bibliotecas
38 Group(fr):      Development/Librairies
39 Group(pl):      Programowanie/Biblioteki
40 Group(pt_BR):   Desenvolvimento/Bibliotecas
41 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
42 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
43 Requires:       %{name} = %{version}
44
45 %description devel
46 headers for developing programs using g-wrap.
47
48 %description devel -l pl
49 Pliki nag³ówkowe do rozwijania programów z u¿yciem g-wrap.
50
51 %package static
52 Summary:        Static libraries for developing programs using g-wrap
53 Summary(pl):    Biblioteki statyczne g-wrap
54 Group:          Development/Libraries
55 Group(de):      Entwicklung/Libraries
56 Group(es):      Desarrollo/Bibliotecas
57 Group(fr):      Development/Librairies
58 Group(pl):      Programowanie/Biblioteki
59 Group(pt_BR):   Desenvolvimento/Bibliotecas
60 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
61 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
62 Requires:       %{name}-devel = %{version}
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 %prep
71 %setup -q
72 %patch -p1
73
74 %build
75 %configure2_13
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install DESTDIR=$RPM_BUILD_ROOT
82
83 gzip -9nf NEWS README ChangeLog
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %post devel
92 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
93  
94 %postun devel
95 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
96
97 %files
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100 %attr(755,root,root) %{_libdir}/lib*.la
101 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so.*
102 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.la
103 %{_datadir}/guile/g-wrap
104 %{_datadir}/guile/g-wrap.scm
105 %{_datadir}/guile/g-wrapped/*.scm
106
107 %files devel
108 %defattr(644,root,root,755)
109 %doc *.gz
110 %attr(755,root,root) %{_bindir}/g-wrap-config
111 %attr(755,root,root) %{_libdir}/lib*.so
112 %attr(755,root,root) %{_datadir}/guile/g-wrapped/lib*.so
113 %{_includedir}/*.h
114 %{_infodir}/*info*gz
115
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/lib*.a
119 %{_datadir}/guile/g-wrapped/lib*.a
This page took 0.449909 seconds and 3 git commands to generate.