Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
OBS:Server:2.8
phantomjs
phantomjs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File phantomjs.spec of Package phantomjs
# # spec file for package phantomjs # # Copyright (c) 2016 SUSE LINUX 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 License: BSD-3-Clause Group: Utilities/Misc Url: http://phantomjs.org/ Name: phantomjs Version: 1.9.8 Release: 0 Source: https://bitbucket.org/ariya/phantomjs/downloads/%{name}-%{version}-source.zip BuildRequires: chrpath BuildRequires: gcc-c++ BuildRequires: libqt4-devel BuildRequires: openssl-devel BuildRequires: unzip %if 0%{?suse_version} BuildRequires: libQtWebKit-devel %else BuildRequires: qtwebkit-devel %endif 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 %build ./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
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor