Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (29 sloc) 1.071 kB
Package: <%= name %>
Version: <%= "#{epoch}:" if epoch %><%= version %><%= iteration && '-'+iteration.to_s %>
Architecture: <%= architecture %>
Maintainer: <%= maintainer or "<unknown>" %>
<% if !dependencies.empty? -%>
<% properdeps = dependencies.collect { |d| fix_dependency(d) }.flatten -%>
Depends: <%= properdeps.flatten.join(", ") %>
<% end -%>
<% if !conflicts.empty? -%>
Conflicts: <%= conflicts.join(", ") %>
<% end -%>
<% if !provides.empty? -%>
Provides: <%= provides.join(", ") %>
<% end -%>
<% if !replaces.empty? -%>
<% properrepl = replaces.collect { |d| fix_dependency(d) }.flatten -%>
Replaces: <%= properrepl.flatten.join(", ") %>
<% end -%>
Standards-Version: 3.9.1
Section: <%= category or "unknown" %>
Priority: extra
Homepage: <%= url or "http://nourlgiven.example.com/" %>
<% lines = (description or "no description given").split("\n") -%>
<% firstline = lines.first -%>
<% remainder = lines[1..-1] -%>
Description: <%= firstline %>
<% if !remainder.nil? -%>
<%= remainder.collect { |l| l =~ /^ *$/ ? " ." : " #{l}" }.join("\n") %>
<% end -%>
Jump to Line
Something went wrong with that request. Please try again.