Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.6
phantomjs
phantomjs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File phantomjs.spec of Package phantomjs
# # spec file for package phantomjs # # Copyright (c) 2014 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/ # Summary: A headless WebKit with JavaScript API Url: http://phantomjs.org/ License: BSD-3-Clause Group: Utilities/Misc Name: phantomjs Version: 2.0.0 Release: 1 Source: https://bitbucket.org/ariya/phantomjs/downloads/%{name}-%{version}-source.zip Patch0: phantomjs-2.0.0-gcc5.patch # https://github.com/ariya/phantomjs/issues/12506 Patch1: phantomjs-2.0.0-fileupload.patch BuildRequires: chrpath BuildRequires: gcc-c++ BuildRequires: openssl-devel BuildRequires: pkgconfig(libpng16) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(fontconfig) BuildRequires: libicu-devel BuildRequires: pkgconfig(sqlite3) BuildRequires: libjpeg-devel BuildRequires: unzip BuildRequires: flex BuildRequires: bison BuildRequires: gperf BuildRequires: ruby BuildRequires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build %description PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. PhantomJS is created by Ariya Hidayat. %prep %setup -q %patch0 -p1 %patch1 -p1 %build MAKEFLAGS="%{?_smp_mflags}" ./build.sh --confirm %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_datadir}/%{name}/examples chrpath -d bin/%{name} cp bin/%{name} %{buildroot}%{_bindir}/%{name} cp examples/* %{buildroot}%{_datadir}/%{name}/examples/ cp CONTRIBUTING.md %{buildroot}%{_datadir}/%{name}/ cp ChangeLog %{buildroot}%{_datadir}/%{name}/ cp LICENSE.BSD %{buildroot}%{_datadir}/%{name}/ cp README.md %{buildroot}%{_datadir}/%{name}/ %files %defattr(0444,root,root,0755) %attr(0555,root,root)%{_bindir}/%{name} %dir %{_datadir}/%{name} %{_datadir}/%{name}/ChangeLog %{_datadir}/%{name}/CONTRIBUTING.md %{_datadir}/%{name}/examples/ %{_datadir}/%{name}/LICENSE.BSD %{_datadir}/%{name}/README.md %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor