]> git.pld-linux.org Git - packages/ka5-kpkpass.git/blame - ka5-kpkpass.spec
- updated to 22.04.0
[packages/ka5-kpkpass.git] / ka5-kpkpass.spec
CommitLineData
cc71b848
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
c08eb587 4%define kdeappsver 22.04.0
0646b061 5%define kframever 5.56.0
8a6e1d3f
WF
6%define qtver 5.9.0
7%define kaname kpkpass
8Summary: kpkpass
9Name: ka5-%{kaname}
c08eb587 10Version: 22.04.0
8a6e1d3f
WF
11Release: 1
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
42d00646 14Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
c08eb587 15# Source0-md5: e2a774a8e5384529309f97dd62e88d7c
8a6e1d3f
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel
19BuildRequires: Qt5Test-devel
20BuildRequires: cmake >= 2.8.12
0646b061
WF
21BuildRequires: kf5-extra-cmake-modules >= %{kframever}
22BuildRequires: kf5-karchive-devel >= %{kframever}
a7d2710f 23BuildRequires: ninja
8a6e1d3f
WF
24BuildRequires: qt5-build >= %{qtver}
25BuildRequires: rpmbuild(macros) >= 1.164
26BuildRequires: shared-mime-info
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Library to deal with Apple Wallet pass files. Apple Wallet files are
33essentially ZIP files containing a JSON description of the pass,
34translated message catalogs and graphical assets to render the pass.
35
c544b197
WF
36%description -l pl.UTF-8
37Biblioteka do obsługi portfela Apple z plikami haseł. Pliki Apple
38Wallet są plikami ZIP z JSONowym opisem pass, a także katalogiem z
39tłumaczeniami i plikami graficznymi.
40
8a6e1d3f
WF
41%package devel
42Summary: Header files for %{kaname} development
43Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
44Group: X11/Development/Libraries
45Requires: %{name} = %{version}-%{release}
46
47%description devel
48Header files for %{kaname} development.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe dla programistów używających %{kaname}.
52
53%prep
54%setup -q -n %{kaname}-%{version}
55
56%build
57install -d build
58cd build
59%cmake \
a7d2710f 60 -G Ninja \
cc71b848 61 %{!?with_tests:-DBUILD_TESTING=OFF} \
0646b061 62 -DHTML_INSTALL_DIR=%{_kdedocdir} \
8a6e1d3f
WF
63 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
64 ..
a7d2710f 65%ninja_build
8a6e1d3f 66
cc71b848
WF
67%if %{with tests}
68ctest
69%endif
70
71
8a6e1d3f
WF
72%install
73rm -rf $RPM_BUILD_ROOT
a7d2710f 74%ninja_install -C build
8a6e1d3f
WF
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
6efb21d7
WF
84%ghost %{_libdir}/libKPimPkPass.so.5
85%attr(755,root,root) %{_libdir}/libKPimPkPass.so.*.*.*
42d00646 86%{_datadir}/qlogging-categories5/org_kde_kpkpass.categories
8a6e1d3f
WF
87
88%files devel
89%defattr(644,root,root,755)
90%{_includedir}/KPim/KPkPass
91%{_libdir}/cmake/KPimPkPass
6efb21d7 92%{_libdir}/libKPimPkPass.so
This page took 0.200742 seconds and 4 git commands to generate.