summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2013-07-23 15:18:16 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2013-07-23 15:19:57 +0200
commit4ae165f74795e7a24135199b894cfec36a36d210 (patch)
tree6ab9c823bd5efb26543804ef87555b66f60b6f8d
parent77786937fb64e7dd7ac9fafb382f503bc1fa9f77 (diff)
downloadre2-tizen_3.0.2014.q4_common.tar.gz
re2-tizen_3.0.2014.q4_common.tar.bz2
re2-tizen_3.0.2014.q4_common.zip
make .spec file Tizen complianttizen_3.0_ivi_releasetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.m14.2_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi_genivi/20140131.032159submit/tizen_ivi/20160217.000007submit/tizen_ivi/20160217.000000submit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen_3.0_wearable/20161015.000005submit/tizen_3.0_tv/20161015.000005submit/tizen_3.0_mobile/20161015.000006submit/tizen_3.0_ivi/20161010.000006submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093754submit/tizen/20130912.090634submit/tizen/20130723.143555ivi_oct_m2accepted/tizen/ivi/genivi/20140131.033507accepted/tizen/ivi/20160218.025816accepted/tizen/3.0/wearable/20161015.084045accepted/tizen/3.0/tv/20161016.005830accepted/tizen/3.0/mobile/20161015.034136accepted/tizen/3.0/ivi/20161011.062426accepted/tizen/3.0/common/20161114.111722accepted/tizen/3.0.m2/wearable/20170105.025345accepted/tizen/3.0.m2/tv/20170105.025248accepted/tizen/3.0.m2/mobile/20170105.025140accepted/tizen/20130913.024529accepted/tizen/20130912.194320accepted/tizen/20130912.190137accepted/tizen/20130723.140557tizen_ivi_genivitizen_3.0_tvtizen_3.0_ivitizen_3.0.m2tizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.m14.3_ivitizen_3.0.m14.2_ivitizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commontizen_3.0accepted/tizen_genericaccepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonaccepted/tizen/ivi/stableaccepted/tizen/ivi/genivi
- "System/Libraries" as group. - %license for the LICENSE file. - unversioned library package (removed %lname macro entirely) - remove reference to original packaging bug tracker
-rw-r--r--packaging/re2.spec27
1 files changed, 12 insertions, 15 deletions
diff --git a/packaging/re2.spec b/packaging/re2.spec
index 707bbd8..2703c11 100644
--- a/packaging/re2.spec
+++ b/packaging/re2.spec
@@ -2,6 +2,7 @@
# spec file for package python-compizconfig
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 Intel Corporation.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +13,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
Name: re2
-%define lname libre2-0
Version: 20130115
Release: 1
License: BSD-3-Clause
Summary: An efficient, principled regular expression library
Url: http://code.google.com/p/re2/
-Group: Development/Libraries/C and C++
+Group: System/Libraries
Source: re2-%{version}.tgz
BuildRequires: gcc-c++
@@ -33,12 +29,12 @@ regular expression engines like those used in PCRE, Perl, and
Python. It is a C++ library.
-%package -n %lname
+%package -n libre2
License: BSD-3-Clause
Summary: An efficient, principled regular expression library
-Group: Development/Libraries/C and C++
+Group: System/Libraries
-%description -n %lname
+%description -n libre2
RE2 is a fast, safe, thread-friendly alternative to backtracking
regular expression engines like those used in PCRE, Perl, and
Python. It is a C++ library.
@@ -47,8 +43,8 @@ Python. It is a C++ library.
%package devel
License: BSD-3-Clause
Summary: An efficient, principled regular expression library
-Group: Development/Libraries/C and C++
-Requires: %lname = %{version}
+Group: System/Libraries
+Requires: libre2 = %{version}
%description devel
RE2 is a fast, safe, thread-friendly alternative to backtracking
@@ -67,14 +63,15 @@ make DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} prefix=%{_prefix} install
rm $RPM_BUILD_ROOT%{_libdir}/libre2.a
-%post -n %lname -p /sbin/ldconfig
+%post -n libre2 -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%postun -n libre2 -p /sbin/ldconfig
-%files -n %lname
+%files -n libre2
%defattr(-, root, root, -)
-%doc AUTHORS LICENSE README
+%license LICENSE
+%doc AUTHORS README
%{_libdir}/libre2.so.0
%{_libdir}/libre2.so.0.0.0