]> git.pld-linux.org Git - SPECS.git/blob - libtap.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / libtap.spec
1 Summary:        Write tests that implement the Test Anything Protocol
2 Name:           libtap
3 Version:        1.01
4 Release:        3
5 License:        BSD
6 Group:          Libraries
7 Source0:        http://people.freebsd.org/~nik/public_distfiles/tap-%{version}.tar.gz
8 # Source0-md5:  5b22a1e94de03c7210a7df71fa18a556
9 URL:            http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The tap library provides functions for writing test scripts that
14 produce output consistent with the Test Anything Protocol. A test
15 harness that parses this protocol can run these tests and produce
16 useful reports indi- cating their success or failure.
17
18 %package devel
19 Summary:        Header files for tap library
20 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki tap
21 Group:          Development/Libraries
22 Requires:       %{name} = %{version}-%{release}
23
24 %description devel
25 Header files for tap library.
26
27 %description devel -l pl.UTF-8
28 Pliki nagłówkowe biblioteki tap.
29
30 %package static
31 Summary:        Static tap library
32 Summary(pl.UTF-8):      Statyczna biblioteka tap
33 Group:          Development/Libraries
34 Requires:       %{name}-devel = %{version}-%{release}
35
36 %description static
37 Static tap library.
38
39 %description static -l pl.UTF-8
40 Statyczna biblioteka tap.
41
42 %prep
43 %setup -q -n tap-%{version}
44
45 %build
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post   -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README
63 %attr(755,root,root) %{_libdir}/libtap.so.*.*.*
64 %attr(755,root,root) %ghost %{_libdir}/libtap.so.0
65
66 %files devel
67 %defattr(644,root,root,755)
68 %{_includedir}/tap.h
69 %{_libdir}/libtap.la
70 %{_libdir}/libtap.so
71 %{_mandir}/man3/tap.3*
72
73 %files static
74 %defattr(644,root,root,755)
75 %{_libdir}/libtap.a
This page took 0.295746 seconds and 3 git commands to generate.