- updated to 5.22.3
[packages/kp5-systemsettings.git] / kp5-systemsettings.spec
CommitLineData
f1c47986 1%define kdeplasmaver 5.22.3
3c5950e3 2%define qtver 5.9.0
4a8452ca
AM
3%define kpname systemsettings
4Summary: KDE system settings
5Name: kp5-%{kpname}
f1c47986 6Version: 5.22.3
ef738e95 7Release: 1
4a8452ca
AM
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
f1c47986 11# Source0-md5: b90da0b20e94f9dae935f86e9b526a4b
4a8452ca
AM
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: cmake >= 2.8.12
15BuildRequires: kf5-extra-cmake-modules >= 1.4.0
86e8d097
JR
16BuildRequires: kf5-kactivities-devel
17BuildRequires: kf5-kactivities-stats-devel
4a8452ca
AM
18BuildRequires: kf5-kcmutils-devel
19BuildRequires: kf5-kconfig-devel
20BuildRequires: kf5-kdbusaddons-devel
86e8d097 21BuildRequires: kf5-kdeclarative-devel
4a8452ca
AM
22BuildRequires: kf5-kdoctools-devel
23BuildRequires: kf5-khtml-devel
24BuildRequires: kf5-ki18n-devel
25BuildRequires: kf5-kiconthemes-devel
26BuildRequires: kf5-kio-devel
7c597bd5 27BuildRequires: kf5-kirigami2-devel
4a8452ca 28BuildRequires: kf5-kitemviews-devel
0edff024 29BuildRequires: kf5-kparts-devel
4a8452ca
AM
30BuildRequires: kf5-kservice-devel
31BuildRequires: kf5-kwindowsystem-devel
32BuildRequires: kf5-kxmlgui-devel
62244e51 33BuildRequires: kp5-plasma-workspace-devel >= %{kdeplasmaver}
5acfa540 34BuildRequires: ninja
4a8452ca
AM
35BuildRequires: qt5-build >= %{qtver}
36BuildRequires: rpmbuild(macros) >= 1.164
37BuildRequires: tar >= 1:1.22
38BuildRequires: xz
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42KDE system settings.
43
44%package devel
45Summary: Header files for %{kpname} development
46Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
47Group: X11/Development/Libraries
48Requires: %{name} = %{version}-%{release}
49
50%description devel
51Header files for %{kpname} development.
52
53%description devel -l pl.UTF-8
54Pliki nagłówkowe dla programistów używających %{kpname}.
55
56%prep
57%setup -q -n %{kpname}-%{version}
58
59%build
60install -d build
5acfa540 61rm -rf po/id
4a8452ca 62cd build
5acfa540 63%cmake -G Ninja \
4a8452ca 64 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
18578028 65 -DHTML_INSTALL_DIR=%{_kdedocdir} \
4a8452ca 66 ..
5acfa540 67%ninja_build
4a8452ca
AM
68
69%install
70rm -rf $RPM_BUILD_ROOT
5acfa540 71%ninja_install -C build
4a8452ca 72
215ffff9 73%find_lang %{kpname} --all-name --with-kde
4a8452ca
AM
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
80
81%files -f %{kpname}.lang
82%defattr(644,root,root,755)
83%attr(755,root,root) %{_bindir}/systemsettings5
4a8452ca
AM
84%{_desktopdir}/kdesystemsettings.desktop
85%{_desktopdir}/systemsettings.desktop
86%{_datadir}/kservices5/settings-*.desktop
87%{_datadir}/kservicetypes5/systemsettings*.desktop
88%{_datadir}/kxmlgui5/systemsettings
89%{_datadir}/systemsettings
7c597bd5 90%{_datadir}/kpackage/genericqml/org.kde.systemsettings.sidebar
18578028
WF
91%{_datadir}/metainfo/org.kde.systemsettings.metainfo.xml
92%{_datadir}/qlogging-categories5/systemsettings.categories
93%dir %{_libdir}/qt5/plugins/systemsettingsview
94%attr(755,root,root) %{_libdir}/qt5/plugins/systemsettingsview/icon_mode.so
95%attr(755,root,root) %{_libdir}/qt5/plugins/systemsettingsview/systemsettings_sidebar_mode.so
96%{_datadir}/kglobalaccel/systemsettings.desktop
62244e51 97%attr(755,root,root) %{_libdir}/libsystemsettingsview.so.3
This page took 0.517698 seconds and 4 git commands to generate.