Adding Tizen packaging
authorRusty Lynch <rusty.lynch@intel.com>
Wed, 22 Aug 2012 23:00:38 +0000 (16:00 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Mon, 17 Sep 2012 21:16:02 +0000 (14:16 -0700)
packaging/sockdrawer.changes [new file with mode: 0644]
packaging/sockdrawer.spec [new file with mode: 0644]

diff --git a/packaging/sockdrawer.changes b/packaging/sockdrawer.changes
new file mode 100644 (file)
index 0000000..a06577b
--- /dev/null
@@ -0,0 +1,3 @@
+* Fri Sep 07 2012 Rusty Lynch <rusty.lynch@intel.com> cb5c43d
+- Initial packaging
+
diff --git a/packaging/sockdrawer.spec b/packaging/sockdrawer.spec
new file mode 100644 (file)
index 0000000..73c31a5
--- /dev/null
@@ -0,0 +1,39 @@
+Name:       sockdrawer
+Summary:    Socket Server providing various capabilities for webapps
+Version:    0.1
+Release:    1
+Group:      System/Libraries
+License:    GPLv2.1
+URL:        https://github.com/otcshare/sockdrawer
+Source0:    %{name}-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+BuildRequires: libwebsockets-devel
+BuildRequires: pkgconfig(jansson)
+BuildRequires: pkgconfig(ecore)
+BuildRequires: pkgconfig(efreet)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(edbus)
+
+%description
+SockDrawer websocket server
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/sockdrawer