From: Patrick Ohly Date: Tue, 23 Jul 2013 14:37:04 +0000 (+0200) Subject: Tizen compliant .spec file X-Git-Tag: accepted/tizen/3.0.2015.q2/common/20150615.160027~10 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibphonenumber.git;a=commitdiff_plain;h=bd437267bc7f277ccab3592ced6ff70a233e378b Tizen compliant .spec file Use %license for LICENSE file, one of the well-known groups ("Social & Content/Libraries" because the library is about localization of phone numbers and used in PIM) and Apache-2.0 SPDX identifier. --- diff --git a/packaging/libphonenumber.changes b/packaging/libphonenumber.changes index 7d24143..b87a4ee 100644 --- a/packaging/libphonenumber.changes +++ b/packaging/libphonenumber.changes @@ -1,3 +1,6 @@ +* Tue Jul 23 2013 Patrick Ohly submit/tizen/20130716.223846@73f39ae +- Tizen compliant .spec file + * Tue Jul 09 2013 Patrick Ohly 9afe5c8 - initial packaging of 5.3.2 - fix compiler warnings about signed/unsigned int constants diff --git a/packaging/libphonenumber.spec b/packaging/libphonenumber.spec index 2c1a4f1..20dec2b 100644 --- a/packaging/libphonenumber.spec +++ b/packaging/libphonenumber.spec @@ -1,10 +1,10 @@ Name: libphonenumber Version: 5.3.2 Release: 1 -License: Apache License 2.0 +License: Apache-2.0 Summary: A library for parsing, formatting, storing and validating international phone numbers. Url: http://code.google.com/p/libphonenumber/ -Group: Development/Libraries/C and C++ +Group: Social & Content/Libraries Source: libphonenumber-%{version}.tgz BuildRequires: gcc-c++ BuildRequires: cmake @@ -21,9 +21,8 @@ Java version is optimized for running on smartphones, and is used by the Android framework since 4.0 (Ice Cream Sandwich). %package devel -License: Apache License 2.0 Summary: A library for parsing, formatting, storing and validating international phone numbers. -Group: Development/Libraries/C and C++ +Group: Social & Content/Libraries Requires: libphonenumber = %{version} Requires: protobuf-devel @@ -52,7 +51,8 @@ rm %{buildroot}/%{_libdir}/*.a %files -n libphonenumber %defattr(-, root, root, -) -%doc AUTHORS LICENSE +%doc AUTHORS +%license LICENSE %{_libdir}/libphonenumber.so.5 %{_libdir}/libphonenumber.so.5.3 %{_libdir}/libgeocoding.so.5