Linux packaging

The idea is being able to change

make libdir=%{buildroot}%{_libdir} includedir=%{buildroot}%{_includedir}/ebml install_sharedlib install_headers

which requires the spec file knowing the names of the specific rules and the headers installation path, for

%make_install DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} NO_STATIC=yes