From d163934232065fc3adf4b978ffd9c7c5c252dd8e Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Mon, 8 May 2023 11:13:40 +0200 Subject: [PATCH] import sources --- .gitignore | 1 + PEGTL.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 79 insertions(+) create mode 100644 .gitignore create mode 100644 PEGTL.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce31a13 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/2.7.0.tar.gz diff --git a/PEGTL.spec b/PEGTL.spec new file mode 100644 index 0000000..0423d80 --- /dev/null +++ b/PEGTL.spec @@ -0,0 +1,77 @@ +%global debug_package %{nil} +%bcond_without check + +Name: PEGTL +Version: 2.7.0 +Release: 3%{?dist} +Summary: Parsing Expression Grammar Template Library +Group: Development/Libraries +License: MIT +URL: https://github.com/taocpp/%{name}/ +Source0: https://github.com/taocpp/%{name}/archive/%{version}.tar.gz + +BuildRequires: /usr/bin/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} +Group: Development/Libraries +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} + +%install +install -d -m 0755 %{buildroot}%{_includedir} +pushd include/ +cp -R tao/ %{buildroot}%{_includedir} +popd + +%if 0%{with check} +%check +make +%endif + +%files devel +%doc README.md doc/ +%license LICENSE +%{_includedir}/tao/pegtl.hpp +%{_includedir}/tao/pegtl + +%changelog +* Thu Apr 11 2019 Daniel Kopecek - 2.7.0-3 +- spec: use rpm build conditionals for the check phase conditional + +* Wed Apr 10 2019 Daniel Kopecek - 2.7.0-2 +- spec: make the check phase conditional + +* Wed Aug 01 2018 Daniel Kopecek - 2.7.0-1 +- Update to 2.7.0 + +* Wed Jul 11 2018 Daniel Kopecek - 2.6.0-1 +- Update to 2.6.0 + +* Wed Feb 07 2018 Fedora Release Engineering - 1.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 1.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jul 14 2016 Daniel Kopecek - 1.3.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1756315 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (2.7.0.tar.gz) = 783e1f1c3bd319687fa3300d6c4bfc550f8c50812fbb7e4b51c5db4d26acb07da4637d404c1f15a5dac846b09ff6188c9be3b4e7b2f30d047afb7025f353e909