/[packages]/cauldron/gobject-introspection/current/SPECS/gobject-introspection.spec
ViewVC logotype

Annotation of /cauldron/gobject-introspection/current/SPECS/gobject-introspection.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 282579 - (hide annotations) (download)
Mon Aug 20 16:46:33 2012 UTC (11 years, 8 months ago) by ovitters
File size: 10615 byte(s)
new version 1.33.9
1 wally 119226 %define api 1.0
2     %define major 1
3     %define libname %mklibname girepository %{api} %{major}
4     %define develname %mklibname -d girepository
5 dmorgan 7041
6 ahmad 85847 %define url_ver %(echo %{version} | cut -d. -f1,2)
7    
8 wally 119226 Summary: GObject Introspection
9 fwang 146206 Name: gobject-introspection
10 ovitters 282579 Version: 1.33.9
11     Release: %mkrel 1
12 wally 158660 Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
13 wally 119226 License: GPLv2+ and LGPLv2+
14     Group: Development/C
15     Url: http://www.gnome.org
16 fwang 132099 BuildRequires: pkgconfig(cairo)
17     BuildRequires: pkgconfig(cairo-gobject)
18     BuildRequires: pkgconfig(gio-2.0)
19     BuildRequires: pkgconfig(gio-unix-2.0)
20     BuildRequires: pkgconfig(glib-2.0) >= 2.29.7
21     BuildRequires: pkgconfig(gmodule-2.0)
22     BuildRequires: pkgconfig(gobject-2.0)
23     BuildRequires: pkgconfig(gthread-2.0)
24     BuildRequires: pkgconfig(libffi)
25 wally 119226 BuildRequires: python-devel
26     BuildRequires: flex
27     BuildRequires: bison
28     BuildRequires: gnome-common
29     BuildRequires: libtool
30     Conflicts: %{mklibname girepository 1.0 0} < 0.6.10-5mdv
31     Conflicts: gir-repository < 0.6.5-12.20100622.3mdv
32 dmorgan 7041
33     %description
34     The goal of the project is to describe the APIs and collect them in
35     a uniform, machine readable format.
36    
37 wally 119226 %package -n %{libname}
38     Group: System/Libraries
39     Summary: GObject Introspection shared library
40     Conflicts: %{name} < 0.6.8-2mdv
41     Requires: %{name} >= %{version}
42 dmorgan 7041
43 wally 119226 %description -n %{libname}
44 dmorgan 7041 The goal of the project is to describe the APIs and collect them in
45     a uniform, machine readable format.
46    
47    
48 fwang 132100 #---------------------------------------------------------------
49     %if "%{_lib}" == "lib64"
50     %define mark64 ()(64bit)
51     %else
52     %define mark64 %nil
53     %endif
54    
55     #---------------------------------------------------------------
56     %define girglibname %mklibname glib-gir 2.0
57    
58     %package -n %{girglibname}
59     Summary: GObject Introspection interface description for glib
60     Group: System/Libraries
61     Conflicts: %{name} < 1.29.16-3
62     Requires: libglib-2.0.so.0%{mark64}
63     Requires: libgmodule-2.0.so.0%{mark64}
64     Requires: libgio-2.0.so.0%{mark64}
65     Requires: libgobject-2.0.so.0%{mark64}
66    
67     %description -n %{girglibname}
68     GObject Introspection interface description for glib.
69    
70     %files -n %{girglibname}
71     %{_libdir}/girepository-1.0/GLib-2.0.typelib
72     %{_libdir}/girepository-1.0/GModule-2.0.typelib
73     %{_libdir}/girepository-1.0/GObject-2.0.typelib
74     %{_libdir}/girepository-1.0/Gio-2.0.typelib
75    
76     #---------------------------------------------------------------
77     %define girdbusname %mklibname dbus-gir 1.0
78    
79     %package -n %{girdbusname}
80     Summary: GObject Introspection interface description for dbus
81     Group: System/Libraries
82     Conflicts: %{name} < 1.29.16-3
83     Requires: libdbus-1.so.3%{mark64}
84    
85     %description -n %{girdbusname}
86     GObject Introspection interface description for dbus.
87    
88     %files -n %{girdbusname}
89     %{_libdir}/girepository-1.0/DBus-1.0.typelib
90    
91     #---------------------------------------------------------------
92     %define girdbusglibname %mklibname dbusglib-gir 1.0
93    
94     %package -n %{girdbusglibname}
95     Summary: GObject Introspection interface description for dbusglib
96     Group: System/Libraries
97     Conflicts: %{name} < 1.29.16-3
98     Requires: libdbus-glib-1.so.2%{mark64}
99    
100     %description -n %{girdbusglibname}
101     GObject Introspection interface description for dbusglib.
102    
103     %files -n %{girdbusglibname}
104     %{_libdir}/girepository-1.0/DBusGLib-1.0.typelib
105    
106     #---------------------------------------------------------------
107     %define girgirepositoryname %mklibname girepository-gir 2.0
108    
109     %package -n %{girgirepositoryname}
110     Summary: GObject Introspection interface description for girepository
111     Group: System/Libraries
112     Conflicts: %{name} < 1.29.16-3
113     Requires: %{libname} = %{version}-%{release}
114    
115     %description -n %{girgirepositoryname}
116     GObject Introspection interface description for girepository.
117    
118     %files -n %{girgirepositoryname}
119     %{_libdir}/girepository-1.0/GIRepository-2.0.typelib
120    
121     #---------------------------------------------------------------
122     %define girglname %mklibname gl-gir 1.0
123    
124     %package -n %{girglname}
125     Summary: GObject Introspection interface description for OpenGL
126     Group: System/Libraries
127     Conflicts: %{name} < 1.29.16-3
128     Requires: libGL.so.1%{mark64}
129    
130     %description -n %{girglname}
131     GObject Introspection interface description for OpenGL.
132    
133     %files -n %{girglname}
134     %{_libdir}/girepository-1.0/GL-1.0.typelib
135    
136     #---------------------------------------------------------------
137     %define gircaironame %mklibname cairo-gir 1.0
138    
139     %package -n %{gircaironame}
140     Summary: GObject Introspection interface description for cairo
141     Group: System/Libraries
142     Conflicts: %{name} < 1.29.16-3
143     Requires: libcairo.so.2%{mark64}
144    
145     %description -n %{gircaironame}
146     GObject Introspection interface description for cairo.
147    
148     %files -n %{gircaironame}
149     %{_libdir}/girepository-1.0/cairo-1.0.typelib
150    
151     #---------------------------------------------------------------
152     %define girfontconfigname %mklibname fontconfig-gir 2.0
153    
154     %package -n %{girfontconfigname}
155     Summary: GObject Introspection interface description for fontconfig
156     Group: System/Libraries
157     Conflicts: %{name} < 1.29.16-3
158     Requires: libfontconfig.so.1%{mark64}
159    
160     %description -n %{girfontconfigname}
161     GObject Introspection interface description for fontconfig.
162    
163     %files -n %{girfontconfigname}
164     %{_libdir}/girepository-1.0/fontconfig-2.0.typelib
165    
166     #---------------------------------------------------------------
167     %define girfreetypename %mklibname freetype-gir 2.0
168    
169     %package -n %{girfreetypename}
170     Summary: GObject Introspection interface description for freetype
171     Group: System/Libraries
172     Conflicts: %{name} < 1.29.16-3
173     Requires: libfreetype.so.6%{mark64}
174    
175     %description -n %{girfreetypename}
176     GObject Introspection interface description for freetype.
177    
178     %files -n %{girfreetypename}
179     %{_libdir}/girepository-1.0/freetype2-2.0.typelib
180    
181     #---------------------------------------------------------------
182     %define girlibxml2name %mklibname libxml2-gir 2.0
183    
184     %package -n %{girlibxml2name}
185     Summary: GObject Introspection interface description for libxml2
186     Group: System/Libraries
187     Conflicts: %{name} < 1.29.16-3
188     Requires: libxml2.so.2%{mark64}
189    
190     %description -n %{girlibxml2name}
191     GObject Introspection interface description for libxml2.
192    
193     %files -n %{girlibxml2name}
194     %{_libdir}/girepository-1.0/libxml2-2.0.typelib
195    
196     #---------------------------------------------------------------
197     %define girxfixesname %mklibname xfixes-gir 4.0
198    
199     %package -n %{girxfixesname}
200     Summary: GObject Introspection interface description for xfixes
201     Group: System/Libraries
202     Conflicts: %{name} < 1.29.16-3
203     Requires: libXfixes.so.3%{mark64}
204    
205     %description -n %{girxfixesname}
206     GObject Introspection interface description for xfixes.
207    
208     %files -n %{girxfixesname}
209     %{_libdir}/girepository-1.0/xfixes-4.0.typelib
210    
211     #---------------------------------------------------------------
212     %define girxftname %mklibname xft-gir 2.0
213    
214     %package -n %{girxftname}
215     Summary: GObject Introspection interface description for xft
216     Group: System/Libraries
217     Conflicts: %{name} < 1.29.16-3
218     Requires: libXft.so.2%{mark64}
219    
220     %description -n %{girxftname}
221     GObject Introspection interface description for xft.
222    
223     %files -n %{girxftname}
224     %{_libdir}/girepository-1.0/xft-2.0.typelib
225    
226     #---------------------------------------------------------------
227     %define girxlibname %mklibname xlib-gir 2.0
228    
229     %package -n %{girxlibname}
230     Summary: GObject Introspection interface description for xlib
231     Group: System/Libraries
232     Conflicts: %{name} < 1.29.16-3
233     Requires: libX11.so.6%{mark64}
234    
235     %description -n %{girxlibname}
236     GObject Introspection interface description for xlib.
237    
238     %files -n %{girxlibname}
239     %{_libdir}/girepository-1.0/xlib-2.0.typelib
240    
241     #---------------------------------------------------------------
242     %define girxrandrname %mklibname xrandr-gir 1.3
243    
244     %package -n %{girxrandrname}
245     Summary: GObject Introspection interface description for xrandr
246     Group: System/Libraries
247     Conflicts: %{name} < 1.29.16-3
248     Requires: libXrandr.so.2%{mark64}
249    
250     %description -n %{girxrandrname}
251     GObject Introspection interface description for xrandr.
252    
253     %files -n %{girxrandrname}
254     %{_libdir}/girepository-1.0/xrandr-1.3.typelib
255    
256     #---------------------------------------------------------------
257 wally 119226 %package -n %{develname}
258 fwang 132100 Group: Development/C
259     Summary: GObject Introspection development libraries
260     Requires: %{libname} = %{version}-%{release}
261     Requires: %{girglibname} = %{version}-%{release}
262     Requires: %{girdbusname} = %{version}-%{release}
263     Requires: %{girdbusglibname} = %{version}-%{release}
264     Requires: %{girgirepositoryname} = %{version}-%{release}
265     Requires: %{girglname} = %{version}-%{release}
266     Requires: %{gircaironame} = %{version}-%{release}
267     Requires: %{girfontconfigname} = %{version}-%{release}
268     Requires: %{girfreetypename} = %{version}-%{release}
269     Requires: %{girlibxml2name} = %{version}-%{release}
270     Requires: %{girxfixesname} = %{version}-%{release}
271     Requires: %{girxftname} = %{version}-%{release}
272     Requires: %{girxlibname} = %{version}-%{release}
273     Requires: %{girxrandrname} = %{version}-%{release}
274     Provides: libgirepository-devel = %{version}-%{release}
275     Provides: %{name}-devel = %{version}-%{release}
276 dmorgan 7041 #gw /usr/bin/libtool is called in giscanner
277 fwang 132100 Requires: libtool
278 dmorgan 7041
279 wally 119226 %description -n %{develname}
280 dmorgan 7041 The goal of the project is to describe the APIs and collect them in
281     a uniform, machine readable format.
282    
283 fwang 132100 #---------------------------------------------------------------
284 dmorgan 7041 %prep
285     %setup -q
286     %apply_patches
287 wally 119226
288 wally 124387 %build
289 dmorgan 7041 autoreconf -fi
290 wally 119226 %configure2_5x \
291     --disable-static
292 rtp 52848
293 dmorgan 7041 %make
294    
295     %install
296     rm -rf %{buildroot}
297     %makeinstall_std
298    
299 ahmad 95168 # don't ship .la
300 fwang 143805 find %{buildroot} -name '*.la' -exec rm -f {} \;
301 ahmad 95168
302 dmorgan 7041 %check
303 ahmad 85847 make check
304 dmorgan 7041
305     %clean
306     rm -rf %{buildroot}
307    
308     %files
309     %defattr(-,root,root)
310     %doc README NEWS TODO AUTHORS
311 wally 119226 %dir %{_libdir}/girepository-%{api}
312 dmorgan 7041
313 wally 119226 %files -n %{libname}
314 dmorgan 7041 %defattr(-,root,root)
315 wally 119226 %{_libdir}/libgirepository-%{api}.so.%{major}*
316 dmorgan 7041
317 wally 119226 %files -n %{develname}
318 dmorgan 7041 %defattr(-,root,root)
319     %doc ChangeLog
320 wally 119226 %{_libdir}/libgirepository-%{api}.so
321     %{_libdir}/pkgconfig/gobject-introspection-%{api}.pc
322     %{_libdir}/pkgconfig/gobject-introspection-no-export-%{api}.pc
323     %{_includedir}/%{name}-%{api}
324     %{_datadir}/aclocal/*.m4
325     %{_datadir}/%{name}-%{api}
326     %{_bindir}/g-ir-*
327     %{_libdir}/%{name}
328     %{_datadir}/gtk-doc/html/gi
329     %dir %{_datadir}/gir-%{api}
330     %{_datadir}/gir-%{api}/DBus-1.0.gir
331     %{_datadir}/gir-%{api}/DBusGLib-1.0.gir
332     %{_datadir}/gir-%{api}/GIRepository-2.0.gir
333     %{_datadir}/gir-%{api}/GL-1.0.gir
334     %{_datadir}/gir-%{api}/GLib-2.0.gir
335     %{_datadir}/gir-%{api}/GModule-2.0.gir
336     %{_datadir}/gir-%{api}/GObject-2.0.gir
337     %{_datadir}/gir-%{api}/Gio-2.0.gir
338     %{_datadir}/gir-%{api}/cairo-1.0.gir
339     %{_datadir}/gir-%{api}/fontconfig-2.0.gir
340     %{_datadir}/gir-%{api}/freetype2-2.0.gir
341     %{_datadir}/gir-%{api}/libxml2-2.0.gir
342     %{_datadir}/gir-%{api}/xfixes-4.0.gir
343     %{_datadir}/gir-%{api}/xft-2.0.gir
344     %{_datadir}/gir-%{api}/xlib-2.0.gir
345     %{_datadir}/gir-%{api}/xrandr-1.3.gir
346     %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30