<services>
  <service name="tar_scm">
    <param name="url">https://github.com/bluca/gsl</param>
    <param name="revision">packaging</param>
    <param name="scm">git</param>
    <!--<param name="versionformat">@PARENT_TAG@+git%cd</param>-->
    <!-- extract redhat packaging -->
    <param name="changesgenerate">enable</param>
  </service>

  <!-- extract redhat packaging -->
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/linux/rpm/SPECS/generator-scripting-language.spec</param>
    <param name="outfilename">generator-scripting-language.spec</param>
  </service>

  <!-- extract debian packaging -->
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/generator-scripting-language.dsc.obs</param>
    <param name="outfilename">generator-scripting-language.dsc</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
  	<param name="files">*/packaging/debian/changelog</param>
    <param name="outfilename">debian.changelog</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/compat</param>
    <param name="outfilename">debian.compat</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/control</param>
    <param name="outfilename">debian.control</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/copyright</param>
    <param name="outfilename">debian.copyright</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/generator-scripting-language.install</param>
    <param name="outfilename">debian.generator-scripting-language.install</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/generator-scripting-language.docs</param>
    <param name="outfilename">debian.generator-scripting-language.docs</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/generator-scripting-language-examples.install</param>
    <param name="outfilename">debian.generator-scripting-language-examples.install</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/source/format</param>
    <param name="outfilename">debian.format</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/packaging/debian/rules</param>
    <param name="outfilename">debian.rules</param>
  </service>

  <service name="set_version">
    <param name="basename">gsl</param>
  </service>

  <service name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>
</services>
