]>
Commit | Line | Data |
---|---|---|
0dd5d5dd | 1 | %define kdeplasmaver 5.22.2.1 |
7579335a | 2 | %define qtver 5.9.0 |
e2415594 AM |
3 | %define kpname oxygen |
4 | Summary: Plasma and Qt widget style and window decorations for Plasma 5 and KDE 4 | |
5 | Name: kp5-%{kpname} | |
0dd5d5dd | 6 | Version: 5.22.2.1 |
e2415594 AM |
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 | |
0dd5d5dd | 11 | # Source0-md5: d0f75a79f0845cb983a0bb5aa5c413d7 |
e2415594 AM |
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-frameworkintegration-devel | |
17 | BuildRequires: kf5-kcompletion-devel | |
18 | BuildRequires: kf5-kconfig-devel | |
19 | BuildRequires: kf5-kguiaddons-devel | |
20 | BuildRequires: kf5-ki18n-devel | |
21 | BuildRequires: kf5-kservice-devel | |
22 | BuildRequires: kf5-kwidgetsaddons-devel | |
23 | BuildRequires: kf5-kwindowsystem-devel | |
05d5165e | 24 | BuildRequires: ninja |
e2415594 AM |
25 | BuildRequires: qt5-build >= %{qtver} |
26 | BuildRequires: rpmbuild(macros) >= 1.164 | |
27 | BuildRequires: tar >= 1:1.22 | |
28 | BuildRequires: xz | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Plasma and Qt widget style and window decorations for Plasma 5 and KDE | |
33 | 4 A plugin-based library to create window decorations. | |
34 | ||
35 | %package devel | |
36 | Summary: Header files for %{kpname} development | |
37 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname} | |
38 | Group: X11/Development/Libraries | |
39 | Requires: %{name} = %{version}-%{release} | |
40 | ||
41 | %description devel | |
42 | Header files for %{kpname} development. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Pliki nagłówkowe dla programistów używających %{kpname}. | |
46 | ||
47 | %prep | |
48 | %setup -q -n %{kpname}-%{version} | |
49 | ||
50 | %build | |
51 | install -d build | |
52 | cd build | |
05d5165e | 53 | %cmake -G Ninja \ |
e2415594 | 54 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
1f3c597e | 55 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ |
e2415594 | 56 | .. |
05d5165e | 57 | %ninja_build |
e2415594 AM |
58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
05d5165e | 61 | %ninja_install -C build |
e2415594 | 62 | |
2e1c1470 | 63 | %find_lang %{kpname} --all-name --with-kde |
e2415594 AM |
64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
0d97f8f9 | 71 | %files -f %{kpname}.lang |
e2415594 AM |
72 | %defattr(644,root,root,755) |
73 | %attr(755,root,root) %{_bindir}/oxygen-demo5 | |
74 | %attr(755,root,root) %{_bindir}/oxygen-settings5 | |
75 | %attr(755,root,root) %{_libdir}/liboxygenstyle5.so.*.* | |
ded96968 | 76 | %ghost %{_libdir}/liboxygenstyle5.so.5 |
e2415594 | 77 | %attr(755,root,root) %{_libdir}/liboxygenstyleconfig5.so.*.* |
ded96968 | 78 | %ghost %{_libdir}/liboxygenstyleconfig5.so.5 |
e2415594 AM |
79 | %attr(755,root,root) %{_libdir}/qt5/plugins/kstyle_oxygen_config.so |
80 | %attr(755,root,root) %{_libdir}/qt5/plugins/org.kde.kdecoration2/oxygendecoration.so | |
81 | %attr(755,root,root) %{_libdir}/qt5/plugins/styles/oxygen.so | |
82 | %{_datadir}/plasma/look-and-feel/org.kde.oxygen | |
83 | %{_iconsdir}/KDE_Classic | |
84 | %{_datadir}/kservices5/oxygenstyleconfig.desktop | |
05223bde | 85 | %{_datadir}/kservices5/oxygendecorationconfig.desktop |
e2415594 AM |
86 | %{_datadir}/kstyle/themes/oxygen.themerc |
87 | %{_datadir}/sounds/Oxygen*.ogg | |
05223bde | 88 | %{_iconsdir}/hicolor/256x256/apps/oxygen-settings.png |
e2415594 | 89 | %{_iconsdir}/Oxygen* |
1f3c597e WF |
90 | %{_datadir}/color-schemes/Oxygen.colors |
91 | %{_datadir}/color-schemes/OxygenCold.colors |