khealthcertificate/khealthcertificate.spec

128 lines
4.1 KiB
RPMSpec
Raw Normal View History

%define framework %(echo %name | sed "s|^kf6-||")
%define majver %(echo %version | cut -d. -f1-2)
Name: khealthcertificate
Version: 24.12.0
Release: 1mamba
Summary: Handling of digital vaccination, test and recovery certificates
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/khealthcertificate-%{version}.tar.xz
License: LGPL, MIT, BSD, Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6Network
BuildRequires: libgcc
BuildRequires: libkf6-karchive-devel
BuildRequires: libkf6-kcodecs-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt6-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Handling of digital vaccination, test and recovery certificates.
%package -n lib%{name}
Group: System/Libraries
Summary: Handling of digital vaccination, test and recovery certificates.
%description -n lib%{name}
Handling of digital vaccination, test and recovery certificates.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kf6
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libKHealthCertificate.so.*
%dir %{_qt6_qmldir}/org/kde/khealthcertificate
%{_qt6_qmldir}/org/kde/khealthcertificate/*
%doc LICENSES
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/KHealthCertificate
%{_includedir}/KHealthCertificate/*
%{_libdir}/libKHealthCertificate.so
%dir %{_libdir}/cmake/KHealthCertificate
%{_libdir}/cmake/KHealthCertificate/KHealthCertificate*.cmake
%{_datadir}/qlogging-categories6/org_kde_khealthcertificate.categories
%changelog
* Thu Dec 12 2024 Automatic Build System <autodist@openmamba.org> 24.12.0-1mamba
- automatic version update by autodist
* Mon Dec 02 2024 Automatic Build System <autodist@openmamba.org> 24.11.90-1mamba
- automatic version update by autodist
* Mon Nov 25 2024 Automatic Build System <autodist@openmamba.org> 24.11.80-1mamba
- automatic version update by autodist
* Thu Nov 07 2024 Automatic Build System <autodist@openmamba.org> 24.08.3-1mamba
- automatic version update by autodist
* Fri Oct 11 2024 Automatic Build System <autodist@openmamba.org> 24.08.2-1mamba
- automatic version update by autodist
* Fri Sep 13 2024 Automatic Build System <autodist@openmamba.org> 24.08.1-1mamba
- automatic version update by autodist
* Fri Aug 23 2024 Automatic Build System <autodist@openmamba.org> 24.08.0-1mamba
- automatic version update by autodist
* Wed Aug 14 2024 Automatic Build System <autodist@openmamba.org> 24.07.90-1mamba
- automatic version update by autodist
* Thu Jul 04 2024 Automatic Build System <autodist@openmamba.org> 24.05.2-1mamba
- automatic version update by autodist
* Thu Jun 13 2024 Automatic Build System <autodist@openmamba.org> 24.05.1-1mamba
- automatic version update by autodist
* Thu May 23 2024 Automatic Build System <autodist@openmamba.org> 24.05.0-1mamba
- automatic version update by autodist
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 24.02.2-1mamba
- automatic version update by autodist
* Fri Mar 22 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Mon Mar 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.0-1mamba
- package created using the webbuild interface