]> git.pld-linux.org Git - packages/kp5-oxygen.git/blame - kp5-oxygen.spec
- updated to 5.27.1
[packages/kp5-oxygen.git] / kp5-oxygen.spec
CommitLineData
bef220ee
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
a06e69a3 4%define kdeplasmaver 5.27.1
5ec2a300 5%define qtver 5.15.2
e2415594
AM
6%define kpname oxygen
7Summary: Plasma and Qt widget style and window decorations for Plasma 5 and KDE 4
8Name: kp5-%{kpname}
a06e69a3 9Version: 5.27.1
d6bf56a7 10Release: 1
e2415594
AM
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
a2f7c1fc 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
a06e69a3 14# Source0-md5: e62aeae798646f5720fcd054c22e7477
e2415594
AM
15URL: http://www.kde.org/
16BuildRequires: Qt5Core-devel >= %{qtver}
17BuildRequires: cmake >= 2.8.12
18BuildRequires: kf5-extra-cmake-modules >= 1.4.0
19BuildRequires: kf5-frameworkintegration-devel
20BuildRequires: kf5-kcompletion-devel
21BuildRequires: kf5-kconfig-devel
22BuildRequires: kf5-kguiaddons-devel
23BuildRequires: kf5-ki18n-devel
24BuildRequires: kf5-kservice-devel
25BuildRequires: kf5-kwidgetsaddons-devel
26BuildRequires: kf5-kwindowsystem-devel
05d5165e 27BuildRequires: ninja
e2415594
AM
28BuildRequires: qt5-build >= %{qtver}
29BuildRequires: rpmbuild(macros) >= 1.164
30BuildRequires: tar >= 1:1.22
31BuildRequires: xz
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Plasma and Qt widget style and window decorations for Plasma 5 and KDE
364 A plugin-based library to create window decorations.
37
38%package devel
39Summary: Header files for %{kpname} development
40Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
41Group: X11/Development/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description devel
45Header files for %{kpname} development.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe dla programistów używających %{kpname}.
49
50%prep
51%setup -q -n %{kpname}-%{version}
52
53%build
54install -d build
55cd build
05d5165e 56%cmake -G Ninja \
bef220ee 57 %{!?with_tests:-DBUILD_TESTING=OFF} \
e2415594 58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
1f3c597e 59 -DHTML_INSTALL_DIR=%{_kdedocdir} \
e2415594 60 ..
05d5165e 61%ninja_build
e2415594 62
bef220ee
WF
63%if %{with tests}
64ctest
65%endif
66
e2415594
AM
67%install
68rm -rf $RPM_BUILD_ROOT
05d5165e 69%ninja_install -C build
e2415594 70
2e1c1470 71%find_lang %{kpname} --all-name --with-kde
e2415594
AM
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
0d97f8f9 79%files -f %{kpname}.lang
e2415594
AM
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_bindir}/oxygen-demo5
82%attr(755,root,root) %{_bindir}/oxygen-settings5
83%attr(755,root,root) %{_libdir}/liboxygenstyle5.so.*.*
ded96968 84%ghost %{_libdir}/liboxygenstyle5.so.5
e2415594 85%attr(755,root,root) %{_libdir}/liboxygenstyleconfig5.so.*.*
ded96968 86%ghost %{_libdir}/liboxygenstyleconfig5.so.5
e2415594
AM
87%attr(755,root,root) %{_libdir}/qt5/plugins/kstyle_oxygen_config.so
88%attr(755,root,root) %{_libdir}/qt5/plugins/org.kde.kdecoration2/oxygendecoration.so
89%attr(755,root,root) %{_libdir}/qt5/plugins/styles/oxygen.so
90%{_datadir}/plasma/look-and-feel/org.kde.oxygen
91%{_iconsdir}/KDE_Classic
92%{_datadir}/kservices5/oxygenstyleconfig.desktop
05223bde 93%{_datadir}/kservices5/oxygendecorationconfig.desktop
e2415594 94%{_datadir}/kstyle/themes/oxygen.themerc
05223bde 95%{_iconsdir}/hicolor/256x256/apps/oxygen-settings.png
e2415594 96%{_iconsdir}/Oxygen*
1f3c597e
WF
97%{_datadir}/color-schemes/Oxygen.colors
98%{_datadir}/color-schemes/OxygenCold.colors
This page took 0.601986 seconds and 4 git commands to generate.