Name: jscoverage Version: 0.3.2 Release: 0.1.rc1%{?dist} Summary: A tool that measures code coverage for JavaScript programs Group: Development/Languages License: GPLv2+ URL: http://siliconforks.com/jscoverage/ Source0: http://siliconforks.com/jscoverage/download/%{name}-%{version}rc1.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: #Requires: %description JSCoverage is a tool that measures code coverage for JavaScript programs. Code coverage statistics show which lines of a program have been executed (and which have been missed). This information is useful for constructing comprehensive test suites (for which it is often called test coverage). JSCoverage works by instrumenting the JavaScript code used in web pages. Code coverage statistics are collected while the instrumented JavaScript code is executed in a web browser. JSCoverage works with any modern standards-compliant web browser - including Internet Explorer (IE 6 and IE 7), Firefox (FF 2 and FF 3), Opera, and Safari - on Windows and Linux. %package devel Summary: Headers and links to compile against jscoverage Group: Development/Libraries Requires: %{name} = %{version} Requires: pkgconfig %description devel JSCoverage is a tool that measures code coverage for JavaScript programs. This package contains files needed to compile applications that use jscoverage. %prep %setup -q %build %configure sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' js/libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' js/libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README help.txt doc %{_bindir}/jscoverage %changelog * Sun Jun 29 2008 Jesse Keating - 0.3.2-0.1.rc1 - Update to 0.3.2 rc1, which fixes make install issues too. - Drop all 'js' related files, as they aren't installed/needed. * Sat Jun 28 2008 Jesse Keating - 0.3.1-1 - Initial package.