]>
Commit | Line | Data |
---|---|---|
00129fc9 | 1 | Summary: Framework for handling automated tests in C++ |
d7ddae72 | 2 | Summary(pl.UTF-8): Framework do obsługi zautomatyzowanych testów w C++ |
00129fc9 | 3 | Name: cpptest |
98effe16 | 4 | Version: 1.1.1 |
00129fc9 | 5 | Release: 1 |
6 | License: LGPL v2.1+ | |
7 | Group: Libraries | |
98effe16 | 8 | Source0: http://downloads.sourceforge.net/cpptest/%{name}-%{version}.tar.gz |
9 | # Source0-md5: b50379402d69d40417add19ef88f9938 | |
00129fc9 | 10 | URL: http://cpptest.sourceforge.net/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
c323c029 | 13 | BuildRequires: libstdc++-devel |
00129fc9 | 14 | BuildRequires: libtool |
d7ddae72 | 15 | BuildRequires: pkgconfig |
00129fc9 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | C++Test is a portable and powerful framework for handling automated | |
20 | tests in C++. The focus lies on usability and extendability. Several | |
21 | output formats are supported and new ones are easily added. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | C++Test jest przenośnym i potężnym frameworkiem do obsługi | |
98effe16 | 25 | zautomatyzowanych testów w C++. Kładzie on duży nacisk na użyteczność |
26 | oraz rozszerzalność. Obsługiwanych jest kilka formatów wyjściowych, a | |
27 | nowe dodaje się z łatwością. | |
00129fc9 | 28 | |
29 | %package devel | |
30 | Summary: Header files for cpptest library | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki cpptest | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | ||
35 | %description devel | |
36 | Header files for cpptest library. | |
37 | ||
38 | %description devel -l pl.UTF-8 | |
39 | Pliki nagłówkowe biblioteki cpptest. | |
40 | ||
41 | %package static | |
42 | Summary: Static cpptest library | |
43 | Summary(pl.UTF-8): Statyczna biblioteka cpptest | |
44 | Group: Development/Libraries | |
45 | Requires: %{name}-devel = %{version}-%{release} | |
46 | ||
47 | %description static | |
48 | Static cpptest library. | |
49 | ||
50 | %description static -l pl.UTF-8 | |
51 | Statyczna biblioteka cpptest. | |
52 | ||
53 | %prep | |
54 | %setup -q | |
55 | ||
56 | %build | |
57 | %{__libtoolize} | |
58 | %{__aclocal} | |
59 | %{__autoconf} | |
60 | %{__autoheader} | |
61 | %{__automake} | |
62 | %configure | |
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post -p /sbin/ldconfig | |
75 | %postun -p /sbin/ldconfig | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS NEWS README | |
80 | %attr(755,root,root) %{_libdir}/libcpptest.so.*.*.* | |
81 | %attr(755,root,root) %ghost %{_libdir}/libcpptest.so.0 | |
82 | ||
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
d7ddae72 | 85 | %attr(755,root,root) %{_libdir}/libcpptest.so |
00129fc9 | 86 | %{_libdir}/libcpptest.la |
87 | %{_includedir}/cpptest*.h | |
88 | %{_pkgconfigdir}/libcpptest.pc | |
89 | ||
90 | %files static | |
91 | %defattr(644,root,root,755) | |
92 | %{_libdir}/libcpptest.a |