Files
nodejs-jscoverage/nodejs-jscoverage.spec

55 lines
1.6 KiB
RPMSpec

#
# spec file for package nodejs-jscoverage
#
# 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/
#
%define git_rev 0d4608a6b4275b020ba665389aa75897d5d4a584
Name: nodejs-jscoverage
Version: 0.0.1
Release: 0
Summary: Jscoverage modified to support SSJS
License: GPL-2.0
Group: Development/Libraries/Other
Url: https://github.com/visionmedia/node-jscoverage
Source: %{name}-%{version}.tar.bz2
BuildRequires: gcc-c++
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{nodejs_find_provides_and_requires}
%description
JScoverage for node.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
./configure --prefix=%{_prefix}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/jscoverage
%attr(755,root,root) %{_bindir}/jscoverage-server
%{_mandir}/man1/jscoverage*
%changelog