github.com/mattdotmatt/gauge@v0.3.2-0.20160421115137-425a4cdccb62/build/packaging/rpm/gauge.spec (about)

     1  Name:           gauge
     2  Version:        <version>
     3  Release:        <release>
     4  Summary:        Cross-platform test automation
     5  License:        GPLv3
     6  URL:            http://getgauge.io/
     7  Prefix:         /usr
     8  
     9  Provides: gauge_screenshot
    10  
    11  Requires(post): /bin/sh
    12  
    13  %description
    14  Gauge is a light weight cross-platform test automation tool.
    15  It provides the ability to author test cases in the
    16  business language.
    17  
    18  %install
    19  mkdir -p %{buildroot}/usr/share/gauge/
    20  cp -r %{_builddir}/share/gauge/* %{buildroot}/usr/share/gauge/
    21  mkdir -p %{buildroot}/usr/bin/
    22  cp %{_builddir}/bin/* %{buildroot}/usr/bin/
    23  chmod +x %{buildroot}/usr/bin/*
    24  
    25  %files
    26  /usr/bin/gauge
    27  /usr/bin/gauge_screenshot
    28  /usr/bin/gauge_setup
    29  /usr/share/gauge/gauge.properties
    30  /usr/share/gauge/notice.md
    31  /usr/share/gauge/skel/env/default.properties
    32  /usr/share/gauge/skel/example.spec
    33  
    34  %post
    35  echo -e "\n\nPlease run the 'gauge_setup' command to complete installation.\n"
    36  
    37  %changelog
    38  * Fri Apr 1 2016 ThoughtWorks Inc. <studios@thoughtworks.com>
    39  - Release notes are available at https://github.com/getgauge/gauge/releases