]>
Commit | Line | Data |
---|---|---|
d7fb890a | 1 | %define kdeappsver 18.12.1 |
c3b701c9 WF |
2 | %define qtver 5.9.0 |
3 | %define kaname kwalletmanager | |
4 | Summary: kwallet manager | |
5 | Name: ka5-%{kaname} | |
d7fb890a | 6 | Version: 18.12.1 |
c3b701c9 WF |
7 | Release: 1 |
8 | License: GPL v2+/LGPL v2.1+ | |
9 | Group: X11/Applications | |
10 | Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz | |
d7fb890a | 11 | # Source0-md5: 1b43d76c6e7ae553af3b854c0fd0fae3 |
c3b701c9 WF |
12 | URL: http://www.kde.org/ |
13 | BuildRequires: Qt5Core-devel | |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
15 | BuildRequires: Qt5DBus-devel | |
16 | BuildRequires: Qt5Gui-devel | |
17 | BuildRequires: Qt5Widgets-devel | |
18 | BuildRequires: cmake >= 2.8.12 | |
19 | BuildRequires: gettext-devel | |
20 | BuildRequires: kf5-extra-cmake-modules >= 5.46.0 | |
21 | BuildRequires: kf5-karchive-devel >= 5.46.0 | |
22 | BuildRequires: kf5-kauth-devel >= 5.46.0 | |
23 | BuildRequires: kf5-kcmutils-devel >= 5.46.0 | |
24 | BuildRequires: kf5-kconfig-devel >= 5.46.0 | |
25 | BuildRequires: kf5-kconfigwidgets-devel >= 5.46.0 | |
26 | BuildRequires: kf5-kcoreaddons-devel >= 5.46.0 | |
27 | BuildRequires: kf5-kcrash-devel >= 5.46.0 | |
28 | BuildRequires: kf5-kdbusaddons-devel >= 5.46.0 | |
29 | BuildRequires: kf5-kdoctools-devel >= 5.46.0 | |
30 | BuildRequires: kf5-ki18n-devel >= 5.46.0 | |
31 | BuildRequires: kf5-kiconthemes-devel >= 5.46.0 | |
32 | BuildRequires: kf5-kio-devel >= 5.46.0 | |
33 | BuildRequires: kf5-kjobwidgets-devel >= 5.46.0 | |
34 | BuildRequires: kf5-knotifications-devel >= 5.46.0 | |
35 | BuildRequires: kf5-kservice-devel >= 5.46.0 | |
36 | BuildRequires: kf5-ktextwidgets-devel >= 5.46.0 | |
37 | BuildRequires: kf5-kwallet-devel >= 5.46.0 | |
38 | BuildRequires: kf5-kwindowsystem-devel >= 5.46.0 | |
39 | BuildRequires: kf5-kxmlgui-devel >= 5.46.0 | |
d7fb890a | 40 | BuildRequires: ninja |
c3b701c9 WF |
41 | BuildRequires: qt5-build >= %{qtver} |
42 | BuildRequires: rpmbuild(macros) >= 1.164 | |
43 | BuildRequires: shared-mime-info | |
44 | BuildRequires: tar >= 1:1.22 | |
45 | BuildRequires: xz | |
46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
47 | ||
48 | %description | |
49 | KWalletManager is a tool to manage the passwords on your system. By | |
50 | using the KDE wallet subsystem it not only allows you to keep your own | |
51 | secrets but also to access and manage the passwords of every | |
52 | application that integrates with the wallet. | |
53 | ||
54 | %prep | |
55 | %setup -q -n %{kaname}-%{version} | |
56 | ||
57 | %build | |
58 | install -d build | |
59 | cd build | |
60 | %cmake \ | |
d7fb890a | 61 | -G Ninja \ |
c3b701c9 WF |
62 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
63 | .. | |
d7fb890a | 64 | %ninja_build |
c3b701c9 WF |
65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
d7fb890a | 68 | %ninja_install -C build |
c3b701c9 WF |
69 | |
70 | %find_lang %{kaname} --all-name --with-kde | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %files -f %{kaname}.lang | |
76 | %defattr(644,root,root,755) | |
77 | /etc/dbus-1/system.d/org.kde.kcontrol.kcmkwallet5.conf | |
78 | /etc/xdg/kwalletmanager.categories | |
79 | %attr(755,root,root) %{_bindir}/kwalletmanager5 | |
80 | %{_libdir}/qt5/plugins/kcm_kwallet5.so | |
81 | %attr(755,root,root) %{_libexecdir}/kauth/kcm_kwallet_helper5 | |
82 | %{_desktopdir}/kwalletmanager5-kwalletd.desktop | |
83 | %{_desktopdir}/org.kde.kwalletmanager5.desktop | |
84 | %{_datadir}/dbus-1/system-services/org.kde.kcontrol.kcmkwallet5.service | |
85 | %{_iconsdir}/hicolor/128x128/apps/kwalletmanager.png | |
86 | %{_iconsdir}/hicolor/128x128/apps/kwalletmanager2.png | |
87 | %{_iconsdir}/hicolor/16x16/apps/kwalletmanager.png | |
88 | %{_iconsdir}/hicolor/16x16/apps/kwalletmanager2.png | |
89 | %{_iconsdir}/hicolor/22x22/actions/wallet-closed.png | |
90 | %{_iconsdir}/hicolor/22x22/actions/wallet-open.png | |
91 | %{_iconsdir}/hicolor/22x22/apps/kwalletmanager.png | |
92 | %{_iconsdir}/hicolor/32x32/apps/kwalletmanager.png | |
93 | %{_iconsdir}/hicolor/32x32/apps/kwalletmanager2.png | |
94 | %{_iconsdir}/hicolor/48x48/apps/kwalletmanager.png | |
95 | %{_iconsdir}/hicolor/48x48/apps/kwalletmanager2.png | |
96 | %{_iconsdir}/hicolor/64x64/apps/kwalletmanager.png | |
97 | %{_iconsdir}/hicolor/64x64/apps/kwalletmanager2.png | |
98 | %{_datadir}/kservices5/kwalletconfig5.desktop | |
99 | %{_datadir}/kservices5/kwalletmanager5_show.desktop | |
100 | %{_datadir}/kxmlgui5/kwalletmanager5 | |
101 | %{_datadir}/metainfo/org.kde.kwalletmanager5.appdata.xml | |
102 | %{_datadir}/polkit-1/actions/org.kde.kcontrol.kcmkwallet5.policy |