1 | %define pkg_version 2.31.91 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: GObject JavaScriptCore bridge |
---|
5 | Name: seed |
---|
6 | Version: %{pkg_version} |
---|
7 | Release: %{pkg_release} |
---|
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/seed/2.31/%{name}-%{version}.tar.bz2 |
---|
9 | License: LGPL |
---|
10 | Group: System Environment/Libraries |
---|
11 | URL: http://live.gnome.org/Seed/ |
---|
12 | |
---|
13 | Requires: gobject-introspection |
---|
14 | BuildRequires: gobject-introspection-devel |
---|
15 | BuildRequires: WebKit-gtk-devel |
---|
16 | BuildRequires: readline-devel |
---|
17 | BuildRequires: libffi-devel |
---|
18 | BuildRequires: gnome-js-common |
---|
19 | BuildRequires: sqlite3-devel |
---|
20 | BuildRequires: clutter-devel |
---|
21 | BuildRequires: clutter-gtk-devel |
---|
22 | BuildRequires: cairo-devel |
---|
23 | BuildRequires: gtk-doc |
---|
24 | BuildRequires: dbus-devel |
---|
25 | BuildRequires: dbus-glib-devel |
---|
26 | BuildRequires: mpfr-devel |
---|
27 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
28 | |
---|
29 | Vendor: Project Vine |
---|
30 | Distribution: Vine Linux |
---|
31 | Packager: Takemikaduchi |
---|
32 | |
---|
33 | |
---|
34 | %description |
---|
35 | Seed is a library and interpreter, dynamically bridging (through GObjectIntrospection) |
---|
36 | the WebKit JavaScriptCore engine, with the GNOME platform. Seed serves as something |
---|
37 | which enables you to write standalone applications in JavaScript, or easily enable your |
---|
38 | application to be extensible in JavaScript. |
---|
39 | |
---|
40 | %package devel |
---|
41 | Summary: Development files for seed |
---|
42 | Group: Development/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | Requires: WebKit-gtk-devel |
---|
45 | Requires: gobject-introspection-devel |
---|
46 | Requires: pkgconfig |
---|
47 | |
---|
48 | %description devel |
---|
49 | The devel-package contains header files to develop applications that use libseed. |
---|
50 | |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | |
---|
55 | |
---|
56 | %build |
---|
57 | %configure --disable-static --with-webkit=1.0 |
---|
58 | %{__make} %{?_smp_mflags} |
---|
59 | |
---|
60 | |
---|
61 | %install |
---|
62 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
63 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
64 | |
---|
65 | ## remove *.la |
---|
66 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/*.la |
---|
67 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/seed/*.la |
---|
68 | |
---|
69 | %clean |
---|
70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
71 | |
---|
72 | |
---|
73 | %files |
---|
74 | %defattr(-,root,root) |
---|
75 | %doc COPYING ChangeLog NEWS README |
---|
76 | %{_bindir}/seed |
---|
77 | %{_libdir}/libseed.so.* |
---|
78 | %{_libdir}/seed/*.so |
---|
79 | %{_datadir}/doc/seed |
---|
80 | %{_mandir}/man1/* |
---|
81 | %{_datadir}/seed |
---|
82 | |
---|
83 | %files devel |
---|
84 | %defattr(-,root,root) |
---|
85 | %{_includedir}/seed |
---|
86 | %{_libdir}/libseed.so |
---|
87 | %{_libdir}/pkgconfig/seed.pc |
---|
88 | %{_datadir}/gtk-doc/html/seed |
---|
89 | |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Thu Oct 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.31.91-1 |
---|
93 | - new upstream release |
---|
94 | - remove BuildRequires: gir-repository-devel |
---|
95 | - add configure option (--with-webkit=1.0) |
---|
96 | - fix %files |
---|
97 | |
---|
98 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2 |
---|
99 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
100 | |
---|
101 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
102 | - initial build for Vine Linux |
---|
103 | |
---|