2009-07-04 10:21:10 +02:00
|
|
|
#
|
2009-12-15 14:20:55 +01:00
|
|
|
# spec file for package gobject-introspection (Version 0.6.6)
|
2009-07-04 10:21:10 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2009 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: gobject-introspection
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-xml
|
|
|
|
%if %suse_version <= 1110
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
%endif
|
2009-12-15 14:20:55 +01:00
|
|
|
Version: 0.6.6
|
2009-09-05 01:01:23 +02:00
|
|
|
Release: 1
|
2009-07-04 10:21:10 +02:00
|
|
|
License: GPL v2 or later
|
2009-09-05 01:01:23 +02:00
|
|
|
Summary: GObject Introspection Tools
|
2009-07-04 10:21:10 +02:00
|
|
|
Url: http://live.gnome.org/GObjectIntrospection
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Requires: libgirepository-1_0-0 = %{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.
|
|
|
|
|
|
|
|
%package -n libgirepository-1_0-0
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: GObject Introspection Library
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Recommends: gir-repository
|
|
|
|
|
|
|
|
%description -n libgirepository-1_0-0
|
|
|
|
The goal of the project is to describe the APIs and collect them in
|
|
|
|
a uniform, machine readable format.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Summary: GObject Introspection Development Files
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
# Note: the devel package requires the binaries, not just the library
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: glib2-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The goal of the project is to describe the APIs and collect them in
|
|
|
|
a uniform, machine readable format.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static
|
|
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -n libgirepository-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgirepository-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-09-05 01:01:23 +02:00
|
|
|
%doc COPYING COPYING.GPL
|
2009-07-04 10:21:10 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
# 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
|
|
|
|
%{_libdir}/gobject-introspection/giscanner
|
|
|
|
%doc %{_mandir}/man?/*.*
|
|
|
|
|
|
|
|
%files -n libgirepository-1_0-0
|
|
|
|
%defattr(-,root,root)
|
2009-09-05 01:01:23 +02:00
|
|
|
%doc AUTHORS CONTRIBUTORS COPYING.LGPL NEWS README TODO
|
2009-07-04 10:21:10 +02:00
|
|
|
%{_datadir}/gir-1.0
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/girepository-1.0
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|