- updated to 5.22.3
[packages/kp5-systemsettings.git] / kp5-systemsettings.spec
1 %define         kdeplasmaver    5.22.3
2 %define         qtver           5.9.0
3 %define         kpname          systemsettings
4 Summary:        KDE system settings
5 Name:           kp5-%{kpname}
6 Version:        5.22.3
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11 # Source0-md5:  b90da0b20e94f9dae935f86e9b526a4b
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  cmake >= 2.8.12
15 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
16 BuildRequires:  kf5-kactivities-devel
17 BuildRequires:  kf5-kactivities-stats-devel
18 BuildRequires:  kf5-kcmutils-devel
19 BuildRequires:  kf5-kconfig-devel
20 BuildRequires:  kf5-kdbusaddons-devel
21 BuildRequires:  kf5-kdeclarative-devel
22 BuildRequires:  kf5-kdoctools-devel
23 BuildRequires:  kf5-khtml-devel
24 BuildRequires:  kf5-ki18n-devel
25 BuildRequires:  kf5-kiconthemes-devel
26 BuildRequires:  kf5-kio-devel
27 BuildRequires:  kf5-kirigami2-devel
28 BuildRequires:  kf5-kitemviews-devel
29 BuildRequires:  kf5-kparts-devel
30 BuildRequires:  kf5-kservice-devel
31 BuildRequires:  kf5-kwindowsystem-devel
32 BuildRequires:  kf5-kxmlgui-devel
33 BuildRequires:  kp5-plasma-workspace-devel >= %{kdeplasmaver}
34 BuildRequires:  ninja
35 BuildRequires:  qt5-build >= %{qtver}
36 BuildRequires:  rpmbuild(macros) >= 1.164
37 BuildRequires:  tar >= 1:1.22
38 BuildRequires:  xz
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 KDE system settings.
43
44 %package devel
45 Summary:        Header files for %{kpname} development
46 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kpname}
47 Group:          X11/Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49
50 %description devel
51 Header files for %{kpname} development.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe dla programistów używających %{kpname}.
55
56 %prep
57 %setup -q -n %{kpname}-%{version}
58
59 %build
60 install -d build
61 rm -rf po/id
62 cd build
63 %cmake -G Ninja \
64         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
65         -DHTML_INSTALL_DIR=%{_kdedocdir} \
66         ..
67 %ninja_build
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 %ninja_install -C build
72
73 %find_lang %{kpname} --all-name --with-kde
74
75 %clean
76 rm -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
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
90 %{_datadir}/kpackage/genericqml/org.kde.systemsettings.sidebar
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
97 %attr(755,root,root) %{_libdir}/libsystemsettingsview.so.3
This page took 0.108114 seconds and 3 git commands to generate.