Name: dehydra Version: 0.9 Release: 3%{?dist} Summary: Lightweight application that allows users to analyze C++ code License: GPLv2+ Group: Development/Debuggers URL: https://developer.mozilla.org/en/Dehydra Source0: http://ftp.mozilla.org/pub/mozilla.org/static-analysis/dehydra/dehydra-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-c++ BuildRequires: mercurial BuildRequires: autoconf213 BuildRequires: mpfr-devel BuildRequires: js-devel BuildRequires: js %description A lightweight, scriptable tool that analyzes C++ code %prep %setup -q %build export CXX=/home/bchao/tools/gcc-dehydra/installed/bin/g++ cd %{_builddir}/%{name}-%{version} ./configure \ --js-libs=%{_libdir} \ --js-headers=%{_libdir} \ --gcc-build=/home/bchao/tools/gcc-dehydra/gcc-build/ #There is no autoconf for this package, so rpmlint is reporting a false warning make %{?_smp_mflags} %install rm -rf %{buildroot} install -dT %{buildroot}/%{_libdir}/%{name} cp %{_builddir}/%{name}-%{version}/gcc_dehydra.so %{buildroot}/%{_libdir}/%{name}/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README COPYING %{_libdir}/%{name}/gcc_dehydra.so %changelog *Sat Feb 06 2010 Boris Chao 0.9-3 -Fixed up Spec File, following the Fedora Review Guidelines *Tue Nov 24 2009 Boris Chao 0.9-2 -Remove hard code to spidermonkey and added JS and JS devl to BuildRequires *Thu Nov 17 2009 Boris Chao 0.9-1 -New spec file