Line | |
---|
1 | Summary: minimalistic headless WebKit-based JavaScript-driven tool |
---|
2 | Name: phantomjs |
---|
3 | Version: 1.0.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: modified BSD-Style License |
---|
6 | Group: Development/Tools |
---|
7 | URL: http://code.google.com/p/phantomjs/ |
---|
8 | Source0: http://phantomjs.googlecode.com/files/%{name}-%{version}.zip |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
10 | |
---|
11 | BuildRequires: unzip |
---|
12 | BuildRequires: qt4-devel >= 4.7 qt4-designer |
---|
13 | |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | Packager: iwaim |
---|
17 | |
---|
18 | %description |
---|
19 | PhantomJS is a minimalistic, headless, WebKit-based JavaScript-driven tool. |
---|
20 | |
---|
21 | It has native (and high performant) support for DOM handling, CSS selector, |
---|
22 | JSON, Canvas, and SVG. |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q |
---|
26 | qmake PREFIX=%{_prefix} |
---|
27 | |
---|
28 | %build |
---|
29 | make %{?_smp_mflags} |
---|
30 | |
---|
31 | %install |
---|
32 | %__rm -rf %{buildroot} |
---|
33 | %__mkdir -p %{buildroot}%{_bindir} |
---|
34 | %__install -m 0755 bin/* %{buildroot}%{_bindir} |
---|
35 | |
---|
36 | %clean |
---|
37 | %__rm -rf %{buildroot} |
---|
38 | |
---|
39 | %files |
---|
40 | %defattr(-,root,root,-) |
---|
41 | %doc ChangeLog LICENSE.BSD README.md examples |
---|
42 | %{_bindir}/phantomjs |
---|
43 | |
---|
44 | %changelog |
---|
45 | * Wed Mar 9 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.0-1 |
---|
46 | - Initial build. |
---|
47 | |
---|
48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.