/[packages]/cauldron/libgda5.0/current/SPECS/libgda5.0.spec
ViewVC logotype

Contents of /cauldron/libgda5.0/current/SPECS/libgda5.0.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 200696 - (show annotations) (download)
Wed Jan 25 02:49:12 2012 UTC (12 years, 3 months ago) by fwang
File size: 7819 byte(s)
new version 5.0.3
1 %define pkgname libgda
2 %define api 5.0
3
4 %define dirver %{api}
5 %define oname gda
6 %define major 4
7
8 %define libname %mklibname %{oname} %{api} %major
9 %define libnamedev %mklibname -d %{oname}%{api}
10
11 %define url_ver %(echo %{version}|cut -d. -f1,2)
12
13 Summary: GNU Data Access
14 Name: %{pkgname}%{api}
15 Version: 5.0.3
16 Release: %mkrel 1
17 License: GPLv2+ and LGPLv2+
18 Group: Databases
19 URL: http://www.gnome-db.org/
20 Source0: http://download.gnome.org/sources/%{pkgname}/%{url_ver}/%{pkgname}-%{version}.tar.xz
21 BuildRequires: pkgconfig(gdk-pixbuf-2.0)
22 BuildRequires: pkgconfig(gio-2.0) >= 2.16
23 BuildRequires: pkgconfig(glib-2.0) >= 2.28.0
24 BuildRequires: pkgconfig(gmodule-no-export-2.0) >= 2.28.0
25 BuildRequires: pkgconfig(gnome-keyring-1)
26 BuildRequires: pkgconfig(gobject-2.0) >= 2.28.0
27 BuildRequires: pkgconfig(goocanvas-2.0)
28 BuildRequires: pkgconfig(gthread-2.0) >= 2.28.0
29 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
30 BuildRequires: pkgconfig(gtksourceview-3.0)
31 BuildRequires: pkgconfig(iso-codes)
32 BuildRequires: pkgconfig(json-glib-1.0)
33 BuildRequires: pkgconfig(libcrypto)
34 BuildRequires: pkgconfig(libgvc)
35 BuildRequires: pkgconfig(libsoup-2.4)
36 BuildRequires: pkgconfig(libxml-2.0)
37 BuildRequires: pkgconfig(libxslt)
38 BuildRequires: db-devel
39 BuildRequires: mysql-devel
40 BuildRequires: postgresql-devel
41 BuildRequires: openldap-devel
42 BuildRequires: pkgconfig(sqlite3) >= 3.6.11
43 BuildRequires: ncurses-devel
44 BuildRequires: readline-devel
45 BuildRequires: intltool >= 0.35.5
46 BuildRequires: gtk-doc
47 BuildRequires: gnome-doc-utils >= 0.9.0
48 BuildRequires: gobject-introspection-devel >= 0.6.5
49 Requires: iso-codes
50
51 %description
52 GNU Data Access is an attempt to provide uniform access to
53 different kinds of data sources (databases, information
54 servers, mail spools, etc).
55 It is a complete architecture that provides all you need to
56 access your data.
57
58 libgda was part of the GNOME-DB project
59 (http://www.gnome-db.org/), but has been
60 separated from it to allow non-GNOME applications to be
61 developed based on it.
62
63 Drivers for the supported databases are included in the gda2.0-* packages.
64
65 %package -n %{libname}
66 Summary: GNU Data Access Development
67 Group: System/Libraries
68 Requires: %{name} >= %{version}
69 Requires: %{name}-sqlite >= %{version}
70
71 %description -n %{libname}
72 GNU Data Access is an attempt to provide uniform access to
73 different kinds of data sources (databases, information
74 servers, mail spools, etc).
75 It is a complete architecture that provides all you need to
76 access your data.
77
78 libgda was part of the GNOME-DB project
79 (http://www.gnome-db.org/), but has been
80 separated from it to allow non-GNOME applications to be
81 developed based on it.
82
83 %package -n %{libnamedev}
84 Summary: GNU Data Access Development
85 Group: Development/Databases
86 Requires: %{libname} = %{version}
87 Provides: gda%{api}-devel = %{version}-%{release}
88 Provides: %{name}-devel = %{version}-%{release}
89
90 %description -n %{libnamedev}
91 GNU Data Access is an attempt to provide uniform access to
92 different kinds of data sources (databases, information
93 servers, mail spools, etc).
94 It is a complete architecture that provides all you need to
95 access your data.
96
97 libgda was part of the GNOME-DB project
98 (http://www.gnome-db.org/), but has been
99 separated from it to allow non-GNOME applications to be
100 developed based on it.
101
102 %package postgres
103 Summary: GDA PostgreSQL Provider
104 Group: Databases
105 Requires: %{name} = %{version}
106
107 %description postgres
108 GNU Data Access is an attempt to provide uniform access to
109 different kinds of data sources (databases, information
110 servers, mail spools, etc).
111 It is a complete architecture that provides all you need to
112 access your data.
113
114 libgda was part of the GNOME-DB project
115 (http://www.gnome-db.org/), but has been
116 separated from it to allow non-GNOME applications to be
117 developed based on it.
118
119 This package includes the GDA PostgreSQL provider
120
121 %package mysql
122 Summary: GDA MySQL Provider
123 Group: Databases
124 Requires: %{name} = %{version}
125
126 %description mysql
127 GNU Data Access is an attempt to provide uniform access to
128 different kinds of data sources (databases, information
129 servers, mail spools, etc).
130
131 It is a complete architecture that provides all you need to
132 access your data.
133
134 libgda was part of the GNOME-DB project
135 (http://www.gnome-db.org/), but has been
136 separated from it to allow non-GNOME applications to be
137 developed based on it.
138
139 This package includes the GDA MySQL provider
140
141 %package bdb
142 Summary: GDA Berkeley Database Provider
143 Group: Databases
144 Requires: %{name} = %{version}
145
146 %description bdb
147 GNU Data Access is an attempt to provide uniform access to
148 different kinds of data sources (databases, information
149 servers, mail spools, etc).
150
151 It is a complete architecture that provides all you need to
152 access your data.
153
154 libgda was part of the GNOME-DB project
155 (http://www.gnome-db.org/), but has been
156 separated from it to allow non-GNOME applications to be
157 developed based on it.
158
159 This package includes the GDA Berkeley Database provider.
160
161 %package sqlite
162 Summary: GDA sqlite Provider
163 Group: Databases
164 Requires: %{name} = %{version}
165
166 %description sqlite
167 GNU Data Access is an attempt to provide uniform access to
168 different kinds of data sources (databases, information
169 servers, mail spools, etc).
170
171 It is a complete architecture that provides all you need to
172 access your data.
173
174 libgda was part of the GNOME-DB project
175 (http://www.gnome-db.org/), but has been
176 separated from it to allow non-GNOME applications to be
177 developed based on it.
178
179 This package includes the GDA sqlite provider
180
181 %prep
182 %setup -q -n %{pkgname}-%{version}
183
184 %build
185 %configure2_5x --disable-static --enable-system-sqlite \
186 --with-bdb=%{_prefix} --with-bdb-libdir-name=%{_lib}
187 %make
188
189 %install
190 rm -rf %{buildroot}
191
192 %makeinstall_std
193
194 # remove unneeded files
195 find %{buildroot} -name '*.la' | xargs rm
196
197 %{find_lang} %{pkgname}-%{api} --with-gnome
198
199 %clean
200 rm -rf %{buildroot}
201
202 %files -f %{pkgname}-%{api}.lang
203 %defattr(-, root, root)
204 %doc AUTHORS COPYING README
205 %{_bindir}/*
206 %{_mandir}/man1/*
207 %dir %{_sysconfdir}/libgda-%{dirver}
208 %config(noreplace) %{_sysconfdir}/libgda-%{dirver}/sales_test.db
209 %config(noreplace) %{_sysconfdir}/libgda-%{dirver}/config
210 %{_datadir}/applications/gda-browser-%{api}.desktop
211 %{_datadir}/applications/gda-control-center-%{api}.desktop
212 %{_datadir}/pixmaps/gda*
213 %{_datadir}/icons/hicolor/*/apps/gda-control-center.*
214 %{_datadir}/libgda-%{dirver}
215 %dir %{_libdir}/libgda-%{dirver}
216 %dir %{_libdir}/libgda-%{dirver}/plugins
217 %dir %{_libdir}/libgda-%{dirver}/providers
218 %{_libdir}/libgda-%{dirver}/plugins/*.xml
219 %{_libdir}/libgda-%{dirver}/plugins/libgda-ui-plugins.so
220 %{_libdir}/libgda-%{dirver}/providers/libgda-web.so
221 %{_libdir}/libgda-%{dirver}/providers/libgda-sqlcipher.so
222 %{_libdir}/libgda-%{dirver}/providers/libgda-ldap.so
223
224 %files -n %{libname}
225 %defattr(-, root, root)
226 %{_libdir}/libgda-%{api}.so.%{major}*
227 %{_libdir}/libgda-report-%{api}.so.%{major}*
228 %{_libdir}/libgda-ui-%{api}.so.%{major}*
229 %{_libdir}/libgda-xslt-%{api}.so.%{major}*
230 %{_libdir}/girepository-1.0/Gda-%{api}.typelib
231 %{_libdir}/girepository-1.0/Gdaui-%{api}.typelib
232
233 %files -n %{libnamedev}
234 %defattr(-, root, root)
235 %doc %{_datadir}/gtk-doc/html/libgda-%dirver/
236 %doc %{_datadir}/gtk-doc/html/gda-browser
237 %{_libdir}/libgda-%{api}.so
238 %{_libdir}/libgda-report-%{api}.so
239 %{_libdir}/libgda-ui-%{api}.so
240 %{_libdir}/libgda-xslt-%{api}.so
241 %{_libdir}/pkgconfig/*
242 %{_includedir}/*
243 %{_datadir}/gir-1.0/Gda-%{api}.gir
244 %{_datadir}/gir-1.0/Gdaui-%{api}.gir
245 %{_datadir}/gnome/help/gda-browser
246
247 %files sqlite
248 %defattr(-, root, root)
249 %{_libdir}/libgda-%{dirver}/providers/libgda-sqlite.so
250
251 %files postgres
252 %defattr(-, root, root)
253 %{_libdir}/libgda-%{dirver}/providers/libgda-postgres.so
254
255 %files bdb
256 %defattr(-, root, root)
257 %{_libdir}/libgda-%{dirver}/providers/libgda-bdb.so
258
259 %files mysql
260 %defattr(-, root, root)
261 %{_libdir}/libgda-%{dirver}/providers/libgda-mysql.so

  ViewVC Help
Powered by ViewVC 1.1.30