SHA256
10
0
forked from pool/re2

osc copypac from project:home:aplanas package:re2 revision:2

OBS-URL: https://build.opensuse.org/package/show/network:chromium/re2?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2016-09-07 12:11:18 +00:00
committed by Git OBS Bridge
commit 0c02acdd54
5 changed files with 122 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
re2-20121127.tgz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f3940357d38ab949901a5c3177a2b40f82c314ed39f20892f1b56376c5edef0
size 1018992

5
re2.changes Normal file
View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Dec 21 12:44:23 UTC 2012 - aplanas@novell.com
- Initial package version.

90
re2.spec Normal file
View File

@@ -0,0 +1,90 @@
#
# spec file for package python-compizconfig
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define ver 20121127
Name: re2
%define lname libre2-0
Version: 0.0_%{ver}
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++
Source: re2-%{ver}.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 %lname
License: BSD-3-Clause
Summary: An efficient, principled regular expression library
Group: Development/Libraries/C and C++
%description -n %lname
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-3-Clause
Summary: An efficient, principled regular expression library
Group: Development/Libraries/C and C++
Requires: %lname = %{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_install libdir=%{_libdir} prefix=%{_prefix}
rm $RPM_BUILD_ROOT%{_libdir}/libre2.a
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-, root, root, -)
%doc AUTHORS LICENSE README
%{_libdir}/libre2.so.0
%{_libdir}/libre2.so.0.0.0
%files devel
%defattr(-, root, root, -)
%{_includedir}/re2
%{_libdir}/libre2.so
%changelog