1 |
%define name gobject-introspection |
%define name gobject-introspection |
2 |
%define version 0.10.4 |
%define version 0.10.6 |
3 |
%define git 0 |
%define git 0 |
4 |
%define rel 4 |
%define rel 1 |
5 |
%define major_ver 0.10 |
%define major_ver 0.10 |
6 |
%if %git |
%if %git |
7 |
%define release %mkrel -c %git %rel |
%define release %mkrel -c %git %rel |
28 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{major_ver}/%{name}-%{version}.tar.bz2 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%name/%{major_ver}/%{name}-%{version}.tar.bz2 |
29 |
%endif |
%endif |
30 |
Patch0: gobject-introspection-fix-link.patch |
Patch0: gobject-introspection-fix-link.patch |
|
Patch2: gobject-introspection-add-workarounds-for-libgnomekeyring-and-libgda.patch |
|
31 |
License: GPLv2+ and LGPLv2+ |
License: GPLv2+ and LGPLv2+ |
32 |
Group: Development/C |
Group: Development/C |
33 |
Url: http://www.gnome.org |
Url: http://www.gnome.org |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
34 |
BuildRequires: glib2-devel >= 2.25.8 |
BuildRequires: glib2-devel >= 2.25.8 |
35 |
BuildRequires: ffi5-devel |
BuildRequires: ffi5-devel |
36 |
BuildRequires: python-devel |
BuildRequires: python-devel |
71 |
Provides: %name-devel = %version-%release |
Provides: %name-devel = %version-%release |
72 |
#gw /usr/bin/libtool is called in giscanner |
#gw /usr/bin/libtool is called in giscanner |
73 |
Requires: libtool |
Requires: libtool |
|
# (ahmad) so that the cflags are exported correctly |
|
|
Requires: ffi5-devel |
|
74 |
|
|
75 |
%description -n %develname |
%description -n %develname |
76 |
The goal of the project is to describe the APIs and collect them in |
The goal of the project is to describe the APIs and collect them in |
102 |
%makeinstall_std |
%makeinstall_std |
103 |
|
|
104 |
%check |
%check |
105 |
#gw: https://bugzilla.gnome.org/show_bug.cgi?id=630136 |
%make check |
|
#make check |
|
106 |
|
|
107 |
%clean |
%clean |
108 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
163 |
%_datadir/gir-%api/xlib-2.0.gir |
%_datadir/gir-%api/xlib-2.0.gir |
164 |
%_datadir/gir-%api/xrandr-1.3.gir |
%_datadir/gir-%api/xrandr-1.3.gir |
165 |
%_mandir/man1/* |
%_mandir/man1/* |
|
|
|
|
|
|