Update to 5.3.54 and cleanup spec

i9m changed/i9m/bcunit-5.3.54-1.el9.inferit
Arkady L. Shane 8 months ago
parent e7ae158e79
commit 71a94d5b73
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1 +1 @@
8b66e4546089c30670b4f3e59bd1a170b17d9ba7 SOURCES/bcunit-5.3.5.tar.gz
9ca2cf42be850b8e03c3aa17d1dcb2bf0c314cc6 SOURCES/bcunit-5.3.54.tar.gz

2
.gitignore vendored

@ -1 +1 @@
SOURCES/bcunit-5.3.5.tar.gz
SOURCES/bcunit-5.3.54.tar.gz

@ -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
@ -24,6 +21,8 @@ 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

Loading…
Cancel
Save