2009-07-04 10:21:10 +02:00
|
|
|
#
|
2010-10-01 11:07:07 +02:00
|
|
|
# spec file for package gobject-introspection (Version 0.9.10)
|
2009-07-04 10:21:10 +02:00
|
|
|
#
|
2010-03-18 23:02:12 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-07-04 10:21:10 +02:00
|
|
|
#
|
|
|
|
# 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: gobject-introspection
|
2010-10-01 11:07:07 +02:00
|
|
|
Version: 0.9.10
|
2010-09-23 23:54:12 +02:00
|
|
|
Release: 1
|
2010-09-29 09:07:13 +02:00
|
|
|
# FIXME: next tarball should have gtk-doc again, so pass --enable-gtk-doc to configure. See bgo#629871
|
2010-09-18 15:19:53 +02:00
|
|
|
# FIXME: when bgo#629930 gets fixed, move the appropriate pkg-config files to the main package and rename the devel package to libgirepository-devel
|
|
|
|
License: LGPLv2.1+
|
|
|
|
Summary: GObject Introspection Tools
|
|
|
|
Url: http://live.gnome.org/GObjectIntrospection
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
# PATCH-FIX-UPSTREAM gobject-introspection-keyring-workaround.patch bgo#629426 vuntz@opensuse.org -- Workaround for libgnome-keyring
|
|
|
|
Patch0: gobject-introspection-keyring-workaround.patch
|
2010-09-18 20:05:53 +02:00
|
|
|
# PATCH-FIX-UPSTREAM gobject-introspection-libgda-workaround.patch bgo#629779 vuntz@opensuse.org -- Workaround for libgda
|
|
|
|
Patch1: gobject-introspection-libgda-workaround.patch
|
2009-07-04 10:21:10 +02:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
2010-08-09 16:39:08 +02:00
|
|
|
BuildRequires: gtk-doc
|
2009-07-04 10:21:10 +02:00
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-xml
|
2010-08-09 16:39:08 +02:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
Requires: libgirepository-1_0-1 = %{version}
|
2009-09-05 01:01:23 +02:00
|
|
|
Requires: python-xml
|
2009-07-04 10:21:10 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The goal of the project is to describe the APIs and collect them in
|
|
|
|
a uniform, machine readable format.
|
|
|
|
|
2010-08-09 16:39:08 +02:00
|
|
|
%package -n libgirepository-1_0-1
|
2010-02-19 16:30:47 +01:00
|
|
|
License: LGPLv2.1+
|
2009-07-04 10:21:10 +02:00
|
|
|
Summary: GObject Introspection Library
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
|
2010-08-09 16:39:08 +02:00
|
|
|
%description -n libgirepository-1_0-1
|
2009-07-04 10:21:10 +02:00
|
|
|
The goal of the project is to describe the APIs and collect them in
|
|
|
|
a uniform, machine readable format.
|
|
|
|
|
|
|
|
%package devel
|
2010-02-19 16:30:47 +01:00
|
|
|
License: LGPLv2.1+
|
2009-07-04 10:21:10 +02:00
|
|
|
Summary: GObject Introspection Development Files
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
# Note: the devel package requires the binaries, not just the library
|
|
|
|
Requires: %{name} = %{version}
|
2010-02-19 16:30:47 +01:00
|
|
|
Requires: libffi-devel
|
2009-07-04 10:21:10 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The goal of the project is to describe the APIs and collect them in
|
|
|
|
a uniform, machine readable format.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-09-18 15:19:53 +02:00
|
|
|
%patch0 -p1
|
2010-09-18 20:05:53 +02:00
|
|
|
%patch1 -p1
|
2009-07-04 10:21:10 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2010-09-29 09:07:13 +02:00
|
|
|
--disable-static
|
|
|
|
# --enable-gtk-doc
|
2009-07-04 10:21:10 +02:00
|
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2010-08-09 16:39:08 +02:00
|
|
|
%post -n libgirepository-1_0-1 -p /sbin/ldconfig
|
2009-07-04 10:21:10 +02:00
|
|
|
|
2010-08-09 16:39:08 +02:00
|
|
|
%postun -n libgirepository-1_0-1 -p /sbin/ldconfig
|
2009-07-04 10:21:10 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2010-09-18 15:19:53 +02:00
|
|
|
%doc AUTHORS CONTRIBUTORS COPYING COPYING.GPL NEWS README TODO
|
2010-09-28 21:33:30 +02:00
|
|
|
%{_bindir}/g-ir-annotation-tool
|
2010-09-18 15:19:53 +02:00
|
|
|
%{_bindir}/g-ir-compiler
|
|
|
|
%{_bindir}/g-ir-generate
|
|
|
|
%{_bindir}/g-ir-scanner
|
|
|
|
%doc %{_mandir}/man1/g-ir-compiler.1*
|
|
|
|
%doc %{_mandir}/man1/g-ir-generate.1*
|
|
|
|
%doc %{_mandir}/man1/g-ir-scanner.1*
|
|
|
|
%{_datadir}/aclocal/introspection.m4
|
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2009-07-04 10:21:10 +02:00
|
|
|
# We don't include directly %{_libdir}/gobject-introspection since there might
|
|
|
|
# be files there in the future that belong to the library package
|
|
|
|
%dir %{_libdir}/gobject-introspection
|
2010-09-18 15:19:53 +02:00
|
|
|
%{_libdir}/gobject-introspection/giscanner/
|
|
|
|
# We explicitly list the content of the directory that is of interest to us,
|
|
|
|
# since there might be files there in the future that belong to the library
|
|
|
|
# package
|
|
|
|
%dir %{_datadir}/gobject-introspection-1.0
|
|
|
|
%{_datadir}/gobject-introspection-1.0/Makefile.introspection
|
|
|
|
%{_datadir}/gobject-introspection-1.0/tests/
|
2010-10-01 11:07:07 +02:00
|
|
|
%{_datadir}/gobject-introspection-1.0/gdump.c
|
2009-07-04 10:21:10 +02:00
|
|
|
|
2010-08-09 16:39:08 +02:00
|
|
|
%files -n libgirepository-1_0-1
|
2009-07-04 10:21:10 +02:00
|
|
|
%defattr(-,root,root)
|
2010-09-18 15:19:53 +02:00
|
|
|
%doc COPYING.LGPL
|
|
|
|
# We own this directory here instead of devel to make sure other packages do
|
|
|
|
# not have to own it
|
|
|
|
%dir %{_datadir}/gir-1.0
|
|
|
|
%{_libdir}/libgirepository-1.0.so.*
|
2010-08-09 16:39:08 +02:00
|
|
|
%{_libdir}/girepository-1.0/
|
2009-07-04 10:21:10 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2010-09-29 09:07:13 +02:00
|
|
|
#%doc %{_datadir}/gtk-doc/html/gi/
|
2010-08-09 16:39:08 +02:00
|
|
|
%{_includedir}/gobject-introspection-1.0/
|
2010-09-18 15:19:53 +02:00
|
|
|
%{_libdir}/libgirepository-1.0.so
|
|
|
|
# FIXME: those two files should be moved to the main package when bgo#629930 gets fixed
|
|
|
|
%{_libdir}/pkgconfig/gobject-introspection-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/gobject-introspection-no-export-1.0.pc
|
2009-07-04 10:21:10 +02:00
|
|
|
|
|
|
|
%changelog
|