Updated package changelog.
[profile/ivi/wayland.git] / packaging / wayland.spec
1 Name:       wayland
2 Summary:    Wayland
3 Version:    1.0.6
4 Release:    1
5 Group:      System/Libraries
6 License:    MIT
7 URL:        http://wayland.freedesktop.org
8 Source0:    %{name}-%{version}.tar.bz2
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires: libffi-devel
12 BuildRequires: expat-devel
13
14 %description
15 Wayland is a protocol for a compositor to talk to its clients as well
16 as a C library implementation of that protocol.  The compositor can be
17 a standalone display server running on Linux kernel modesetting and
18 evdev input devices, an X application,  or a wayland client
19 itself. The clients can be traditional applications, X servers
20 (rootless or fullscreen) or other display servers.
21
22
23 %package devel
24 Summary:    Development files for %{name}
25 Group:      Development/Libraries
26 Requires:   %{name} = %{version}-%{release}
27
28 %description devel
29 Development files needed for building wayland clients
30
31 %prep
32 %setup -q -n %{name}-%{version}
33
34 %build
35
36 %autogen --disable-documentation
37
38 make %{?_smp_mflag}
39
40 %install
41 rm -rf %{buildroot}
42 %make_install
43
44
45 %post -p /sbin/ldconfig
46
47 %postun -p /sbin/ldconfig
48
49 %files
50 %defattr(-,root,root,-)
51 %{_libdir}/libwayland-client.so.*
52 %{_libdir}/libwayland-server.so.*
53 %{_libdir}/libwayland-cursor.so.*
54
55 %files devel
56 %defattr(-,root,root,-)
57 %{_includedir}/wayland*.h
58 %{_libdir}/libwayland-client.so
59 %{_libdir}/libwayland-server.so
60 %{_libdir}/libwayland-cursor.so
61 %{_libdir}/pkgconfig/*.pc
62 %{_prefix}/share/aclocal/*.m*
63 %{_bindir}/wayland-scanner