]> git.pld-linux.org Git - packages/kp5-sddm-kcm.git/blame - kp5-sddm-kcm.spec
rebuild with qt5-5.15.6
[packages/kp5-sddm-kcm.git] / kp5-sddm-kcm.spec
CommitLineData
3ed63358
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
a2bdcbe2 4%define kdeplasmaver 5.25.5
ff1229a3 5%define qtver 5.15.2
a4ba1965
AM
6%define kpname sddm-kcm
7
8Summary: KDE Config Module for SDDM
9Name: kp5-%{kpname}
a2bdcbe2 10Version: 5.25.5
eaeb332e 11Release: 2
a4ba1965
AM
12License: LGPL v2.1+
13Group: X11/Libraries
ac9e7d77 14Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
a2bdcbe2 15# Source0-md5: 0b65ef99ec595249f5fb1782d9a3407f
a4ba1965
AM
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: cmake >= 2.8.12
19BuildRequires: kf5-kauth-devel
20BuildRequires: kf5-kconfigwidgets-devel
21BuildRequires: kf5-kcoreaddons-devel
22BuildRequires: kf5-ki18n-devel
23BuildRequires: kf5-kio-devel
24BuildRequires: kf5-kxmlgui-devel
e4ff7cf2 25BuildRequires: ninja
a4ba1965
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
33KDE Config Module for SDDM.
34
35%prep
36%setup -q -n %{kpname}-%{version}
37
38%build
39install -d build
40cd build
e4ff7cf2 41%cmake -G Ninja \
3ed63358 42 %{!?with_tests:-DBUILD_TESTING=OFF} \
a4ba1965 43 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
38a1e1bf 44 -DHTML_INSTALL_DIR=%{_kdedocdir} \
a4ba1965 45 ../
e4ff7cf2 46%ninja_build
a4ba1965 47
3ed63358
WF
48%if %{with tests}
49ctest
50%endif
51
a4ba1965
AM
52%install
53rm -rf $RPM_BUILD_ROOT
e4ff7cf2 54%ninja_install -C build
a4ba1965 55
34429314 56%find_lang %{kpname} --all-name --with-kde
a4ba1965
AM
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
92b847cc
ER
61%post -p /sbin/ldconfig
62%postun -p /sbin/ldconfig
a4ba1965
AM
63
64%files -f %{kpname}.lang
65%defattr(644,root,root,755)
82f36713 66%attr(755,root,root) %{_libexecdir}/kauth/kcmsddm_authhelper
a4ba1965 67%{_datadir}/dbus-1/system-services/org.kde.kcontrol.kcmsddm.service
a4ba1965 68%{_datadir}/polkit-1/actions/org.kde.kcontrol.kcmsddm.policy
e6e1df0e 69%attr(755,root,root) %{_bindir}/sddmthemeinstaller
38a1e1bf
WF
70%{_datadir}/dbus-1/system.d/org.kde.kcontrol.kcmsddm.conf
71%{_datadir}/knsrcfiles/sddmtheme.knsrc
38a1e1bf
WF
72%dir %{_datadir}/kpackage/kcms/kcm_sddm
73%dir %{_datadir}/kpackage/kcms/kcm_sddm/contents
74%dir %{_datadir}/kpackage/kcms/kcm_sddm/contents/ui
75%{_datadir}/kpackage/kcms/kcm_sddm/contents/ui/Advanced.qml
76%{_datadir}/kpackage/kcms/kcm_sddm/contents/ui/DetailsDialog.qml
77%{_datadir}/kpackage/kcms/kcm_sddm/contents/ui/main.qml
375673ba
WF
78%{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_sddm.so
79%{_desktopdir}/kcm_sddm.desktop
This page took 0.241585 seconds and 4 git commands to generate.