From: Rusty Lynch Date: Tue, 12 Jun 2012 20:11:56 +0000 (-0700) Subject: Adding packaging X-Git-Tag: accepted/2.0alpha-wayland/20121109.201735~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3032120f68ab393a4e5ea249c6687bd57b6b8e27;p=profile%2Fivi%2Fwayland.git Adding packaging --- diff --git a/packaging/wayland.changes b/packaging/wayland.changes new file mode 100644 index 0000000..a13db5b --- /dev/null +++ b/packaging/wayland.changes @@ -0,0 +1,2 @@ +* Mon Jun 12 2012 - rusty.lynch@intel.com - start+1034+gdd8891b +- Packaging preview of master diff --git a/packaging/wayland.spec b/packaging/wayland.spec new file mode 100644 index 0000000..e8d9ce9 --- /dev/null +++ b/packaging/wayland.spec @@ -0,0 +1,61 @@ +Name: wayland +Summary: Wayland +Version: start+1034+gdd8891b +Release: 1 +Group: System/Libraries +License: MIT +URL: http://wayland.freedesktop.org +Source0: %{name}-%{version}.tar.bz2 +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: libffi-devel +BuildRequires: expat-devel + +%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 devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development files needed for building wayland clients + +%prep +%setup -q -n %{name}-%{version} + +%build + +%autogen + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/libwayland-client.so.* +%{_libdir}/libwayland-server.so.* +%{_libdir}/libwayland-cursor.so.* +%{_bindir}/wayland-scanner + +%files devel +%defattr(-,root,root,-) +%{_includedir}/wayland*.h +%{_libdir}/libwayland-client.so +%{_libdir}/libwayland-server.so +%{_libdir}/libwayland-cursor.so +%{_libdir}/pkgconfig/*.pc +%{_prefix}/share/aclocal/*.m* +