Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (32 sloc) 1.186 kb
e10c70f @jneen use accessors in the templates
jneen authored
1 Package: <%= name %>
084d2dd @jordansissel - get a bare minimum deb output working
authored
2 Version: <%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>
7de1dfe @ploubser - Added license meta data to packages
ploubser authored
3 License: <%= license %>
1690475 @ploubser - Updated builder to include license and vendor
ploubser authored
4 Vendor: <%= vendor %>
e10c70f @jneen use accessors in the templates
jneen authored
5 Architecture: <%= architecture %>
032c3c5 @jordansissel - Add installed-size
authored
6 Maintainer: <%= maintainer %>
7 Installed-Size: <%= attributes[:deb_installed_size] %>
ee9f00d @jordansissel - convert to using the (still undocumented) ERB "explicit line ending"
authored
8 <% if !dependencies.empty? -%>
9f90c2c @jordansissel Force dependency fixings (improves on #250)
authored
9 Depends: <%= dependencies.collect { |d| fix_dependency(d) }.flatten.join(", ") %>
032c3c5 @jordansissel - Add installed-size
authored
10 <% end -%>
11 <% if !conflicts.empty? -%>
12 Conflicts: <%= conflicts.join(", ") %>
ee9f00d @jordansissel - convert to using the (still undocumented) ERB "explicit line ending"
authored
13 <% end -%>
084d2dd @jordansissel - get a bare minimum deb output working
authored
14 <%# if !pre_dependencies.empty? -%>
15 <%# properpredeps = pre_dependencies.collect { |d| fix_dependency(d) }.flatten -%>
16 #Pre-Depends: <%#= properpredeps.flatten.join(", ") %>
17 <%# end -%>
ee9f00d @jordansissel - convert to using the (still undocumented) ERB "explicit line ending"
authored
18 <% if !provides.empty? -%>
97db376 @tmm1 fix missing newline in Provides
tmm1 authored
19 Provides: <%= provides.join(", ") %>
ee9f00d @jordansissel - convert to using the (still undocumented) ERB "explicit line ending"
authored
20 <% end -%>
21 <% if !replaces.empty? -%>
032c3c5 @jordansissel - Add installed-size
authored
22 Replaces: <%= replaces.join(", ") %>
ee9f00d @jordansissel - convert to using the (still undocumented) ERB "explicit line ending"
authored
23 <% end -%>
032c3c5 @jordansissel - Add installed-size
authored
24 Section: <%= category %>
6617425 @jordansissel - Add --deb-priority (#232)
authored
25 Priority: <%= attributes[:deb_priority] %>
e10c70f @jneen use accessors in the templates
jneen authored
26 Homepage: <%= url or "http://nourlgiven.example.com/" %>
7381d5d @jordansissel - cleaner
authored
27 <% lines = (description or "no description given").split("\n") -%>
b3db5f7 @jordansissel - simplify
authored
28 <% firstline, *remainder = lines -%>
2240148 @jordansissel - fix deb descriptions for good?
authored
29 Description: <%= firstline %>
b3db5f7 @jordansissel - simplify
authored
30 <% if remainder.any? -%>
7381d5d @jordansissel - cleaner
authored
31 <%= remainder.collect { |l| l =~ /^ *$/ ? " ." : " #{l}" }.join("\n") %>
a91dc22 @jordansissel - Patch from jpluscplusm to work around misfeatures in debian's control
authored
32 <% end -%>
Something went wrong with that request. Please try again.