forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcppunit.spec
59 lines (51 loc) · 1.46 KB
/
cppunit.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Summary: C++ port of Junit test framework
Name: cppunit
Version: 1.12.1
Release: 2%{?dist}
License: LGPLv2
URL: https://sourceforge.net/projects/cppunit/
Source0: https://sourceforge.net/projects/cppunit/files/%{name}/%{version}/%{name}-%{version}.tar.gz
%define sha1 cppunit=f1ab8986af7a1ffa6760f4bacf5622924639bf4a
Group: Development/Tools
Vendor: VMware, Inc.
Distribution: Photon
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: make
BuildRequires: gcc
BuildRequires: libgcc
BuildRequires: libtool
%description
CppUnit is the C++ port of the famous JUnit framework for unit testing. Test
output is in XML or text format for automatic testing and GUI based for
supervised tests
%package devel
Summary: cppunit devel
Group: Development/Tools
%description devel
This contains headers and libs for development with cppunit.
%prep
%setup -n %{name}-%{version}
%build
%configure \
--disable-silent-rules
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
find %{buildroot} -name '*.la' -delete
%files
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/libcppunit-*so.*
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}/*
%{_libdir}/libcppunit.a
%{_libdir}/libcppunit.so
%{_libdir}/pkgconfig*
/usr/share/*
%changelog
* Fri Oct 13 2017 Alexey Makhalov <[email protected]> 1.12.1-2
- Use standard configure macros
* Sun Mar 26 2017 Vinay Kulkarni <[email protected]> 1.12.1-1
- Initial version of cppunit for Photon.