]> git.pld-linux.org Git - packages/kp5-polkit-kde-agent.git/blame - kp5-polkit-kde-agent.spec
- updated to 5.22.4
[packages/kp5-polkit-kde-agent.git] / kp5-polkit-kde-agent.spec
CommitLineData
f26edccf 1%define kdeplasmaver 5.22.4
d6d15c79 2%define qtver 5.9.0
1cd5187d
AM
3%define kpname polkit-kde-agent
4
5Summary: Daemon providing a polkit authentication UI for KDE
6Name: kp5-%{kpname}
f26edccf 7Version: 5.22.4
1cd5187d
AM
8Release: 1
9License: LGPL v2.1+
10Group: X11/Libraries
11Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-1-%{version}.tar.xz
f26edccf 12# Source0-md5: 9a36fb70a6d1f1f637d75a75e77eb9ba
1cd5187d
AM
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: cmake >= 2.8.12
16BuildRequires: kf5-kconfig-devel
17BuildRequires: kf5-kcoreaddons-devel
18BuildRequires: kf5-kcrash-devel
19BuildRequires: kf5-kdbusaddons-devel
20BuildRequires: kf5-ki18n-devel
21BuildRequires: kf5-kiconthemes-devel
22BuildRequires: kf5-knotifications-devel
23BuildRequires: kf5-kwidgetsaddons-devel
24BuildRequires: kf5-kwindowsystem-devel
810ef3a5 25BuildRequires: ninja
1cd5187d
AM
26BuildRequires: rpmbuild(macros) >= 1.164
27BuildRequires: xz
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%define qt5dir %{_libdir}/qt5
31
32%description
33Daemon providing a polkit authentication UI for KDE.
34
35%prep
36%setup -q -n %{kpname}-1-%{version}
37
38%build
39install -d build
40cd build
810ef3a5 41%cmake -G Ninja \
1cd5187d 42 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
79a2817e 43 -DHTML_INSTALL_DIR=%{_kdedocdir} \
1cd5187d 44 ../
810ef3a5 45%ninja_build
1cd5187d
AM
46
47%install
48rm -rf $RPM_BUILD_ROOT
810ef3a5 49%ninja_install -C build
1cd5187d 50
2eb99d71 51%find_lang %{kpname} --all-name --with-kde
1cd5187d
AM
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%post -p /sbin/ldconfig
57%postun -p /sbin/ldconfig
58
59%files -f %{kpname}.lang
60%defattr(644,root,root,755)
1caaf06d 61%attr(755,root,root) %{_libexecdir}/polkit-kde-authentication-agent-1
1cd5187d
AM
62/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop
63%{_datadir}/knotifications5/policykit1-kde.notifyrc
1caaf06d 64%{_desktopdir}/org.kde.polkit-kde-authentication-agent-1.desktop
79a2817e 65%{systemduserunitdir}/plasma-polkit-agent.service
This page took 0.032766 seconds and 4 git commands to generate.