]> git.pld-linux.org Git - packages/kf5-kwindowsystem.git/blame - kf5-kwindowsystem.spec
- updated to 5.114.0
[packages/kf5-kwindowsystem.git] / kf5-kwindowsystem.spec
CommitLineData
d44641d0
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
8f86af5e 4%define kdeframever 5.114
5a98a766 5%define qtver 5.15.2
026eba87 6%define kfname kwindowsystem
0d1101c1
WF
7
8Summary: Access to the windowing system
026eba87 9Name: kf5-%{kfname}
8f86af5e 10Version: 5.114.0
fe0e14c6 11Release: 1
0d1101c1
WF
12License: LGPL v2.1+
13Group: X11/Libraries
c1d523b1 14Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
8f86af5e 15# Source0-md5: 1f29f0749620d4aa8a4a5781af3f7e23
0d1101c1 16URL: http://www.kde.org/
5a98a766 17BuildRequires: Qt5Core-devel >= %{qtver}
026eba87
AM
18BuildRequires: Qt5Gui-devel >= %{qtver}
19BuildRequires: Qt5Test-devel >= %{qtver}
20BuildRequires: Qt5Widgets-devel >= %{qtver}
21BuildRequires: Qt5X11Extras-devel >= %{qtver}
5a98a766 22BuildRequires: cmake >= 3.16
eafe27cb 23BuildRequires: kf5-extra-cmake-modules >= %{version}
ff9f6591 24BuildRequires: libxcb-devel
ef77b2ea 25BuildRequires: ninja
0d1101c1 26BuildRequires: pkgconfig
026eba87 27BuildRequires: qt5-linguist >= %{qtver}
3dae240a 28BuildRequires: rpmbuild(macros) >= 1.736
2ab755f0 29BuildRequires: tar >= 1:1.22
ff9f6591 30BuildRequires: xcb-util-keysyms-devel
cec85429
JP
31BuildRequires: xcb-util-wm-devel
32BuildRequires: xorg-lib-libX11-devel
33BuildRequires: xorg-lib-libXfixes-devel
2ab755f0 34BuildRequires: xz
cec85429
JP
35Requires: Qt5Gui >= %{qtver}
36Requires: Qt5Widgets >= %{qtver}
37Requires: Qt5X11Extras >= %{qtver}
2779bcca 38Requires: kf5-dirs
0d1101c1
WF
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%define qt5dir %{_libdir}/qt5
42
43%description
44Convenience access to certain properties and features of the windowing
45system.
46
47KWindowSystem provides information about the windowing system and
48allows interaction with the windowing system. It provides an high
49level API which is windowing system independent and has platform
50specific implementations. This API is inspired by X11 and thus not all
51functionality is available on all windowing systems.
52
53In addition to the high level API, this framework also provides
54several more low level classes for interaction with the X Windowing
55System.
56
57%package devel
026eba87
AM
58Summary: Header files for %{kfname} development
59Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
0d1101c1
WF
60Group: X11/Development/Libraries
61Requires: %{name} = %{version}-%{release}
cec85429 62Requires: Qt5Widgets-devel >= %{qtver}
0d1101c1
WF
63
64%description devel
026eba87 65Header files for %{kfname} development.
0d1101c1
WF
66
67%description devel -l pl.UTF-8
026eba87 68Pliki nagłówkowe dla programistów używających %{kfname}.
0d1101c1
WF
69
70%prep
026eba87 71%setup -q -n %{kfname}-%{version}
0d1101c1
WF
72
73%build
9b29b5c7
WF
74%cmake -B build \
75 -G Ninja \
d44641d0 76 %{!?with_tests:-DBUILD_TESTING=OFF} \
9b29b5c7
WF
77 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
78
79%ninja_build -C build
0d1101c1 80
d44641d0 81%if %{with tests}
9b29b5c7 82%ninja_build -C build test
d44641d0
WF
83%endif
84
85
0d1101c1
WF
86%install
87rm -rf $RPM_BUILD_ROOT
ef77b2ea 88%ninja_install -C build
0d1101c1 89
55b9cca2 90%find_lang %{kfname}5_qt --with-qm --all-name --with-kde
0d1101c1
WF
91
92%clean
93rm -rf $RPM_BUILD_ROOT
94
95%post -p /sbin/ldconfig
96%postun -p /sbin/ldconfig
97
026eba87 98%files -f %{kfname}5_qt.lang
0d1101c1
WF
99%defattr(644,root,root,755)
100%doc README.md
76c8e1eb 101%ghost %{_libdir}/libKF5WindowSystem.so.5
f548483f 102%attr(755,root,root) %{_libdir}/libKF5WindowSystem.so.*.*
5fa71611 103%dir %{_libdir}/qt5/plugins/kf5/kwindowsystem
5fa71611
WF
104%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kwindowsystem/KF5WindowSystemX11Plugin.so
105%{_datadir}/qlogging-categories5/kwindowsystem.renamecategories
1ba6a140 106%{_datadir}/qlogging-categories5/kwindowsystem.categories
0d1101c1
WF
107
108%files devel
109%defattr(644,root,root,755)
110%{_includedir}/KF5/KWindowSystem
0d1101c1
WF
111%{_libdir}/cmake/KF5WindowSystem
112%{_libdir}/libKF5WindowSystem.so
113%{qt5dir}/mkspecs/modules/qt_KWindowSystem.pri
This page took 0.22354 seconds and 4 git commands to generate.