diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-06-27 05:34:26 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-06-27 09:58:22 -0400 |
commit | 5e34dcdb3fd43879dd05ee332a713e16b8601118 (patch) | |
tree | 052891e3c63d779cf755bc2cfa52c6e5d60ceba9 /packaging | |
parent | e1566748762ef146b25605c0d10165fbcce97d6e (diff) | |
download | libslp-db-util-5e34dcdb3fd43879dd05ee332a713e16b8601118.tar.gz libslp-db-util-5e34dcdb3fd43879dd05ee332a713e16b8601118.tar.bz2 libslp-db-util-5e34dcdb3fd43879dd05ee332a713e16b8601118.zip |
cleanup and remove obsolete filessubmit/tizen/20130628.065625accepted/tizen/20130628.165816
- remove debian packaging
- reset file permissions in source tree
- clean up spec layout
- Do not create directories in %post
Change-Id: I7f097c1017b6b76b74fb37c7ec00c5e40488448d
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libslp-db-util.changes | 3 | ||||
-rwxr-xr-x | packaging/libslp-db-util.spec | 53 |
2 files changed, 20 insertions, 36 deletions
diff --git a/packaging/libslp-db-util.changes b/packaging/libslp-db-util.changes new file mode 100644 index 0000000..6b431c6 --- /dev/null +++ b/packaging/libslp-db-util.changes @@ -0,0 +1,3 @@ +* Thu Jun 27 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130520.100924@61e2996 +- cleanup and remove obsolete files + diff --git a/packaging/libslp-db-util.spec b/packaging/libslp-db-util.spec index 8943e4a..3d2bc02 100755 --- a/packaging/libslp-db-util.spec +++ b/packaging/libslp-db-util.spec @@ -1,69 +1,50 @@ -Name: libslp-db-util -Summary: DB Utility -Version: 0.1.1 -Release: 5 -Group: Application Framework/Database -License: Apache-2.0 -Source0: %{name}-%{version}.tar.gz -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig +Name: libslp-db-util +Version: 0.1.1 +Release: 5 +License: Apache-2.0 +Summary: DB Utility +Group: Application Framework/Database +Source0: %{name}-%{version}.tar.gz BuildRequires: cmake -BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(icu-i18n) +BuildRequires: pkgconfig(sqlite3) %description DB Utility. %package devel -Summary: Devel package for libslp-db-util (devel) -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Summary: Devel package for libslp-db-util (devel) +Requires: %{name} = %{version} %description devel Devel package for libslp-db-util (devel) %prep -%setup -q -n %{name}-%{version} +%setup -q %build -%cmake . - -make %{?jobs:-j%jobs} +%cmake . +make %{?_smp_mflags} %install -rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}/usr/share/license -install LICENSE %{buildroot}/usr/share/license/%{name} -%post -/sbin/ldconfig -if [ ! -d /opt/dbspace ] -then - mkdir -p /opt/dbspace -fi -if [ ! -d /opt/usr/dbspace ] -then - mkdir -p /opt/usr/dbspace -fi -chown :5000 /opt/dbspace -chmod 775 /opt/dbspace -chown :5000 /opt/usr/dbspace -chmod 775 /opt/usr/dbspace +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %manifest libSLP-db-util.manifest +%license LICENSE %defattr(-,root,root,-) -%{_libdir}/libSLP-db-util.so %{_libdir}/libSLP-db-util.so.0 %{_libdir}/libSLP-db-util.so.0.1.0 -/usr/share/license/%{name} %files devel %defattr(-,root,root,-) +%dir %{_includedir}/db-util %{_includedir}/db-util/*.h %{_libdir}/pkgconfig/db-util.pc +%{_libdir}/libSLP-db-util.so |