diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-10-30 19:51:49 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-03-12 14:38:36 +0900 |
commit | 80d8d65f7c2a3140534b1ad8102227d60056bb86 (patch) | |
tree | b0c35108853c7c77bd3f6370444c1277965420e0 | |
parent | e3fc126a90f12a09053b5203ed98ed0b35b25d04 (diff) | |
download | lmdb-accepted/tizen_6.0_unified.tar.gz lmdb-accepted/tizen_6.0_unified.tar.bz2 lmdb-accepted/tizen_6.0_unified.zip |
packaging: correct lmdb naming for Tizentizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.5/20211028.163501submit/tizen_6.0_hotfix/20201103.115102submit/tizen_6.0_hotfix/20201102.192902submit/tizen_6.0/20201029.205502submit/tizen_5.5_wearable_hotfix/20201026.184307submit/tizen_5.5_mobile_hotfix/20201026.185107submit/tizen_5.5/20191031.000007submit/tizen_5.0/20181101.000007submit/tizen/20180312.054306accepted/tizen/unified/20180313.061104accepted/tizen/8.0/unified/20231005.095158accepted/tizen/7.0/unified/hotfix/20221116.111110accepted/tizen/7.0/unified/20221110.062512accepted/tizen/6.5/unified/20211029.014617accepted/tizen/6.0/unified/hotfix/20201103.051421accepted/tizen/6.0/unified/hotfix/20201102.235142accepted/tizen/6.0/unified/20201030.110643accepted/tizen/5.5/unified/wearable/hotfix/20201027.100743accepted/tizen/5.5/unified/mobile/hotfix/20201027.074417accepted/tizen/5.5/unified/20191031.012109accepted/tizen/5.0/unified/20181102.030725tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0tizenaccepted/tizen_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
- With mv on library, rpm cannot search for dependencies automatically.
- Remove documentation
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Corrected subject format.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | packaging/lmdb.spec | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/packaging/lmdb.spec b/packaging/lmdb.spec index f3b897c..9fb5eea 100644 --- a/packaging/lmdb.spec +++ b/packaging/lmdb.spec @@ -1,4 +1,4 @@ -%define lname liblmdb-0_9_17 +%define lname liblmdb %define prefix %{_prefix} %define libdir %{_libdir} @@ -9,11 +9,9 @@ Group: Productivity/Databases/Tools Version: 0.9.17 Release: 0 Url: http://symas.com/mdb/ - -Source: https://github.com/LMDB/lmdb/archive/LMDB_%version.tar.gz +Source0: %{name}-%{version}.tar.gz # Source99: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build # BuildRequires: autoconf BuildRequires: automake >= 1.10 BuildRequires: libtool >= 2 @@ -67,37 +65,26 @@ cd libraries/liblmdb make PREFIX=%{prefix} LIBDIR=%{libdir} %install -rm -rf $RPM_BUILD_ROOT cd libraries/liblmdb # make install DESTDIR="%buildroot" make install prefix=$RPM_BUILD_ROOT%{prefix} LIBDIR=$RPM_BUILD_ROOT%{libdir} install -# Remove unnecessary files -rm -f "%buildroot%{libdir}"/*.a - -cd %buildroot/%{libdir} -mv liblmdb.so liblmdb-%version.so -ln -s liblmdb-%version.so liblmdb.so - -%clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot}%{_mandir} %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files %defattr(-,root,root) -%{prefix}/bin/* -%exclude %{libdir}/documentation.list -%doc %{_mandir}/man1/*.1.gz +%{_bindir}/* %files -n %lname %defattr(-,root,root) -%{libdir}/liblmdb-%version.so +%{libdir}/*.so* %files devel %defattr(-,root,root) %_includedir/* -%{libdir}/liblmdb.so +%{libdir}/*.a %changelog |