2016-07-15 13:31:45 +00:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
Name: PEGTL
|
2018-03-08 10:15:24 +00:00
|
|
|
Version: 2.4.0
|
|
|
|
Release: 1%{?dist}
|
2016-07-15 13:31:45 +00:00
|
|
|
Summary: Parsing Expression Grammar Template Library
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/ColinH/%{name}/
|
|
|
|
Source0: https://github.com/ColinH/%{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}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d -m 0755 %{buildroot}%{_includedir}
|
2018-03-08 10:15:24 +00:00
|
|
|
pushd include/
|
|
|
|
cp -R tao/ %{buildroot}%{_includedir}
|
|
|
|
popd
|
2016-07-15 13:31:45 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-03-08 10:15:24 +00:00
|
|
|
%doc README.md doc/
|
2016-07-15 13:31:45 +00:00
|
|
|
%license LICENSE
|
2018-03-08 10:15:24 +00:00
|
|
|
%{_includedir}/tao/pegtl.hpp
|
|
|
|
%{_includedir}/tao/pegtl
|
2016-07-15 13:31:45 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-03-08 10:15:24 +00:00
|
|
|
* Thu Mar 08 2018 Daniel Kopecek <dkopecek@redhat.com> - 2.4.0-1
|
|
|
|
- Update to 2.4.0
|
|
|
|
|
2018-02-07 00:54:22 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 17:04:44 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 02:00:05 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 05:17:32 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-07-15 13:31:45 +00:00
|
|
|
* Thu Jul 14 2016 Daniel Kopecek <dkopecek@redhat.com> - 1.3.1-1
|
|
|
|
- Initial package
|