Add spc file for OBS packaging
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 18 May 2012 06:33:01 +0000 (15:33 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 18 May 2012 06:35:46 +0000 (15:35 +0900)
Change-Id: I22a1cfd98f58895afa625f83594b6fc4315ee413

debian/changelog
packaging/livebox.spec [new file with mode: 0644]

index 11a0a28..d77762b 100644 (file)
@@ -1,3 +1,10 @@
+livebox (0.0.2) unstable; urgency=low
+
+  * Git: slp/pkgs/l/livebox
+  * Tag: livebox_0.0.2
+
+ -- Sung-jae Park <nicesj.park@samsung.com>  Fri, 18 May 2012 15:35:30 +0900
+
 livebox (0.0.1) unstable; urgency=low
 
   * Initial Release.
diff --git a/packaging/livebox.spec b/packaging/livebox.spec
new file mode 100644 (file)
index 0000000..677a27d
--- /dev/null
@@ -0,0 +1,43 @@
+Name: livebox
+Summary: Library for the development of a livebox 
+Version: 0.0.1
+Release: 1
+Group: main/app
+License: Samsung Proprietary License
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake, gettext-tools
+BuildRequires: pkgconfig(dlog)
+
+%description
+Livebox development library
+
+%package devel
+Summary: Files for livebox development.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Livebox development library (dev)
+
+%prep
+%setup -q
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
+%build
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+
+%files
+%defattr(-,root,root,-)
+/usr/lib/*.so*
+
+%files devel
+%defattr(-,root,root,-)
+/usr/include/livebox/livebox.h
+/usr/share/doc/livebox/livebox_PG.h
+/usr/lib/pkgconfig/*.pc