]> git.pld-linux.org Git - packages/kf5-plasma-wayland-protocols.git/blob - kf5-plasma-wayland-protocols.spec
481d35eb37ea18975b15aa0ab70d9b41a23959c6
[packages/kf5-plasma-wayland-protocols.git] / kf5-plasma-wayland-protocols.spec
1 %define         kdeframever     5.73
2 %define         qtver           5.9.0
3 %define         kfname          plasma-wayland-protocols
4
5 Summary:        Plasma Specific Protocols for Wayland
6 Name:           kf5-%{kfname}
7 Version:        1.1.1
8 Release:        1
9 License:        GPL v2+
10 Group:          Libraries
11 Source0:        https://download.kde.org/stable/%{kfname}/%{version}/%{kfname}-%{version}.tar.xz
12 # Source0-md5:  82207f4df5e4a91452339bcf7b983d7e
13 URL:            https://invent.kde.org/libraries/%{kfname}.git
14 BuildRequires:  kf5-extra-cmake-modules
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _debugsource_packages   0
18
19 %description
20 Plasma Specific Protocols for Wayland
21
22 %package devel
23 Summary:        Development files for %{name}
24 Requires:       %{name} = %{version}-%{release}
25
26 %description devel
27 The %{name}-devel package contains libraries and header files for
28 developing applications that use %{name}.
29
30 %prep
31 %setup -q -n %{kfname}-%{version}
32
33 %build
34 install -d build
35 cd build
36 %cmake -G Ninja \
37                 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
38                 ../
39 %ninja_build
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %ninja_install -C build
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %{_datadir}/plasma-wayland-protocols/
51
52 %files devel
53 %defattr(644,root,root,755)
54 %{_libdir}/cmake/PlasmaWaylandProtocols/
This page took 0.077362 seconds and 2 git commands to generate.