diff --git a/2.4.0.tar.gz b/2.4.0.tar.gz new file mode 100644 index 0000000..60e60c2 Binary files /dev/null and b/2.4.0.tar.gz differ diff --git a/2.8.0.tar.gz b/2.8.0.tar.gz new file mode 100644 index 0000000..e3346e1 Binary files /dev/null and b/2.8.0.tar.gz differ diff --git a/PEGTL.spec b/PEGTL.spec new file mode 100644 index 0000000..1bb2067 --- /dev/null +++ b/PEGTL.spec @@ -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 - 2.8.0-2 +- Package init diff --git a/PEGTL.yaml b/PEGTL.yaml new file mode 100644 index 0000000..f2c1d6c --- /dev/null +++ b/PEGTL.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: taocpp/PEGTL +tag_prefix: "" +seperator: "."