phantomjs-vl.spec 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Summary: minimalistic headless WebKit-based JavaScript-driven tool
  2. Name: phantomjs
  3. Version: 1.0.0
  4. Release: 2%{?_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. BuildRequires: unzip
  11. BuildRequires: qt4-devel >= 4.7 qt4-designer
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: iwaim
  15. %description
  16. PhantomJS is a minimalistic, headless, WebKit-based JavaScript-driven tool.
  17. It has native (and high performant) support for DOM handling, CSS selector,
  18. JSON, Canvas, and SVG.
  19. %prep
  20. %setup -q
  21. qmake PREFIX=%{_prefix}
  22. %build
  23. make %{?_smp_mflags}
  24. %install
  25. %__rm -rf %{buildroot}
  26. %__mkdir -p %{buildroot}%{_bindir}
  27. %__install -m 0755 bin/* %{buildroot}%{_bindir}
  28. %clean
  29. %__rm -rf %{buildroot}
  30. %files
  31. %defattr(-,root,root,-)
  32. %doc ChangeLog LICENSE.BSD README.md examples
  33. %{_bindir}/phantomjs
  34. %changelog
  35. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.0.0-2
  36. - rebuild with gcc-5.4.0
  37. * Wed Mar 9 2011 IWAI, Masaharu <iwai@alib.jp> 1.0.0-1
  38. - Initial build.