summaryrefslogtreecommitdiff
path: root/cpptest.spec
blob: ad557ebb95ed5b9e3e3f724fa0350183d69f8739 (plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Summary:	Framework for handling automated tests in C++
Summary(pl.UTF-8):	Framework do obsługi zautomatyzowanych testów w C++
Name:		cpptest
Version:	1.1.1
Release:	2
License:	LGPL v2.1+
Group:		Libraries
Source0:	http://downloads.sourceforge.net/cpptest/%{name}-%{version}.tar.gz
# Source0-md5:	b50379402d69d40417add19ef88f9938
URL:		http://cpptest.sourceforge.net/
BuildRequires:	autoconf >= 2.53
BuildRequires:	automake >= 1:1.8
BuildRequires:	libstdc++-devel
BuildRequires:	libtool >= 2:1.5
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
C++Test is a portable and powerful framework for handling automated
tests in C++. The focus lies on usability and extendability. Several
output formats are supported and new ones are easily added.

%description -l pl.UTF-8
C++Test jest przenośnym i potężnym frameworkiem do obsługi
zautomatyzowanych testów w C++. Kładzie on duży nacisk na użyteczność
oraz rozszerzalność. Obsługiwanych jest kilka formatów wyjściowych, a
nowe dodaje się z łatwością.

%package devel
Summary:	Header files for cpptest library
Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki cpptest
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	libstdc++-devel

%description devel
Header files for cpptest library.

%description devel -l pl.UTF-8
Pliki nagłówkowe biblioteki cpptest.

%package static
Summary:	Static cpptest library
Summary(pl.UTF-8):	Statyczna biblioteka cpptest
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}

%description static
Static cpptest library.

%description static -l pl.UTF-8
Statyczna biblioteka cpptest.

%prep
%setup -q

%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post	-p /sbin/ldconfig
%postun	-p /sbin/ldconfig

%files
%defattr(644,root,root,755)
%doc AUTHORS BUGS NEWS README
%attr(755,root,root) %{_libdir}/libcpptest.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcpptest.so.0

%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libcpptest.so
%{_libdir}/libcpptest.la
%{_includedir}/cpptest*.h
%{_pkgconfigdir}/libcpptest.pc

%files static
%defattr(644,root,root,755)
%{_libdir}/libcpptest.a