From: Rusty Lynch Date: Wed, 22 Aug 2012 23:00:38 +0000 (-0700) Subject: Adding Tizen packaging X-Git-Tag: 1.0_branch~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b5e9b404b8a9dbce386e72b4598ffd31e7e4ac1;p=profile%2Fivi%2Fsockdrawer.git Adding Tizen packaging --- diff --git a/packaging/sockdrawer.changes b/packaging/sockdrawer.changes new file mode 100644 index 0000000..a06577b --- /dev/null +++ b/packaging/sockdrawer.changes @@ -0,0 +1,3 @@ +* Fri Sep 07 2012 Rusty Lynch cb5c43d +- Initial packaging + diff --git a/packaging/sockdrawer.spec b/packaging/sockdrawer.spec new file mode 100644 index 0000000..73c31a5 --- /dev/null +++ b/packaging/sockdrawer.spec @@ -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