Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37789566
en ru br
ALT Linux repos
S:1.14.0-alt1_6

Group :: System/Libraries
RPM: tap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-macros-mageia-compat
BuildRequires: gcc-c++ perl(Test/More.pm)
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
# %%name is ahead of its definition. Predefining for rpm 4.0 compatibility.
%define name tap
%define major 0
%define libname lib%{name}%{major}
%define develname lib%{name}-devel

Name: tap
Version: 1.14.0
Release: alt1_6
Summary: Write tests that implement the Test Anything Protocol
License: BSD
Group: System/Libraries
URL: https://www.shlomifish.org/open-source/projects/libtap/
Source: https://web-cpan.shlomifish.org/downloads/libtap-%{version}.tar.xz
BuildRequires: ccmake cmake ctest
Source44: import.info

%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 indicating their
success or failure.

%package -n %{libname}
Summary: Write tests that implement the Test Anything Protocol
Group: System/Libraries

%description -n %{libname}
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 indicating their
success or failure.

%package -n %{develname}
Summary: Development files for %{name}
Group: Development/C
Requires: %{libname} = %{version}
Provides: %{name}-devel = %{version}-%{release}

%description -n %{develname}
This package contains development files for %{name}.

%prep
%setup -q -n libtap-%{version}
# hack
sed -i 's, at VERSION at ,%version,' libtap.pc.in

%build
%{mageia_cmake} -DCMAKE_SKIP_RPATH:BOOL=ON
%mageia_cmake_build

%install
%mageia_cmake_install

%files -n %{libname}
%doc COPYING NEWS README
%{_libdir}/lib%{name}.so.%{major}
%{_libdir}/lib%{name}.so.%{major}.*

%files -n %{develname}
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/lib%{name}.pc
%{_includedir}/*
%{_mandir}/man3/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin