Mailspring/resources/linux/redhat/edgehill.spec.in
Ben Gotow 9378f4480c fix(naming): Move atom/inbox/nilas refs to Nylas
Conflicts:
	internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
2015-05-15 11:07:28 -07:00

26 lines
870 B
RPMSpec

Name: <%= name %>
Version: <%= version %>
Release: 0.1%{?dist}
Summary: Edgehill is an Email OS
License: Proprietary
URL: https://nylas.com/
AutoReqProv: no # Avoid libchromiumcontent.so missing dependency
%description
<%= description %>
%install
mkdir -p %{buildroot}/usr/local/share/edgehill
cp -r /tmp/edgehill-build/Edgehill/* %{buildroot}/usr/local/share/edgehill
mkdir -p %{buildroot}/usr/local/bin/
ln -sf /usr/local/share/edgehill/resources/app/apm/node_modules/.bin/apm %{buildroot}/usr/local/bin/apm
cp atom.sh %{buildroot}/usr/local/bin/edgehill
chmod 755 edgehill
mkdir -p %{buildroot}/usr/local/share/applications/
mv edgehill.desktop %{buildroot}/usr/local/share/applications/
%files
/usr/local/bin/edgehill
/usr/local/bin/apm
/usr/local/share/edgehill/
/usr/local/share/applications/edgehill.desktop