summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-15 15:11:35 (GMT)
committerHyungKyu Song <hk76.song@samsung.com>2013-02-15 15:11:35 (GMT)
commitb32dea69029f492083f2b11f3a087300ddb2b9e0 (patch)
treecc97cc634e3234446670bc6c7d455bd1be5dd806 /packaging
parentc3875cbe2f8e945b837a76ac5f8e6d57bde940bb (diff)
downloadui-gadget-1-b32dea69029f492083f2b11f3a087300ddb2b9e0.zip
ui-gadget-1-b32dea69029f492083f2b11f3a087300ddb2b9e0.tar.gz
ui-gadget-1-b32dea69029f492083f2b11f3a087300ddb2b9e0.tar.bz2
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/ui-gadget-1.spec66
1 files changed, 66 insertions, 0 deletions
diff --git a/packaging/ui-gadget-1.spec b/packaging/ui-gadget-1.spec
new file mode 100755
index 0000000..dac7f3d
--- /dev/null
+++ b/packaging/ui-gadget-1.spec
@@ -0,0 +1,66 @@
+
+Name: ui-gadget-1
+Summary: UI Gadget Library
+Version: 0.1.16
+Release: 1
+Group: System/Libraries
+License: Apache License, Version 2.0
+Source0: %{name}-%{version}.tar.gz
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(utilX)
+BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(appcore-efl)
+BuildRequires: pkgconfig(bundle)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-system-runtime-info)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: cmake
+BuildRequires: edje-bin
+
+%description
+UI gadget library (development headers)
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+Development files for %{name}
+
+%prep
+%setup -q
+
+%build
+cmake . -DCMAKE_INSTALL_PREFIX=/usr
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post
+/sbin/ldconfig
+ln -sf /usr/bin/ug-client /usr/bin/ug-launcher
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest ui-gadget-1.manifest
+%defattr(-,root,root,-)
+%{_libdir}/*.so.*
+%{_libdir}/lib%{name}-efl-engine.so
+/usr/share/edje/ug_effect.edj
+%{_bindir}/ug-client
+/usr/share/edje/ug-client/*.edj
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ug-1/*.h
+%{_libdir}/libui-gadget-1.so
+%{_libdir}/pkgconfig/%{name}.pc
+