Files
meteor/admin/meteor.spec
David Glasser f40b7b03c0 Update version number for 0.4.1.
This will be the commit that 0.4.1 is released from. If the initial release
candidate fails QA, this commit will be reverted.
2012-09-18 10:49:40 -07:00

43 lines
914 B
RPMSpec

#
# Meteor RPM spec file
#
Summary: Meteor platform and JavaScript application server
Vendor: Meteor
Name: meteor
Version: 0.4.1
Release: 1
License: MIT
Group: Networking/WWW
Packager: Meteor Packaging Team <contact@meteor.com>
URL: http://meteor.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A platform and app server for building websites in JavaScript.
%prep
%build
%install
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
if [ ! -f "%{TARBALL}" ] ; then
echo "Can't find TARBALL: %{TARBALL}"
exit 1
fi
install -d %{buildroot}%{_libdir}
# XXX XXX
tar -x -C %{buildroot}%{_libdir} -f %{TARBALL}
install -d %{buildroot}%{_bindir}
ln -s /%{_libdir}/meteor/bin/meteor %{buildroot}%{_bindir}/meteor
echo -n 'rpm' > %{buildroot}%{_libdir}/meteor/.package_stamp
%clean
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/meteor
%{_libdir}/meteor