Bump to version 1.11 accepted/tizen_3.0_ivi accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi tizen_base accepted/tizen/common/20141216.093511 accepted/tizen/ivi/20141231.083127 accepted/tizen/mobile/20141219.005950 accepted/tizen/tv/20141219.005849 accepted/tizen/wearable/20141219.005915 submit/tizen/20141215.232116 submit/tizen_base/20151223.111111 submit/tizen_base/20151223.111112 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20141225.333333 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Tue, 4 Nov 2014 12:32:55 +0000 (13:32 +0100)
committerJohn L. Whiteman <john.l.whiteman@intel.com>
Mon, 15 Dec 2014 23:19:47 +0000 (15:19 -0800)
Also clean the spec file.

Bug-Tizen: TC-1821
Change-Id: I086904a9d69a9ffb6fbf053379ba1494f353f4d1
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
packaging/gdbm.spec

index 350d6e2..f92be05 100644 (file)
@@ -1,16 +1,16 @@
 %define keepstatic 1
 
 Name:           gdbm
-%define lname  libgdbm
+%define lname   libgdbm
 Url:            http://directory.fsf.org/GNU/gdbm.html
-Version:        1.10
+Version:        1.11
 Release:        0
 License:        GPL-2.0+
 Summary:        GNU dbm key/data database
 Group:          System/Libraries
 Source:         ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.gz
 Source2:        baselibs.conf
-Source1001:    gdbm.manifest
+Source1001:     gdbm.manifest
 BuildRequires:  libtool
 
 %description
@@ -55,9 +55,9 @@ For compatibility with programs using old UNIX dbm functions, the
 package also provides traditional dbm and ndbm interfaces.
 
 %package devel
-License:        GPL-2.0+ ; LGPL-2.1+
+License:        GPL-2.0+ and LGPL-2.1+
 Summary:        Include Files and Libraries mandatory for Development
-Group:          Development/Libraries/C and C++
+Group:          System/Libraries
 Requires:       gdbm = %{version}
 Provides:       gdbm:/usr/lib/libgdbm.so
 
@@ -72,7 +72,7 @@ cp %{SOURCE1001} .
 %build
 export CFLAGS="%{optflags} -Wa,--noexecstack"
 %configure --enable-libgdbm-compat --disable-nls
-make %{?_smp_mflags};
+%__make %{?_smp_mflags};
 
 %install
 %make_install
@@ -92,7 +92,10 @@ GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_li
 %files -n  %lname
 %manifest %{name}.manifest
 %defattr(-,root,root)
-%doc COPYING
+%license COPYING
+%{_bindir}/gdbm_dump
+%{_bindir}/gdbm_load
+%{_bindir}/gdbmtool
 %{_libdir}/libgdbm.so.4
 %{_libdir}/libgdbm.so.4.0.0
 %{_libdir}/libgdbm_compat.so.4
@@ -101,7 +104,6 @@ GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_li
 %files devel
 %manifest %{name}.manifest
 %defattr(-,root,root)
-%{_bindir}/testgdbm
 %{_includedir}/dbm.h
 %{_includedir}/gdbm.h
 %{_includedir}/ndbm.h
@@ -113,4 +115,6 @@ GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_li
 %{_libdir}/libndbm.a
 %{_libdir}/libndbm.so
 %{_mandir}/man3/gdbm.3.gz
-
+%{_mandir}/man1/gdbm_dump.1.gz
+%{_mandir}/man1/gdbm_load.1.gz
+%{_mandir}/man1/gdbmtool.1.gz