summaryrefslogtreecommitdiff
path: root/wayland.spec
blob: bd62798a579a3037040ffb2cd78a68c9b6761f65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
Name:           wayland
Version:        1.23.1
Release:	1
Summary:	Wayland Compositor Infrastructure
License:	MIT
URL:		https://wayland.freedesktop.org/
Source0:	https://gitlab.freedesktop.org/wayland/wayland/-/archive/%{version}/%{name}-%{version}.tar.xz

BuildRequires:  gcc
BuildRequires:  meson >= 0.57.0
BuildRequires:  pkgconfig(expat)
BuildRequires:  pkgconfig(libffi)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  doxygen >= 1.6.0
BuildRequires:  graphviz >= 2.26.0
BuildRequires:  /usr/bin/xsltproc docbook-style-xsl
BuildRequires:  /usr/bin/xmlto

Provides:       libwayland-client = %{version}-%{release} libwayland-cursor = %{version}-%{release}  
Provides:       libwayland-client%{?_isa} = %{version}-%{release} libwayland-cursor%{?_isa} = %{version}-%{release}  
Obsoletes:      libwayland-client < %{version}-%{release}  libwayland-cursor < %{version}-%{release}  
Provides:       libwayland-egl = %{version}-%{release} libwayland-server = %{version}-%{release}  
Obsoletes:      libwayland-egl < %{version}-%{release} libwayland-server < %{version}-%{release} 

%description
Wayland is a protocol for a compositor to talk to its clients as 
well as a C library implementation of that protocol. The 
compositor can be a standalone display server running on Linux 
kernel modesetting and evdev input devices, an X application, or 
a wayland client itself. The clients can be traditional 
applications, X servers (rootless or fullscreen) or other display 
servers.

Part of the Wayland project is also the Weston reference 
implementation of a Wayland compositor. Weston can run as an X 
client or under Linux KMS and ships with a few demo clients. The 
Weston compositor is a minimal and fast compositor and is 
suitable for many embedded and mobile use cases.

%package        devel
Summary:        Development files for %{name}
Requires:       %{name} = %{version}-%{release}
# For upgrade path from F24
Provides:       libwayland-client-devel = %{version}-%{release}
Obsoletes:      libwayland-client-devel < %{version}-%{release}
Provides:       libwayland-cursor-devel = %{version}-%{release}
Obsoletes:      libwayland-cursor-devel < %{version}-%{release}
Provides:       libwayland-server-devel = %{version}-%{release}
Obsoletes:      libwayland-server-devel < %{version}-%{release}
# For upgrade path from F27
Provides:       libwayland-egl-devel = %{version}-%{release}
Obsoletes:      libwayland-egl-devel < %{version}-%{release}
Provides:       mesa-libwayland-egl-devel = %{version}-%{release} mesa-libwayland-egl-devel%{?_isa}
Obsoletes:      mesa-libwayland-egl-devel < %{version}-%{release} 


%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%package_help

%prep
%autosetup -n %{name}-%{version} -p1

%build
%meson
%meson_build

%install
%meson_install

%check
%meson_test

%files
%license COPYING
%{_libdir}/libwayland-*.so.*

%files devel
%{_bindir}/wayland-scanner
%{_includedir}/wayland-*.h
%{_libdir}/pkgconfig/wayland-*.pc
%{_libdir}/libwayland-*.so
%{_datadir}/aclocal/wayland-scanner.m4
%dir %{_datadir}/wayland
%{_datadir}/wayland/wayland-scanner.mk
%{_datadir}/wayland/wayland.xml
%{_datadir}/wayland/wayland.dtd

%files help
%doc README.md
%{_mandir}/man3/*.3*
%{_datadir}/doc/wayland/

%changelog
* Sun Aug 25 2024 Funda Wang <fundawang@yeah.net> - 1.23.1-1
- update to 1.23.1

* Thu Aug 08 2024 Funda Wang <fundawang@yeah.net> - 1.23.0-1
- update to 1.23.0

* Wed Jul 26 2023 zhangkea <zhangkea@uniontech.com> - 1.22.0-1
- upgrade 1.22.0-1 

* Fri Dec 30 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.21.0-2
- add  Provides:libwayland-client%{?_isa} and libwayland-cursor%{?_isa}   

* Wed Dec 14 2022 lijian <lijian2@kylinos.cn> - 1.21.0-1
- update to 1.21.0

* Sat Aug 27 2022 tianlijing <tianlijing@kylinos.cn> - 1.20.92-1
- update to 1.20.92

* Thu Jun 16 2022 wangkerong <wangkerong@h-partners.com> - 1.20.0-4
- CVE:NA
- SUG:NA
- DESC:remove rpath

* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.20.0-3
- upgrade to 1.20.0-3

* Sat Dec 04 2021 wangkerong <wangkerong@huawei.com> - 1.19.91-1
- update to 1.19.91

* Fri Jul 17 2020 chengguipeng <chenguipeng1@huawei.com> - 1.18.0-1
- upgrade to 1.18.0-1

* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.17.0-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:delete the isa in obsoletes

* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.17.0-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:update to 1.17.0

* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:6.02-5
- Package init