Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 32 lines (32 sloc) 1.117 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Package: <%= name %>
Version: <%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>
License: <%= license %>
Vendor: <%= vendor %>
Architecture: <%= architecture %>
Maintainer: <%= maintainer %>
Installed-Size: <%= attributes[:deb_installed_size] %>
<% if !dependencies.empty? -%>
Depends: <%= dependencies.join(", ") %>
<% end -%>
<% if !conflicts.empty? -%>
Conflicts: <%= conflicts.join(", ") %>
<% end -%>
<%# if !pre_dependencies.empty? -%>
<%# properpredeps = pre_dependencies.collect { |d| fix_dependency(d) }.flatten -%>
#Pre-Depends: <%#= properpredeps.flatten.join(", ") %>
<%# end -%>
<% if !provides.empty? -%>
Provides: <%= provides.join(", ") %>
<% end -%>
<% if !replaces.empty? -%>
Replaces: <%= replaces.join(", ") %>
<% end -%>
Section: <%= category %>
Priority: extra
Homepage: <%= url or "http://nourlgiven.example.com/" %>
<% lines = (description or "no description given").split("\n") -%>
<% firstline, *remainder = lines -%>
Description: <%= firstline %>
<% if remainder.any? -%>
<%= remainder.collect { |l| l =~ /^ *$/ ? " ." : " #{l}" }.join("\n") %>
<% end -%>
Something went wrong with that request. Please try again.