]> git.pld-linux.org Git - packages/wayland.git/blame - wayland.spec
- new
[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
8Version: 0.85.0
9Release: 1
10License: MIT
11Group: Libraries
12Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
13# Source0-md5: fe3fdfdcc0b20235a113e0e34a665b1c
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
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%files
88%defattr(644,root,root,755)
89%doc README TODO
90%attr(755,root,root) %{_libdir}/libwayland-client.so.*.*.*
91%attr(755,root,root) %ghost %{_libdir}/libwayland-client.so.0
92%attr(755,root,root) %{_libdir}/libwayland-server.so.*.*.*
93%attr(755,root,root) %ghost %{_libdir}/libwayland-server.so.0
94
95%files devel
96%defattr(644,root,root,755)
97%attr(755,root,root) %{_bindir}/wayland-scanner
98%attr(755,root,root) %{_libdir}/libwayland-client.so
99%attr(755,root,root) %{_libdir}/libwayland-server.so
100%{_includedir}/wayland-*.h
101%{_pkgconfigdir}/wayland-client.pc
102%{_pkgconfigdir}/wayland-server.pc
103%{_aclocaldir}/wayland-scanner.m4
104%{_aclocaldir}/wayland-scanner.mk
105
106%if %{with static_libs}
107%files static
108%defattr(644,root,root,755)
109%{_libdir}/libwayland-client.a
110%{_libdir}/libwayland-server.a
111%endif
This page took 0.088686 seconds and 4 git commands to generate.