1 | %define pkg_version 3.8.1 |
---|
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/%{name}/3.8/%{name}-%{version}.tar.xz |
---|
9 | |
---|
10 | Patch1: seed-3.1.1-ignore-module-doc.patch |
---|
11 | |
---|
12 | License: LGPL |
---|
13 | Group: System Environment/Libraries |
---|
14 | URL: http://live.gnome.org/Seed/ |
---|
15 | |
---|
16 | Requires: gobject-introspection |
---|
17 | BuildRequires: gobject-introspection-devel |
---|
18 | BuildRequires: WebKit3-gtk-devel |
---|
19 | BuildRequires: readline-devel |
---|
20 | BuildRequires: libffi-devel |
---|
21 | BuildRequires: gnome-js-common |
---|
22 | BuildRequires: sqlite3-devel |
---|
23 | BuildRequires: clutter-devel |
---|
24 | BuildRequires: clutter-gtk-devel |
---|
25 | BuildRequires: cairo-devel |
---|
26 | BuildRequires: gtk-doc |
---|
27 | BuildRequires: dbus-devel |
---|
28 | BuildRequires: dbus-glib-devel |
---|
29 | BuildRequires: mpfr-devel |
---|
30 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
31 | |
---|
32 | Vendor: Project Vine |
---|
33 | Distribution: Vine Linux |
---|
34 | Packager: Takemikaduchi |
---|
35 | |
---|
36 | |
---|
37 | %description |
---|
38 | Seed is a library and interpreter, dynamically bridging (through GObjectIntrospection) |
---|
39 | the WebKit JavaScriptCore engine, with the GNOME platform. Seed serves as something |
---|
40 | which enables you to write standalone applications in JavaScript, or easily enable your |
---|
41 | application to be extensible in JavaScript. |
---|
42 | |
---|
43 | %package devel |
---|
44 | Summary: Development files for seed |
---|
45 | Group: Development/Libraries |
---|
46 | Requires: %{name} = %{version}-%{release} |
---|
47 | Requires: WebKit3-gtk-devel |
---|
48 | Requires: gobject-introspection-devel |
---|
49 | Requires: pkgconfig |
---|
50 | |
---|
51 | %description devel |
---|
52 | The devel-package contains header files to develop applications that use libseed. |
---|
53 | |
---|
54 | |
---|
55 | %prep |
---|
56 | %setup -q |
---|
57 | %patch1 -p1 -b .module-doc |
---|
58 | |
---|
59 | |
---|
60 | %build |
---|
61 | %configure \ |
---|
62 | --with-webkit=3.0 \ |
---|
63 | --disable-static \ |
---|
64 | --disable-libtool-lock \ |
---|
65 | --disable-gtk-doc-html |
---|
66 | %{__make} %{?_smp_mflags} |
---|
67 | |
---|
68 | |
---|
69 | %install |
---|
70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
71 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
72 | |
---|
73 | ## remove *.la |
---|
74 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/*.la |
---|
75 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/seed*/*.la |
---|
76 | |
---|
77 | %clean |
---|
78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
79 | |
---|
80 | |
---|
81 | %files |
---|
82 | %defattr(-,root,root) |
---|
83 | %doc COPYING ChangeLog NEWS README |
---|
84 | %{_bindir}/seed |
---|
85 | %{_libdir}/libseed*.so.* |
---|
86 | %{_libdir}/seed*/*.so |
---|
87 | %{_datadir}/doc/seed |
---|
88 | %{_mandir}/man1/* |
---|
89 | %{_datadir}/seed* |
---|
90 | |
---|
91 | %files devel |
---|
92 | %defattr(-,root,root) |
---|
93 | %{_includedir}/seed* |
---|
94 | %{_libdir}/libseed*.so |
---|
95 | %{_libdir}/pkgconfig/seed.pc |
---|
96 | %{_datadir}/gtk-doc/html/seed* |
---|
97 | |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
101 | - new upstream release |
---|
102 | |
---|
103 | * Fri Nov 04 2011 NAKAMURA Kenta <kenta@vinelinux.org> 3.2.0-2 |
---|
104 | - rebuilt with mpfr-3.1.0 |
---|
105 | |
---|
106 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
107 | - new upstream release |
---|
108 | - drop Patch0 |
---|
109 | |
---|
110 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.1-1 |
---|
111 | - new upstream release |
---|
112 | - change configure option (--with-webkit=3.0) |
---|
113 | - change BuildRequires WebKit3-gtk-devel instead of WebKit-gtk-devel |
---|
114 | - add Patch0 (seed-3.1.1-support-javascriptcoregtk.patch) |
---|
115 | - add Patch1 (seed-3.1.1-ignore-readline-doc.patch) |
---|
116 | |
---|
117 | * Thu Oct 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.31.91-1 |
---|
118 | - new upstream release |
---|
119 | - remove BuildRequires: gir-repository-devel |
---|
120 | - add configure option (--with-webkit=1.0) |
---|
121 | - fix %files |
---|
122 | |
---|
123 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2 |
---|
124 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
125 | |
---|
126 | * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
127 | - initial build for Vine Linux |
---|
128 | |
---|