]> git.pld-linux.org Git - packages/kp5-oxygen.git/blame - kp5-oxygen.spec
- updated to 5.23.3
[packages/kp5-oxygen.git] / kp5-oxygen.spec
CommitLineData
755bcd71 1%define kdeplasmaver 5.23.3
7579335a 2%define qtver 5.9.0
e2415594
AM
3%define kpname oxygen
4Summary: Plasma and Qt widget style and window decorations for Plasma 5 and KDE 4
5Name: kp5-%{kpname}
755bcd71 6Version: 5.23.3
e2415594
AM
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
755bcd71 11# Source0-md5: b1454c3a97465a3a115527b23aafd0b9
e2415594
AM
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: cmake >= 2.8.12
15BuildRequires: kf5-extra-cmake-modules >= 1.4.0
16BuildRequires: kf5-frameworkintegration-devel
17BuildRequires: kf5-kcompletion-devel
18BuildRequires: kf5-kconfig-devel
19BuildRequires: kf5-kguiaddons-devel
20BuildRequires: kf5-ki18n-devel
21BuildRequires: kf5-kservice-devel
22BuildRequires: kf5-kwidgetsaddons-devel
23BuildRequires: kf5-kwindowsystem-devel
05d5165e 24BuildRequires: ninja
e2415594
AM
25BuildRequires: qt5-build >= %{qtver}
26BuildRequires: rpmbuild(macros) >= 1.164
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Plasma and Qt widget style and window decorations for Plasma 5 and KDE
334 A plugin-based library to create window decorations.
34
35%package devel
36Summary: Header files for %{kpname} development
37Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
38Group: X11/Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description devel
42Header files for %{kpname} development.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe dla programistów używających %{kpname}.
46
47%prep
48%setup -q -n %{kpname}-%{version}
49
50%build
51install -d build
52cd 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
60rm -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
66rm -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
This page took 0.085463 seconds and 4 git commands to generate.