File seed.spec of Package seed
#
# spec file for package seed (Version 2.29.91.1)
#
# Copyright (c) 2010 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/
#
# norootforbuild
Name: seed
BuildRequires: cairo-devel
BuildRequires: dbus-1-glib-devel
BuildRequires: gnome-js-common
BuildRequires: gobject-introspection-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libffi-devel
BuildRequires: libxml2-devel
BuildRequires: libwebkit-devel
BuildRequires: mpfr-devel
BuildRequires: readline-devel
BuildRequires: sqlite3-devel
License: LGPLv3+
Group: Development/Libraries/GNOME
Version: 2.29.91.1
Release: 1
Summary: JavaScript bindings based on gobject-introspection and WebKit
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Seed is a library and interpreter, dynamically bridging (through
gobject-introspection) the WebKit JavaScriptCore engine with the GObject type
system. In a more concrete sense, Seed enables you to immediately write
applications around a significant portion of the GNOME platform, and easily
embed JavaScript as a scripting language in your GObject library.
%package doc
License: LGPLv3+ ; GPLv2+
Summary: JavaScript bindings based on gobject-introspection and WebKit
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
%description doc
Seed is a library and interpreter, dynamically bridging (through
gobject-introspection) the WebKit JavaScriptCore engine with the GObject type
system. In a more concrete sense, Seed enables you to immediately write
applications around a significant portion of the GNOME platform, and easily
embed JavaScript as a scripting language in your GObject library.
%package -n libseed0
License: LGPLv3+
Summary: JavaScript bindings based on gobject-introspection and WebKit
Group: Development/Libraries/GNOME
Recommends: gir-repository
Recommends: gnome-js-common
Obsoletes: libseed-0 <= %{version}
Provides: libseed-0 = %{version}
%description -n libseed0
Seed is a library and interpreter, dynamically bridging (through
gobject-introspection) the WebKit JavaScriptCore engine with the GObject type
system. In a more concrete sense, Seed enables you to immediately write
applications around a significant portion of the GNOME platform, and easily
embed JavaScript as a scripting language in your GObject library.
%package -n libseed-devel
License: LGPLv3+
Summary: JavaScript bindings based on gobject-introspection and WebKit
Group: Development/Libraries/GNOME
Requires: libseed0 = %{version}
Requires: glib2-devel
Requires: gobject-introspection-devel
Requires: libwebkit-devel
# Just a helper provides
Provides: seed-devel
%description -n libseed-devel
Seed is a library and interpreter, dynamically bridging (through
gobject-introspection) the WebKit JavaScriptCore engine with the GObject type
system. In a more concrete sense, Seed enables you to immediately write
applications around a significant portion of the GNOME platform, and easily
embed JavaScript as a scripting language in your GObject library.
%prep
%setup -q
%build
%configure \
--disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
%clean
rm -rf %{buildroot}
%post -n libseed0 -p /sbin/ldconfig
%postun -n libseed0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man?/*.*
%files doc
%defattr(-,root,root)
%doc %{_datadir}/doc/seed
%files -n libseed0
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README
%{_datadir}/seed
%{_libdir}/*.so.*
%dir %{_libdir}/seed
%{_libdir}/seed/*.so
%files -n libseed-devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/seed
%changelog