| # --- |
| # |
| # :summary: this is a custom summary |
| # |
| # :description: |- |
| # this is a custom description |
| # |
| # it can be multiline |
| # |
| # :license: MIT or Ruby |
| # |
| # :version_suffix: -x_y |
| # |
| # :disable_docs: true |
| # |
| # :disable_automatic_rdoc_dep: true |
| # |
| # :preamble: |- |
| # BuildRequires: foobar |
| # Requires: foobar |
| # |
| # :patches: |
| # foo.patch: -p1 |
| # bar.patch: |
| # |
| :sources: |
| # - foo.desktop |
| # - bar.desktop |
| # :gem_install_args: '....' |
| # |
| # :pre_install: |- |
| # %if 0%{?use_system_libev} |
| # export USE_VENDORED_LIBEV="no" |
| # %endif |
| # |
| # :post_install: |- |
| # |
| # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse |
| # |
| # :testsuite_command: |- |
| # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) |
| # |
| # :filelist: |- |
| # /usr/bin/gem2rpm-opensuse |
| # |
| # :scripts: |
| # :post: |- |
| # /bin/echo foo |
| # |
| # :main: |
| # :preamble: |- |
| # Requires: util-linux |
| # Recommends: pwgen |
| # :filelist: |- |
| # /usr/bin/gem2rpm-opensuse |
| # |
| # :custom: |
| # apache: |
| # :preamble: |- |
| # Requires: ..... |
| # :filelist: |- |
| # /etc/apache2/conf.d/passenger.conf |
| # :summary: Custom summary is optional |
| # :description: |- |
| # Custom description is optional |
| # |
| # bar |
| # :post: |- |
| # /bin/echo foo |
| # |