Add spec file for OBS packaging
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 18 May 2012 06:34:10 +0000 (15:34 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 18 May 2012 06:36:39 +0000 (15:36 +0900)
Change-Id: Id1c9f56319f215d38873d24e6e4023c0406f8503

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

index b0e2bfa..6b13cfd 100644 (file)
@@ -1,3 +1,10 @@
+livebox-viewer (0.0.3) unstable; urgency=low
+
+  * Git: slp/pkgs/l/livebox-viewer
+  * Tag: livebox-viewer_0.0.3
+
+ -- Sung-jae Park <nicesj.park@samsung.com>  Fri, 18 May 2012 15:36:29 +0900
+
 livebox-viewer (0.0.2) unstable; urgency=low
 
   * Git: slp/pkgs/l/livebox-viewer
diff --git a/packaging/livebox-viewer.spec b/packaging/livebox-viewer.spec
new file mode 100644 (file)
index 0000000..03f99b8
--- /dev/null
@@ -0,0 +1,46 @@
+Name: livebox-viewer
+Summary: Library for the development of a livebox viewer
+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)
+BuildRequires: pkgconfig(aul)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gio-2.0)
+
+%description
+Livebox viewer development library
+
+%package devel
+Summary: Files for livebox viewer development.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Livebox viewer 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-viewer/livebox-viewer.h
+/usr/share/doc/livebox-viewer/livebox-viewer_PG.h
+/usr/lib/pkgconfig/*.pc