|
|
|
@ -1,13 +1,10 @@
|
|
|
|
|
%define major 1
|
|
|
|
|
%define libname %{name}-libs
|
|
|
|
|
%define develname %{name}-devel
|
|
|
|
|
|
|
|
|
|
Name: bcunit
|
|
|
|
|
Version: 5.3.5
|
|
|
|
|
Release: %{major}%{?dist}.inferit
|
|
|
|
|
Version: 5.3.54
|
|
|
|
|
Release: 1%{?dist}.inferit
|
|
|
|
|
Summary: Provide C programmers basic testing functionality
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Group: Development/C++
|
|
|
|
|
Url: https://linphone.org/
|
|
|
|
|
Source: https://gitlab.linphone.org/BC/public/bcunit/-/archive/%{version}/bcunit-%{version}.tar.gz
|
|
|
|
|
# PATCH-FIX-OPENSUSE bcunit-link-ncurses.patch jengelh@medozas.de
|
|
|
|
@ -17,13 +14,15 @@ Patch1: bcunit-ncurses6.patch
|
|
|
|
|
# PATCH-FIX-OPENSUSE bcunit-sover.patch sor.alexei@meowr.ru -- Correctly set the sover.
|
|
|
|
|
Patch2: bcunit-sover.patch
|
|
|
|
|
# mga patches
|
|
|
|
|
Patch100: bcunit-pkg-conf-pc.patch
|
|
|
|
|
Patch101: bcunit-CMake-files-location.patch
|
|
|
|
|
Patch102: bcunit-3.0.2-mga-string-format.patch
|
|
|
|
|
Patch100: bcunit-pkg-conf-pc.patch
|
|
|
|
|
Patch101: bcunit-CMake-files-location.patch
|
|
|
|
|
Patch102: bcunit-3.0.2-mga-string-format.patch
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
|
|
Obsoletes: %{name}-libs < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
BCUnit is a unit testing framework for C, derived from CUnit.
|
|
|
|
|
(B)CUnit provides various interfaces to the framework, some of which
|
|
|
|
@ -31,25 +30,15 @@ are platform dependent (e.g. curses on *nix). The framework complies
|
|
|
|
|
with the conventional structure of test cases bundled into suites
|
|
|
|
|
which are registered with the framework for running.
|
|
|
|
|
|
|
|
|
|
%package -n %{develname}
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: BCUnit development files
|
|
|
|
|
Group: Development/C++
|
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-devel < 3.0.2-5
|
|
|
|
|
|
|
|
|
|
%description -n %{develname}
|
|
|
|
|
%description devel
|
|
|
|
|
BCUnit is a unit testing framework for C.
|
|
|
|
|
This package installs the BCUnit development files.
|
|
|
|
|
|
|
|
|
|
%package -n %{libname}
|
|
|
|
|
Summary: BCUnit shared library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
|
BCUnit is a unit testing framework for C.
|
|
|
|
|
This package installs the BCUnit shared library.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
@ -69,11 +58,11 @@ sed -i -e '/^project/s/\(VERSION\)\s\+"\?[0-9]\+\(\.[0-9]\+\)\+"\?/\1 %{version}
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/libbcunit.so.%{major}{,.*}
|
|
|
|
|
|
|
|
|
|
%files -n %{develname}
|
|
|
|
|
%files devel
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README* TODO
|
|
|
|
|
%{_includedir}/BCUnit/
|
|
|
|
|
%{_datadir}/BCUnit/
|
|
|
|
@ -83,6 +72,10 @@ sed -i -e '/^project/s/\(VERSION\)\s\+"\?[0-9]\+\(\.[0-9]\+\)\+"\?/\1 %{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 31 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 5.3.54-1.inferit
|
|
|
|
|
- update to 5.3.54
|
|
|
|
|
- cleanup spec
|
|
|
|
|
|
|
|
|
|
* Wed May 29 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 5.3.5-1.inferit
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|