]> git.pld-linux.org Git - packages/wayland.git/blame - wayland.spec
- updated to 0.95.0
[packages/wayland.git] / wayland.spec
CommitLineData
cea843df
JB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: Wayland - protocol for a compositor to talk to its clients
6Summary(pl.UTF-8): Wayland - protokół między serwerem składającym a klientami
7Name: wayland
cc8accbe 8Version: 0.95.0
cea843df
JB
9Release: 1
10License: MIT
11Group: Libraries
12Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
cc8accbe 13# Source0-md5: 23d6bcd500db9d1bb13e9b89722331dc
cea843df
JB
14URL: http://wayland.freedesktop.org/
15BuildRequires: expat-devel
16BuildRequires: libffi-devel
17BuildRequires: pkgconfig
18BuildRequires: pkgconfig(libffi)
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Wayland is a project to define a protocol for a compositor to talk to
23its clients as well as a library implementation of the protocol. The
24compositor can be a standalone display server running on Linux kernel
25modesetting and evdev input devices, an X application, or a Wayland
26client itself. The clients can be traditional applications, X servers
27(rootless or fullscreen) or other display servers.
28
29%description -l pl.UTF-8
30Wayland to projekt definiujący protokół między serwerem składającym a
31klientami, a także biblioteki implementujące ten protokół. Serwer
32składający może być samodzielnym serwerem wyświetlającym działającym
33na linuksowym kernel modesetting oraz urządzeniach wejściowych evdev,
34aplikacją X lub klientem Wayland. Klientami mogą być tradycyjne
35aplikacje, serwery X (rootless lub pełnoekranowe) lub inne serwery
36wyświetlające.
37
38%package devel
39Summary: Header files for Wayland libraries
40Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Wayland
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43Requires: libffi-devel
44
45%description devel
46Header files for Wayland libraries.
47
48%description devel -l pl.UTF-8
49Pliki nagłówkowe bibliotek Wayland.
50
51%package static
52Summary: Static Wayland libraries
53Summary(pl.UTF-8): Statyczne biblioteki Wayland
54Group: Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58Static Wayland libraries.
59
60%description static -l pl.UTF-8
61Statyczne biblioteki Wayland.
62
63%prep
64%setup -q
65
66%build
67%configure \
68 --disable-silent-rules \
69 %{!?with_static_libs:--disable-static}
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
78# obsoleted by pkg-config
79%{__rm} $RPM_BUILD_ROOT%{_libdir}/libwayland-*.la
cc8accbe
JB
80# packaged as %doc in -devel
81%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/wayland
cea843df
JB
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
89%files
90%defattr(644,root,root,755)
cc8accbe 91%doc COPYING README TODO
cea843df
JB
92%attr(755,root,root) %{_libdir}/libwayland-client.so.*.*.*
93%attr(755,root,root) %ghost %{_libdir}/libwayland-client.so.0
cc8accbe
JB
94%attr(755,root,root) %{_libdir}/libwayland-cursor.so.*.*.*
95%attr(755,root,root) %ghost %{_libdir}/libwayland-cursor.so.0
cea843df
JB
96%attr(755,root,root) %{_libdir}/libwayland-server.so.*.*.*
97%attr(755,root,root) %ghost %{_libdir}/libwayland-server.so.0
98
99%files devel
100%defattr(644,root,root,755)
cc8accbe 101%doc protocol/wayland*.{css,html}
cea843df
JB
102%attr(755,root,root) %{_bindir}/wayland-scanner
103%attr(755,root,root) %{_libdir}/libwayland-client.so
cc8accbe 104%attr(755,root,root) %{_libdir}/libwayland-cursor.so
cea843df
JB
105%attr(755,root,root) %{_libdir}/libwayland-server.so
106%{_includedir}/wayland-*.h
107%{_pkgconfigdir}/wayland-client.pc
cc8accbe 108%{_pkgconfigdir}/wayland-cursor.pc
cea843df
JB
109%{_pkgconfigdir}/wayland-server.pc
110%{_aclocaldir}/wayland-scanner.m4
111%{_aclocaldir}/wayland-scanner.mk
112
113%if %{with static_libs}
114%files static
115%defattr(644,root,root,755)
116%{_libdir}/libwayland-client.a
cc8accbe 117%{_libdir}/libwayland-cursor.a
cea843df
JB
118%{_libdir}/libwayland-server.a
119%endif
This page took 0.052926 seconds and 4 git commands to generate.