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