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