31e01c3
Name:       csdiff
807fc31
Version:    1.0.4
Petr Machata 5375e62
Release:    2%{?dist}
31e01c3
Summary:    Non-interactive tools for processing code scan results in plain-text
31e01c3
31e01c3
Group:      Applications/Text
31e01c3
License:    GPLv3+
31e01c3
URL:        https://git.fedorahosted.org/cgit/codescan-diff.git
807fc31
Source0:    https://git.fedorahosted.org/cgit/codescan-diff.git/snapshot/%{name}-%{version}.tar.xz
31e01c3
31e01c3
BuildRequires: boost-devel
31e01c3
BuildRequires: cmake
31e01c3
BuildRequires: help2man
31e01c3
31e01c3
%description
31e01c3
This package contains the csdiff tool for comparing code scan defect lists in
31e01c3
order to find out added or fixed defects, and the csgrep utility for filtering
31e01c3
defect lists using various filtering predicates. 
31e01c3
31e01c3
%prep
31e01c3
%setup -q
31e01c3
rm -rf ./boost_*
31e01c3
31e01c3
%build
31e01c3
make version.cc
31e01c3
mkdir csdiff_build
31e01c3
cd csdiff_build
31e01c3
%cmake ..
31e01c3
make %{?_smp_mflags} VERBOSE=yes
31e01c3
31e01c3
%install
31e01c3
cd csdiff_build
31e01c3
make install DESTDIR="$RPM_BUILD_ROOT"
31e01c3
31e01c3
%check
31e01c3
cd csdiff_build
31e01c3
ctest %{?_smp_mflags} --output-on-failure
31e01c3
31e01c3
%files
31e01c3
%{_bindir}/csdiff
31e01c3
%{_bindir}/csgrep
31e01c3
%{_bindir}/cshtml
31e01c3
%{_bindir}/cslinker
31e01c3
%{_bindir}/cssort
31e01c3
%{_mandir}/man1/csdiff.1*
31e01c3
%{_mandir}/man1/csgrep.1*
31e01c3
%{_mandir}/man1/cshtml.1*
31e01c3
%{_mandir}/man1/cslinker.1*
31e01c3
%{_mandir}/man1/cssort.1*
31e01c3
%doc COPYING README
31e01c3
31e01c3
%changelog
Petr Machata 5375e62
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 1.0.4-2
Petr Machata 5375e62
- Rebuild for boost 1.55.0
Petr Machata 5375e62
807fc31
* Mon Mar 17 2014 Kamil Dudka <kdudka@redhat.com> 1.0.4-1
807fc31
- update to latest upstream
807fc31
31e01c3
* Thu Feb 20 2014 Kamil Dudka <kdudka@redhat.com> 1.0.2-2
31e01c3
- abandon RHEL-5 compatibility per Fedora Review Request (#1066027)
31e01c3
31e01c3
* Wed Feb 19 2014 Kamil Dudka <kdudka@redhat.com> 1.0.2-1
31e01c3
- packaged for Fedora