# Copyright (c) 2011 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/ # # norootforbuild Name: nodejs-jscoverage Summary: Jscoverage modified to support SSJS Version: 0.0.1 Release: 1 License: GPLv2 Url: https://github.com/visionmedia/node-jscoverage %define git_rev 0d4608a6b4275b020ba665389aa75897d5d4a584 Source: %{name}-%{version}.tar.bz2 Group: Development/Libraries/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ %nodejs_find_provides_and_requires %description JScoverage for node. %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} make %{?jobs:-j %jobs} %install %makeinstall %clean rm -rf %{buildroot} %files %defattr(-,root,root) %attr(755,root,root) %{_bindir}/jscoverage %attr(755,root,root) %{_bindir}/jscoverage-server %{_mandir}/man1/jscoverage* %changelog