]>
Commit | Line | Data |
---|---|---|
e2415594 AM |
1 | %define kdeplasmaver 5.3.0 |
2 | %define qtver 5.3.2 | |
3 | %define kpname oxygen | |
4 | Summary: Plasma and Qt widget style and window decorations for Plasma 5 and KDE 4 | |
5 | Name: kp5-%{kpname} | |
6 | Version: 5.3.0 | |
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: ffa130e4015a76889c7dfac44674dc4d | |
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 | ||
62 | %find_lang %{kpname} --all-name | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post -p /sbin/ldconfig | |
68 | %postun -p /sbin/ldconfig | |
69 | ||
70 | %files | |
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 | |
84 | %{_datadir}/kstyle/themes/oxygen.themerc | |
85 | %{_datadir}/sounds/Oxygen*.ogg | |
86 | %{_iconsdir}/Oxygen* | |
87 | ||
88 | #%files devel | |
89 | #%defattr(644,root,root,755) | |
90 | #%attr(755,root,root) %{_libdir}/liboxygenstyle5.so | |
91 | #%attr(755,root,root) %{_libdir}/liboxygenstyleconfig5.so |