Name: colm Version: 0.14.7 Release: 2 Summary: Programming language designed for the analysis of computer languages # aapl/ and some headers from src/ are the LGPLv2+ License: MIT and LGPLv2+ URL: https://www.colm.net/open-source/colm/ Source0: https://www.colm.net/files/%{name}/%{name}-%{version}.tar.gz Patch0: fix-library.patch BuildRequires: libtool-base BuildRequires: slibtool BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: make BuildRequires: asciidoc # Unfortunately, upstream doesn't exist and not possible to find version Provides: bundled(aapl) %description Colm is a programming language designed for the analysis and transformation of computer languages. Colm is influenced primarily by TXL. It is in the family of program transformation languages. %package devel Summary: Development libraries and header files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel %{summary}. %prep %autosetup -p1 # Do not pollute with docs sed -i -e "/dist_doc_DATA/d" Makefile.am %build autoreconf -vfi %configure --disable-static %make_build %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 %files %license COPYING %doc %{_datadir}/doc/colm/ %{_bindir}/%{name} %{_bindir}/colm-wrap %{_libdir}/lib%{name}-%{version}.so %{_libdir}/libfsm-%{version}.so %dir %{_datadir}/vim %dir %{_datadir}/vim/vimfiles %dir %{_datadir}/vim/vimfiles/syntax %{_datadir}/vim/vimfiles/syntax/%{name}.vim %{_datadir}/runtests %{_datadir}/ril* %{_datadir}/rlhc* %files devel %{_libdir}/lib%{name}.so %{_libdir}/libfsm.so %{_includedir}/%{name}/ %{_includedir}/aapl/ %{_includedir}/libfsm/