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