Adding packaging
authorRusty Lynch <rusty.lynch@intel.com>
Tue, 12 Jun 2012 20:11:56 +0000 (13:11 -0700)
committerRob Bradford <rob@linux.intel.com>
Thu, 13 Sep 2012 17:48:50 +0000 (18:48 +0100)
packaging/wayland.changes [new file with mode: 0644]
packaging/wayland.spec [new file with mode: 0644]

diff --git a/packaging/wayland.changes b/packaging/wayland.changes
new file mode 100644 (file)
index 0000000..a13db5b
--- /dev/null
@@ -0,0 +1,2 @@
+* Mon Jun 12  2012 - rusty.lynch@intel.com <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 (file)
index 0000000..e8d9ce9
--- /dev/null
@@ -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*
+