mirror of
https://github.com/jordansissel/fpm
synced 2025-08-25 03:24:33 +02:00
- Get fpm -s rpm -t rpm working (should provide a useful test case) - Allow 'output' (-p <path>) to be a directory
42 lines
640 B
Plaintext
42 lines
640 B
Plaintext
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)
|
|
|
|
<% if @dependencies && !@dependencies.empty? %>
|
|
Requires: <%= @dependencies.join(", ") %>
|
|
<% end %>
|
|
|
|
%description
|
|
<%= @summary %>
|
|
|
|
%prep
|
|
echo "PREP"
|
|
pwd
|
|
tar -zvxf %SOURCE0
|
|
|
|
%build
|
|
#noop
|
|
|
|
%install
|
|
#noop
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
<%= @source.paths.join("\n") %>
|
|
|
|
%changelog
|