Adding packaging
authorRusty Lynch <rusty.lynch@intel.com>
Tue, 12 Jun 2012 20:11:56 +0000 (13:11 -0700)
committerOssama Othman <ossama.othman@intel.com>
Fri, 19 Apr 2013 22:50:24 +0000 (15:50 -0700)
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*
+