[packages/ka6-kpkpass] - updated to 24.02.0
witekfl
witekfl at pld-linux.org
Mon Mar 4 18:26:01 CET 2024
commit f1480dc96e1f707e93b9f83232d785f9e7b83cf8
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 4 18:25:53 2024 +0100
- updated to 24.02.0
ka6-kpkpass.spec | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
---
diff --git a/ka6-kpkpass.spec b/ka6-kpkpass.spec
new file mode 100644
index 0000000..5e41304
--- /dev/null
+++ b/ka6-kpkpass.spec
@@ -0,0 +1,90 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 24.02.0
+%define kframever 5.94.0
+%define qtver 5.15.2
+%define kaname kpkpass
+Summary: kpkpass
+Name: ka6-%{kaname}
+Version: 24.02.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 5e1bdcb17e3068541839a85bcdc6eff0
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel
+BuildRequires: Qt6Test-devel
+BuildRequires: cmake >= 3.20
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-karchive-devel >= %{kframever}
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Library to deal with Apple Wallet pass files. Apple Wallet files are
+essentially ZIP files containing a JSON description of the pass,
+translated message catalogs and graphical assets to render the pass.
+
+%description -l pl.UTF-8
+Biblioteka do obsługi portfela Apple z plikami haseł. Pliki Apple
+Wallet są plikami ZIP z JSONowym opisem pass, a także katalogiem z
+tłumaczeniami i plikami graficznymi.
+
+%package devel
+Summary: Header files for %{kaname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libKPim6PkPass.so.*.*
+%ghost %{_libdir}/libKPim6PkPass.so.6
+%{_datadir}/qlogging-categories6/org_kde_kpkpass.categories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KPim6/KPkPass
+%{_libdir}/cmake/KPim6PkPass
+%{_libdir}/libKPim6PkPass.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kpkpass.git/commitdiff/f1480dc96e1f707e93b9f83232d785f9e7b83cf8
More information about the pld-cvs-commit
mailing list