diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-09-25 15:51:39 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-09-25 15:51:39 +0900 |
commit | 07c97c7b760cba64e982da6097ca5aa39fe4b42a (patch) | |
tree | 721d793f785a17adb8c82bc0eda64a2faea8f523 | |
parent | 036d6d0c2f3d30b6e783bd6c82ab27b704f90888 (diff) | |
download | re2-accepted/tizen/5.5/unified/20191031.013552.tar.gz re2-accepted/tizen/5.5/unified/20191031.013552.tar.bz2 re2-accepted/tizen/5.5/unified/20191031.013552.zip |
Bump to re2 20190901tizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.0_hotfix/20201103.115103submit/tizen_6.0_hotfix/20201102.192903submit/tizen_6.0/20201029.205503submit/tizen_5.5_wearable_hotfix/20201026.184308submit/tizen_5.5_mobile_hotfix/20201026.185108submit/tizen_5.5/20191031.000008submit/tizen/20190925.234104accepted/tizen/unified/20190927.013236accepted/tizen/6.0/unified/hotfix/20201102.233109accepted/tizen/6.0/unified/20201030.112046accepted/tizen/5.5/unified/wearable/hotfix/20201027.105025accepted/tizen/5.5/unified/mobile/hotfix/20201027.072455accepted/tizen/5.5/unified/20191031.013552tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5sandbox/backup/re2-20190901_20201110accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unified
Change-Id: Icac66f30fb5ed5cdc86e2e4065cb8adba6ce0f4d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | packaging/re2.changes | 7 | ||||
-rw-r--r-- | packaging/re2.spec | 83 |
3 files changed, 90 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a671fe2..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.pyc -*.orig -core -obj/ -benchlog.* diff --git a/packaging/re2.changes b/packaging/re2.changes new file mode 100644 index 0000000..bcf569f --- /dev/null +++ b/packaging/re2.changes @@ -0,0 +1,7 @@ +* Tue Jul 23 2013 Patrick Ohly <patrick.ohly@intel.com> +- fix build when debug packages are enabled + +* Tue Jul 09 2013 Patrick Ohly <patrick.ohly@intel.com> +- initial packaging of version 20130115 +- Imported Upstream version 20130115 + diff --git a/packaging/re2.spec b/packaging/re2.spec new file mode 100644 index 0000000..7a74eac --- /dev/null +++ b/packaging/re2.spec @@ -0,0 +1,83 @@ +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +Name: re2 +Version: 20190901 +Release: 1 +License: BSD-2.0 +Summary: An efficient, principled regular expression library +Url: http://code.google.com/p/re2/ +Group: System/Libraries +Source: re2-%{version}.tgz +BuildRequires: gcc-c++ + +%description +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. + + +%package -n libre2 +License: BSD-2.0 +Summary: An efficient, principled regular expression library +Group: System/Libraries + +%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. + + +%package devel +License: BSD-2.0 +Summary: An efficient, principled regular expression library +Group: System/Libraries +Requires: libre2 = %{version} + +%description devel +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. + + +%prep +%setup -q -n re2 + +%build +make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS -Wall -pthread" libdir=%{_libdir} prefix=%{_prefix} + +%install +make DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} prefix=%{_prefix} install +rm $RPM_BUILD_ROOT%{_libdir}/libre2.a + + +%post -n libre2 -p /sbin/ldconfig + +%postun -n libre2 -p /sbin/ldconfig + + +%files -n libre2 +%defattr(-, root, root, -) +%license LICENSE +%doc AUTHORS README +%{_libdir}/libre2.so.0 +%{_libdir}/libre2.so.0.0.0 + + +%files devel +%defattr(-, root, root, -) +%{_includedir}/re2 +%{_libdir}/libre2.so +%{_libdir}/pkgconfig/re2.pc |