package created using the webbuild interface [release 2016_11_01-1mamba;Sun Dec 11 2016]
This commit is contained in:
parent
e21fc10654
commit
7260ef8042
@ -1,2 +1,4 @@
|
||||
# re2
|
||||
|
||||
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.
|
||||
|
||||
|
83
re2.spec
Normal file
83
re2.spec
Normal file
@ -0,0 +1,83 @@
|
||||
%define gitver %(echo %version | tr _ -)
|
||||
Name: re2
|
||||
Version: 2016_11_01
|
||||
Release: 1mamba
|
||||
Summary: A fast, safe, thread-friendly regular expression library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/google/re2
|
||||
## GITSOURCE https://github.com/google/re2.git 2016-11-01
|
||||
Source: https://github.com/google/re2.git/%{gitver}/re2-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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 lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: A fast, safe, thread-friendly regular expression library
|
||||
|
||||
%description -n lib%{name}
|
||||
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 lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
#% cmake -d build
|
||||
%make \
|
||||
prefix=%{_prefix} \
|
||||
libdir=%{_libdir}
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall \
|
||||
prefix=%{_prefix} \
|
||||
libdir=%{_libdir}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libre2.so.*
|
||||
%doc AUTHORS LICENSE
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/re2
|
||||
%{_includedir}/re2/*
|
||||
%{_libdir}/libre2.a
|
||||
%{_libdir}/libre2.so
|
||||
%{_libdir}/pkgconfig/re2.pc
|
||||
%doc README
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Dec 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2016_11_01-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user