Update to 5.3.54 and cleanup spec

i9m changed/i9m/belcard-5.3.54-1.el9.inferit
Arkady L. Shane 8 months ago
parent 1e8a6c3542
commit 69b4e60611
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1 +1 @@
35530d85703be89f340312eef0f76b6c732a97ee SOURCES/belcard-5.3.5.tar.gz
71d66f3000e7dcb6c2aca93b79ae0aecc5d646c4 SOURCES/belcard-5.3.54.tar.gz

2
.gitignore vendored

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

@ -1,19 +1,16 @@
%define major 1
%define libname %{name}-libs
%define develname %{name}-devel
Summary: C++ library to manipulate vCard standard format
Name: belcard
Version: 5.3.5
Release: %{major}%{?dist}.inferit
License: GPLv3+
Group: System/Libraries
URL: https://linphone.org/
Source0: https://gitlab.linphone.org/BC/public/belcard/-/archive/%{version}/belcard-%{version}.tar.gz
Summary: C++ library to manipulate vCard standard format
Name: belcard
Version: 5.3.54
Release: 1%{?dist}.inferit
License: GPLv3+
URL: https://linphone.org/
Source0: https://gitlab.linphone.org/BC/public/belcard/-/archive/%{version}/belcard-%{version}.tar.gz
# (wally) from OpenSUSE to install pkgconfig .pc file
Patch0: belcard-fix-pkgconfig.patch
Patch0: belcard-fix-pkgconfig.patch
# (wally) fix cmake config file location
Patch1: belcard-cmake-config-location.patch
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: pkgconfig(belr) >= %{version}
@ -22,21 +19,18 @@ BuildRequires: pkgconfig(udev)
%description
Belcard is a C++ library to manipulate the vCard standard format.
%package -n %{libname}
%package libs
Summary: C++ library to manipulate vCard standard format
Group: System/Libraries
Requires: %{name}-grammars >= %{version}-%{release}
%description -n %{libname}
%description libs
Belcard is a C++ library to manipulate the vCard standard format.
%package -n %{develname}
%package devel
Summary: Development files for %{name}
Group: Development/C++
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
%description -n %{develname}
%description devel
This package contains development files for %{name}
%package grammars
@ -79,12 +73,12 @@ find %{buildroot} -name "*.la" -delete
%dir %{_datadir}/belr/grammars/
%{_datadir}/belr/grammars/vcard_grammar
%files -n %{libname}
%files libs
%license LICENSE*
%doc README*
%{_libdir}/lib%{name}.so.%{major}{,.*}
%{_libdir}/lib%{name}.so.*
%files -n %{develname}
%files devel
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
%{_libdir}/cmake/BelCard/
@ -92,6 +86,10 @@ find %{buildroot} -name "*.la" -delete
%changelog
* Fri May 31 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 5.3.54-1.inferit
- Update to 5.3.54
- Clean up 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