2021-08-19 23:46:51 +03:00
|
|
|
Name: ragel
|
2022-01-28 21:27:54 +03:00
|
|
|
Version: 7.0.4
|
|
|
|
Release: 1%{?dist}
|
2021-08-19 23:46:51 +03:00
|
|
|
Summary: Finite state machine compiler
|
|
|
|
# aapl/ is the LGPLv2+
|
|
|
|
License: MIT AND LGPLv2+
|
|
|
|
Group: Development/Libraries
|
|
|
|
Vendor: Microsoft Corporation
|
|
|
|
Distribution: Mariner
|
|
|
|
URL: http://www.colm.net/open-source/%{name}/
|
2022-01-28 21:27:54 +03:00
|
|
|
Source0: https://github.com/adrian-thurston/ragel/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
Patch0: Ragel-Colm-NoStatic.patch
|
2021-08-19 23:46:51 +03:00
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2022-01-28 21:27:54 +03:00
|
|
|
# the specific version of colm needed is in EXPECTED_COLM_VER in configure.ac (Source0)
|
|
|
|
BuildRequires: colm-devel = 0.14.7
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libstdc++
|
2021-08-19 23:46:51 +03:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
%description
|
|
|
|
Ragel compiles executable finite state machines from regular languages.
|
|
|
|
Ragel targets C, C++ and ASM. Ragel state machines can not only recognize
|
|
|
|
byte sequences as regular expression machines do, but can also execute code
|
|
|
|
at arbitrary points in the recognition of a regular language. Code embedding
|
|
|
|
is done using inline operators that do not disrupt the regular language syntax.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries header files for %{name}
|
2021-11-11 07:06:30 +03:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2021-08-19 23:46:51 +03:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%prep
|
2022-01-28 21:27:54 +03:00
|
|
|
%autosetup -p1
|
2021-08-19 23:46:51 +03:00
|
|
|
# Do not pollute with docs
|
|
|
|
sed -i -e "/dist_doc_DATA/d" Makefile.am
|
|
|
|
|
|
|
|
%build
|
2022-01-28 21:27:54 +03:00
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix="/usr" --with-colm="/usr" --disable-manual --disable-static
|
|
|
|
make %{?_smp_mflags}
|
2021-08-19 23:46:51 +03:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot}%{_libdir} -type f -name '*.la' -print -delete
|
|
|
|
install -p -m 0644 -D %{name}.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/%{name}.vim
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2022-01-28 21:27:54 +03:00
|
|
|
%doc CREDITS
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
2021-08-19 23:46:51 +03:00
|
|
|
%{_libdir}/libragel.so.*
|
2022-01-28 21:27:54 +03:00
|
|
|
%{_datarootdir}/*.lm
|
2021-08-19 23:46:51 +03:00
|
|
|
%dir %{_datadir}/vim
|
|
|
|
%dir %{_datadir}/vim/vimfiles
|
|
|
|
%dir %{_datadir}/vim/vimfiles/syntax
|
|
|
|
%{_datadir}/vim/vimfiles/syntax/%{name}.vim
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libragel.so
|
|
|
|
|
|
|
|
%changelog
|
2022-01-28 21:27:54 +03:00
|
|
|
* Wed Jan 26 2022 Nicolas Guibourge <nicolasg@microsft.com> - 7.0.4-1
|
|
|
|
- Ugrade to 7.0.4
|
|
|
|
|
2021-11-11 07:06:30 +03:00
|
|
|
* Wed Oct 27 2021 Muhammad Falak <mwani@microsft.com> - 7.0.0.12-6
|
|
|
|
- Remove epoch
|
|
|
|
|
2021-08-19 23:46:51 +03:00
|
|
|
* Sat Jul 10 2021 Henry Li <lihl@microsoft.com> - 7.0.0.12-5
|
|
|
|
- Remove Provides bundled(aapl)
|
|
|
|
|
|
|
|
* Fri Jul 02 2021 Suresh Babu Chalamalasetty <schalam@microsoft.com> - 7.0.0.12-4
|
|
|
|
- Initial CBL-Mariner import from Fedora 32 (license: MIT)
|
|
|
|
- License verified
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.12-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jul 28 2019 Christian Glombek <lorbus@fedoraproject.org> - 7.0.0.12-2
|
|
|
|
- Explicitly require colm 0.13.07 for the build
|
|
|
|
|
|
|
|
* Sun Jul 28 2019 Christian Glombek <lorbus@fedoraproject.org> - 7.0.0.12-1
|
|
|
|
- Updated to version 7.0.0.12
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.11-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 06 2018 Christian Glombek <lorbus@fedoraproject.org> - 7.0.0.11-1
|
|
|
|
- Update to 7.0.0.11
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Dec 11 2017 Jason Taylor <jtfas90@gmail.com> - 7.0.0.10-1
|
|
|
|
- Upstream bugfix release
|
|
|
|
- Updated spec to reflect MIT license
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Oct 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 7.0.0.9-1
|
|
|
|
- Fix FTBFS
|
|
|
|
- Update to 7.0.0.9
|
|
|
|
- Trivial fixes in spec
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.8-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 6.8-4
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Sep 08 2013 Jeremy Hinegardner <jeremy@hinegardner.org> - 6.8-1
|
|
|
|
- Update to upstream 6.8
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Aug 1 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 6.6-6
|
|
|
|
- Fix build with gcc47
|
|
|
|
- Pass fedora cflags correctly
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 6.6-2
|
|
|
|
- rebuild to ensure F14 has higher NVR than F13
|
|
|
|
|
|
|
|
* Thu Feb 18 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.6-0
|
|
|
|
- update to 6.6
|
|
|
|
- remove patch, fix applied upstream
|
|
|
|
|
|
|
|
* Sun Aug 02 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.5-2
|
|
|
|
- fix build process
|
|
|
|
|
|
|
|
* Sun Aug 02 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.5-1
|
|
|
|
- Update to 6.5
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Apr 14 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-3
|
|
|
|
- remove main.cpp patch for testing
|
|
|
|
|
|
|
|
* Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-2
|
|
|
|
- add patch for main.cpp
|
|
|
|
|
|
|
|
* Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-1
|
|
|
|
- Update to 6.4
|
|
|
|
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Aug 30 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.3-1
|
|
|
|
- update to 6.3
|
|
|
|
|
|
|
|
* Mon May 12 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.2-1
|
|
|
|
- update to 6.2
|
|
|
|
|
|
|
|
* Mon Apr 14 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.1-1
|
|
|
|
- update to 6.1
|
|
|
|
|
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 6.0-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
|
|
|
* Sat Jan 19 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.0-1
|
|
|
|
- update to 6.0
|
|
|
|
|
|
|
|
* Sun Jan 06 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 5.25-1
|
|
|
|
- update to 5.25
|
|
|
|
|
|
|
|
* Tue Sep 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.24-1
|
|
|
|
- update to 5.24
|
|
|
|
- update License tag
|
|
|
|
|
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 5.23-2
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
|
|
|
* Tue Jul 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.23-1
|
|
|
|
- update to 5.23
|
|
|
|
- removed ragel-rlcodegen-replace.patch - it was applied upstream
|
|
|
|
|
|
|
|
* Mon Jun 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.22-1
|
|
|
|
- update to 5.22
|
|
|
|
- remove ragel-Makefile-in.patch - it was applied upstream
|
|
|
|
- update ragel-rlcodegen-replace.patch to apply cleanly
|
|
|
|
|
|
|
|
* Sat Mar 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.19-4
|
|
|
|
- further replacement of rlcodegen
|
|
|
|
- rework patches
|
|
|
|
|
|
|
|
* Fri Mar 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.19-3
|
|
|
|
- replace RPM_BUILD_ROOT in spec file with buildroot macro
|
|
|
|
- cleanup rpmlint errors for the src.rpm
|
|
|
|
- add ragel(1) man page patch
|
|
|
|
|
|
|
|
* Tue Mar 20 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.19-1
|
|
|
|
- Creation of spec file
|