File gir-repository.spec of Package gir-repository
#
# spec file for package gir-repository
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gir-repository
Version: 0.6.5
Release: 24
License: GPLv2+
Summary: GIR Repository
Url: http://live.gnome.org/GObjectIntrospection
Group: Development/Libraries/GNOME
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gir-repository-git-3d7f6656-20100918.patch vuntz@opensuse.org -- Taken from git: updates the code to latest git
Patch0: gir-repository-git-3d7f6656-20100918.patch
# PATCH-FIX-UPSTREAM gir-repository-fix-babl-build.patch bgo#630882 vuntz@opensuse.org -- Fix build of babl gir
Patch2: gir-repository-fix-babl-build.patch
BuildRequires: babl-devel
# Needed for patch0 gir-repository-git-3d7f6656-20100918.patch
BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel
BuildRequires: libgnome-keyring-devel
# Virtual provides for compatibility with other distributions.
Provides: gir-repository-devel = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a repository of GIR interface description files.
%prep
%setup -q
%patch0 -p1
%patch2 -p1
%build
NOCONFIGURE=1 gnome-autogen.sh
export SUSE_ASNEEDED=0
%configure \
--disable-static \
--with-skipped-gir-modules=Atk,Gdk,GdkPixbuf,Gtk,Pango
%__make
%install
%makeinstall
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_datadir}/gir-1.0/
%dir %{_libdir}/girepository-1.0/
%{_libdir}/girepository-1.0/Babl-0.1.typelib
%{_libdir}/girepository-1.0/GnomeKeyring-2.0.typelib
%changelog