wayland/wayland.spec

108 lines
4.5 KiB
RPMSpec

Name: wayland
Version: 1.5.0
Release: 1mamba
Summary: A protocol for a compositor to talk to its clients as well as a C library implementation of that protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://wayland.freedesktop.org/
Source: http://wayland.freedesktop.org/releases/wayland-%{version}.tar.xz
License: MIT, GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
Wayland is intended as a simpler replacement for X, easier to develop and maintain. GNOME and KDE are expected to be ported to it.
Part of the Wayland project is also the Weston reference implementation of a Wayland compositor. Weston can run as an X client or under Linux KMS and ships with a few demo clients. The Weston compositor is a minimal and fast compositor and is suitable for many embedded and mobile use cases.
%package -n lib%{name}
Group: System/Libraries
Summary: A protocol for a compositor to talk to its clients as well as a C library implementation of that protocol
%description -n lib%{name}
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.
Wayland is intended as a simpler replacement for X, easier to develop and maintain. GNOME and KDE are expected to be ported to it.
Part of the Wayland project is also the Weston reference implementation of a Wayland compositor. Weston can run as an X client or under Linux KMS and ships with a few demo clients. The Weston compositor is a minimal and fast compositor and is suitable for many embedded and mobile use cases.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libwayland-client.so.*
%{_libdir}/libwayland-cursor.so.*
%{_libdir}/libwayland-server.so.*
%{_datadir}/wayland/wayland-scanner.mk
%{_datadir}/wayland/wayland.xml
%{_datadir}/wayland/wayland.dtd
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/wayland-scanner
%{_includedir}/wayland-client-protocol.h
%{_includedir}/wayland-client.h
%{_includedir}/wayland-cursor.h
%{_includedir}/wayland-egl.h
%{_includedir}/wayland-server-protocol.h
%{_includedir}/wayland-server.h
%{_includedir}/wayland-util.h
%{_includedir}/wayland-version.h
%{_libdir}/libwayland-client.a
%{_libdir}/libwayland-client.la
%{_libdir}/libwayland-client.so
%{_libdir}/libwayland-cursor.a
%{_libdir}/libwayland-cursor.la
%{_libdir}/libwayland-cursor.so
%{_libdir}/libwayland-server.a
%{_libdir}/libwayland-server.la
%{_libdir}/libwayland-server.so
%{_libdir}/pkgconfig/wayland-client.pc
%{_libdir}/pkgconfig/wayland-cursor.pc
%{_libdir}/pkgconfig/wayland-scanner.pc
%{_libdir}/pkgconfig/wayland-server.pc
%{_datadir}/aclocal/wayland-scanner.m4
%{_mandir}/man3/wl_*.3*
%doc README TODO
%changelog
* Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic update by autodist
* Sat Mar 01 2014 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Sat Nov 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface