Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ ⎇ branch:  cross package maker


Artifact [1f453de1f3]

Artifact 1f453de1f313d301b45aec7534966453b8e99fb3:

  • File templates/rpm.erb — part of check-in [95a601856c] at 2011-01-06 04:02:22 on branch trunk — add in stubby FPM::Rpm and FPM::Gem TODO: put sources and packages in separate namespaces (user: jjmadkisson@gmail.com size: 588)

# eruby_subtype=spec
%define rbname <%= spec.name %>

Name: <%= @name %>
Version: <%= @version %>
Release: <%= @iteration %>
Summary: <%= @summary %>

Group: <%= @category %>
<%#
TODO: [Jay] rpms require a license
let's detect it intelligently
%>
License: <%= @license %> 
Source0:  %{_sourcedir}/data.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Requires: <%= @dependencies.join(", ") %>

%description
<%= @summary %>

%prep
#noop

%build
#noop

%install
#noop

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
<%= paths %>

%changelog