package init
This commit is contained in:
parent
d77a7c805b
commit
c165ec3769
BIN
2.4.0.tar.gz
Normal file
BIN
2.4.0.tar.gz
Normal file
Binary file not shown.
BIN
2.8.0.tar.gz
Normal file
BIN
2.8.0.tar.gz
Normal file
Binary file not shown.
49
PEGTL.spec
Normal file
49
PEGTL.spec
Normal file
@ -0,0 +1,49 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: PEGTL
|
||||
Version: 2.8.0
|
||||
Release: 2
|
||||
Summary: Parsing Expression Grammar Template Library
|
||||
License: MIT
|
||||
URL: https://github.com/taocpp/PEGTL/
|
||||
Source0: https://github.com/taocpp/%{name}/archive/%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
The Parsing Expression Grammar Template Library (PEGTL) is a zero-dependency
|
||||
C++11 header-only library for creating parsers according to a Parsing
|
||||
Expression Grammar (PEG).
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Requires: libstdc++-devel
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains C++ header files for developing
|
||||
applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%check
|
||||
make
|
||||
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}%{_includedir}
|
||||
pushd include/
|
||||
cp -R tao/ %{buildroot}%{_includedir}
|
||||
popd
|
||||
|
||||
%files devel
|
||||
%doc README.md doc/
|
||||
%license LICENSE
|
||||
%{_includedir}/tao/pegtl.hpp
|
||||
%{_includedir}/tao/pegtl
|
||||
|
||||
%changelog
|
||||
* Sat Jul 18 2020 Guoshuai Sun <sunguoshuai@huawei.com> - 2.8.0-2
|
||||
- Package init
|
||||
4
PEGTL.yaml
Normal file
4
PEGTL.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: taocpp/PEGTL
|
||||
tag_prefix: ""
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user