2012-02-11 16:55:46 +01:00
|
|
|
#
|
|
|
|
# spec file for package wayland
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
Name: wayland
|
|
|
|
%define lname libwayland0
|
2012-10-23 14:23:05 +02:00
|
|
|
Version: 1.0.0
|
2012-02-11 16:55:46 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Wayland Compositor Infrastructure
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
URL: http://wayland.freedesktop.org/
|
|
|
|
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/wayland/wayland
|
|
|
|
#Git-Web: http://cgit.freedesktop.org/wayland/wayland/
|
2012-10-20 13:07:02 +02:00
|
|
|
Source: %name-%version.tar.xz
|
2012-10-22 22:28:04 +02:00
|
|
|
Patch1: 0001-scanner-Fix-valgrind-errors.patch
|
2012-02-11 16:55:46 +01:00
|
|
|
BuildRoot: %_tmppath/%name-%version-build
|
2012-10-23 14:23:05 +02:00
|
|
|
#git#BuildRequires: autoconf >= 2.64
|
|
|
|
#git#BuildRequires: automake >= 1.11
|
|
|
|
#git#BuildRequires: libtool >= 2.2
|
2012-02-11 16:55:46 +01:00
|
|
|
BuildRequires: pkgconfig, pkgconfig(libffi), libexpat-devel, xz
|
2012-10-20 13:00:34 +02:00
|
|
|
BuildRequires: doxygen
|
2012-02-11 16:55:46 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package -n libwayland-client0
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Wayland core client library
|
|
|
|
|
|
|
|
%description -n libwayland-client0
|
|
|
|
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.
|
|
|
|
|
2012-07-09 02:10:15 +02:00
|
|
|
%package -n libwayland-cursor0
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Wayland cursor library
|
|
|
|
|
|
|
|
%description -n libwayland-cursor0
|
|
|
|
The purpose of this library is to be the equivalent of libXcursor in
|
|
|
|
the X world. This library is compatible with X cursor themes and
|
|
|
|
loads them directly into an shm pool making it easy for the clients
|
|
|
|
to get buffer for each cursor image.
|
|
|
|
|
2012-02-11 16:55:46 +01:00
|
|
|
%package -n libwayland-server0
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Wayland core server library
|
|
|
|
|
|
|
|
%description -n libwayland-server0
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Wayland Compositor Infrastructure
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libwayland-client0 = %version
|
2012-07-09 02:10:15 +02:00
|
|
|
Requires: libwayland-cursor0 = %version
|
2012-02-11 16:55:46 +01:00
|
|
|
Requires: libwayland-server0 = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
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.
|
|
|
|
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2012-10-22 22:28:04 +02:00
|
|
|
if [ ! -e configure ]; then
|
|
|
|
autoreconf -fi;
|
|
|
|
fi;
|
2012-02-11 16:55:46 +01:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
|
|
|
%post -n libwayland-client0 -p /sbin/ldconfig
|
|
|
|
%postun -n libwayland-client0 -p /sbin/ldconfig
|
2012-07-09 02:10:15 +02:00
|
|
|
%post -n libwayland-cursor0 -p /sbin/ldconfig
|
|
|
|
%postun -n libwayland-cursor0 -p /sbin/ldconfig
|
2012-02-11 16:55:46 +01:00
|
|
|
%post -n libwayland-server0 -p /sbin/ldconfig
|
|
|
|
%postun -n libwayland-server0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libwayland-client0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libwayland-client.so.0*
|
|
|
|
|
2012-07-09 02:10:15 +02:00
|
|
|
%files -n libwayland-cursor0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libwayland-cursor.so.0*
|
|
|
|
|
2012-02-11 16:55:46 +01:00
|
|
|
%files -n libwayland-server0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libwayland-server.so.0*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2012-02-13 03:05:49 +01:00
|
|
|
%_bindir/wayland-scanner
|
2012-02-11 16:55:46 +01:00
|
|
|
%_includedir/wayland-*.h
|
|
|
|
%_libdir/libwayland-*.so
|
|
|
|
%_libdir/pkgconfig/wayland-*.pc
|
|
|
|
%_datadir/aclocal
|
|
|
|
|
|
|
|
%changelog
|