colm-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Name: colm
  2. Version: 0.14.7
  3. Release: 1%{?_dist_release}
  4. Summary: Programming language designed for the analysis of computer languages
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. # aapl/ and some headers from src/ are the LGPLv2+
  9. License: MIT and LGPLv2+
  10. URL: https://www.colm.net/open-source/colm/
  11. Source0: https://www.colm.net/files/%{name}/%{name}-%{version}.tar.gz
  12. BuildRequires: gcc
  13. BuildRequires: gcc-c++
  14. BuildRequires: autoconf
  15. BuildRequires: automake
  16. BuildRequires: libtool
  17. BuildRequires: make
  18. BuildRequires: asciidoc
  19. # Unfortunately, upstream doesn't exist and not possible to find version
  20. Provides: bundled(aapl)
  21. %description
  22. Colm is a programming language designed for the analysis and transformation
  23. of computer languages. Colm is influenced primarily by TXL. It is
  24. in the family of program transformation languages.
  25. %package devel
  26. Summary: Development libraries and header files for %{name}
  27. Group: programming
  28. Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
  29. Obsoletes: ragel-devel < 7.0.4
  30. Provides: ragel-devel = 7.0.4
  31. %description devel
  32. %{summary}.
  33. %debug_package
  34. %prep
  35. %autosetup
  36. # Do not pollute with docs
  37. sed -i -e "/dist_doc_DATA/d" Makefile.am
  38. %build
  39. autoreconf -vfi
  40. %configure --datadir=%{_datadir}/%{name}
  41. %make_build
  42. %install
  43. %make_install
  44. find %{buildroot}%{_libdir} -type f -name '*.la' -print -delete
  45. find %{buildroot}%{_libdir} -type f -name '*.a' -print -delete
  46. install -p -m 0644 -D %{name}.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/%{name}.vim
  47. rm -rf rpmdoc
  48. mkdir -p rpmdoc
  49. mv -f %{buildroot}%{_docdir}/%{name}/* ./rpmdoc/
  50. %files
  51. %license COPYING
  52. %doc CREDITS README
  53. %{_libdir}/lib%{name}-%{version}.so
  54. %{_libdir}/libfsm-%{version}.so
  55. %dir %{_datadir}/%{name}
  56. %files devel
  57. %doc rpmdoc/*
  58. %{_bindir}/%{name}
  59. %{_bindir}/%{name}-wrap
  60. %{_libdir}/lib%{name}.so
  61. %{_libdir}/libfsm.so
  62. %{_includedir}/aapl
  63. %{_includedir}/libfsm
  64. %{_includedir}/%{name}
  65. %{_datadir}/%{name}/*
  66. %exclude %{_datadir}/vim/vimfiles/syntax/%{name}.vim
  67. %changelog
  68. * Mon Jul 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.14.7-1
  69. - new upstream release.
  70. - dropped ldconfig scriptletes.
  71. * Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.13.0.7-4
  72. - rebuilt with current environment.
  73. * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.13.0.7-3
  74. - dropped a file for vim.
  75. * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.13.0.7-2
  76. - initial build for Vine Linux.
  77. * Sun Jul 28 2019 Christian Glombek <lorbus@fedoraproject.org> - 0.13.0.7-1
  78. - Updated to version 0.13.0.7
  79. * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0.6-4
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  81. * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0.6-3
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  83. * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0.6-2
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  85. * Fri Jul 06 2018 Christian Glombek <lorbus@fedoraproject.org> - 0.13.0.6-1
  86. - Updated to version 0.13.0.6
  87. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0.5-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  89. * Sun Dec 10 2017 Jason Taylor <jtfas90@gmail.com> - 0.13.0.5-1
  90. - Upstream bugfix release
  91. - Correction to spec license add MIT license
  92. - Added asciidoc BuildRequires and docdir files
  93. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0.4-4
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  95. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0.4-3
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  97. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0.4-2
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  99. * Thu Dec 01 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.13.0.4-1
  100. - Initial package