From 31e01c3c4c6a8cc27534a8d197930a677877752b Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Feb 24 2014 13:47:46 +0000 Subject: Resolves: #1066027 - initial import See for Fedora Review Request. --- diff --git a/.gitignore b/.gitignore index e69de29..168a3ce 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/csdiff-1.0.2.tar.xz diff --git a/csdiff.spec b/csdiff.spec new file mode 100644 index 0000000..2289816 --- /dev/null +++ b/csdiff.spec @@ -0,0 +1,57 @@ +Name: csdiff +Version: 1.0.2 +Release: 2%{?dist} +Summary: Non-interactive tools for processing code scan results in plain-text + +Group: Applications/Text +License: GPLv3+ +URL: https://git.fedorahosted.org/cgit/codescan-diff.git +Source0: https://git.fedorahosted.org/cgit/codescan-diff.git/snapshot/csdiff-1.0.2.tar.xz + +BuildRequires: boost-devel +BuildRequires: cmake +BuildRequires: help2man + +%description +This package contains the csdiff tool for comparing code scan defect lists in +order to find out added or fixed defects, and the csgrep utility for filtering +defect lists using various filtering predicates. + +%prep +%setup -q +rm -rf ./boost_* + +%build +make version.cc +mkdir csdiff_build +cd csdiff_build +%cmake .. +make %{?_smp_mflags} VERBOSE=yes + +%install +cd csdiff_build +make install DESTDIR="$RPM_BUILD_ROOT" + +%check +cd csdiff_build +ctest %{?_smp_mflags} --output-on-failure + +%files +%{_bindir}/csdiff +%{_bindir}/csgrep +%{_bindir}/cshtml +%{_bindir}/cslinker +%{_bindir}/cssort +%{_mandir}/man1/csdiff.1* +%{_mandir}/man1/csgrep.1* +%{_mandir}/man1/cshtml.1* +%{_mandir}/man1/cslinker.1* +%{_mandir}/man1/cssort.1* +%doc COPYING README + +%changelog +* Thu Feb 20 2014 Kamil Dudka 1.0.2-2 +- abandon RHEL-5 compatibility per Fedora Review Request (#1066027) + +* Wed Feb 19 2014 Kamil Dudka 1.0.2-1 +- packaged for Fedora diff --git a/sources b/sources index e69de29..177b889 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +62b73749d0c8cf882516d63776adf9cc csdiff-1.0.2.tar.xz