# headers-only library %global debug_package %{nil} Name: ell Version: 0 Release: 0.1.20130617svn Summary: Header-only C++ library to write EBNF grammars License: LGPLv3+ URL: http://code.google.com/p/ell/ # this pristine source is the result of: # svn export -r r282 http://ell.googlecode.com/svn/trunk ell-20130617 # tar -cJvf ell-20130617.tar.xz ell-20130617 Source0: ell-20130617.tar.xz # you haven't BuildArch: noarch set, so the test-suite will run on all arches %description Embedded LL library is pure-header library to write EBNF grammars as C++ code. It eases the development of parser or similar applications, while removing the need to write a lexer. %package devel Summary: Development files for ELL # to track the usage of this library Provides: %{name}-static = %{version}-%{release} %description devel %{name}-devel is only required for building software that uses the ELL library. Because ELL is a header-only library, there is no matching run-time package. %prep %setup -q -n ell-20130617 %check export CFLAGS="%{optflags}" make test %install mkdir -p %{buildroot}%{_includedir} cp -r libELL/Include/ell %{buildroot}%{_includedir} %files devel %doc COPYING.LESSER %{_includedir}/ell %changelog * Tue Aug 6 2013 Jonathan De Wachter - 0-0.1.20130617svn - Initial RPM release