[packages/libtap] Release 2 (by relup.sh)

arekm arekm at pld-linux.org
Sat Apr 4 01:40:13 CEST 2026


commit fbae984d9ac1118c3a1e387c60da323eee70cbd7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Apr 4 01:40:08 2026 +0200

    Release 2 (by relup.sh)

 libtap.spec | 53 +++++++++++++++++++++++------------------------------
 1 file changed, 23 insertions(+), 30 deletions(-)
---
diff --git a/libtap.spec b/libtap.spec
index eb632a1..72d9982 100644
--- a/libtap.spec
+++ b/libtap.spec
@@ -1,19 +1,24 @@
 Summary:	Write tests that implement the Test Anything Protocol
 Name:		libtap
-Version:	1.01
-Release:	3
+Version:	1.14.0
+Release:	2
 License:	BSD
 Group:		Libraries
-Source0:	http://people.freebsd.org/~nik/public_distfiles/tap-%{version}.tar.gz
-# Source0-md5:	5b22a1e94de03c7210a7df71fa18a556
-URL:		http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap
+Source0:	http://web-cpan.shlomifish.org/downloads/%{name}-%{version}.tar.xz
+# Source0-md5:	377afd74867a3558f8a7093638f228e6
+Source1:	https://raw.githubusercontent.com/shlomif/shlomif-cmake-modules/master/shlomif-cmake-modules/Shlomif_Common.cmake
+# Source1-md5:	43a7a5c36f579f7fceeea078ecdc3e72
+URL:		https://www.shlomifish.org/open-source/projects/libtap/
+BuildRequires:	cmake >= 2.8
+BuildRequires:	perl-base
+BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The tap library provides functions for writing test scripts that
 produce output consistent with the Test Anything Protocol. A test
 harness that parses this protocol can run these tests and produce
-useful reports indi- cating their success or failure.
+useful reports indicating their success or failure.
 
 %package devel
 Summary:	Header files for tap library
@@ -27,28 +32,20 @@ Header files for tap library.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki tap.
 
-%package static
-Summary:	Static tap library
-Summary(pl.UTF-8):	Statyczna biblioteka tap
-Group:		Development/Libraries
-Requires:	%{name}-devel = %{version}-%{release}
-
-%description static
-Static tap library.
-
-%description static -l pl.UTF-8
-Statyczna biblioteka tap.
-
 %prep
-%setup -q -n tap-%{version}
+%setup -q
+
+cp -p %{SOURCE1} cmake/Shlomif_Common.cmake
 
 %build
-%configure
-%{__make}
+%cmake -B build
+
+%{__make} -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -59,17 +56,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README NEWS COPYING
 %attr(755,root,root) %{_libdir}/libtap.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtap.so.0
+%ghost %{_libdir}/libtap.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/tap.h
-%{_libdir}/libtap.la
 %{_libdir}/libtap.so
+%{_includedir}/tap.h
+%{_pkgconfigdir}/libtap.pc
 %{_mandir}/man3/tap.3*
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libtap.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libtap.git/commitdiff/fbae984d9ac1118c3a1e387c60da323eee70cbd7



More information about the pld-cvs-commit mailing list