mirror of
https://github.com/jordansissel/fpm
synced 2025-08-25 03:24:33 +02:00
24 lines
662 B
Plaintext
24 lines
662 B
Plaintext
Package: <%= name %>
|
|
Version: <%= version %>-<%= iteration %>
|
|
Architecture: <%= architecture %>
|
|
Maintainer: <%= maintainer or "<unknown>" %>
|
|
<% if dependencies.size > 0 %>
|
|
<%
|
|
properdeps = dependencies.collect do |d|
|
|
if d =~ /\(/
|
|
d
|
|
else
|
|
# Convert strings 'foo >= bar' to 'foo (>= bar)'
|
|
da = d.split(/ +/)
|
|
"#{da[0]} (#{da[1]} #{da[2]})"
|
|
end
|
|
end
|
|
%>Depends: <%= properdeps.join(", ") %>
|
|
<% end %>
|
|
Standards-Version: 3.9.1
|
|
Section: <%= category or "unknown" %>
|
|
Priority: extra
|
|
Homepage: <%= url or "http://nourlgiven.example.com/" %>
|
|
Description: <%= summary or "no summary given" %>
|
|
<%= summary or "no description given"%>
|