Added Makefile and spec file for RPM builds

This commit is contained in:
2013-10-14 20:36:18 -04:00
parent 0c4eeac39d
commit 32d0925076
2 changed files with 96 additions and 4 deletions

26
gloss.spec Normal file
View File

@@ -0,0 +1,26 @@
%define __os_install_post %{nil}
Summary: Documentation Bundling and Publishing Tool
Name: gloss
Version: %{version}
Release: %{release}
License: MIT
Vendor: Andrew Kesterson
Packager: Andrew Kesterson <andrew@aklabs.net>
Group: Development Tools
Provides: %{name}
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
Source: %{name}-%{version}-%{release}.tar.gz
Requires: bash
%description
%install
tar -zxvf %{_sourcedir}/%{name}-%{version}-%{release}.tar.gz
cd %{name}-%{version}-%{release}
PREFIX=%{buildroot} make install
PREFIX=%{buildroot} make MANIFEST
cp MANIFEST /tmp/
%files -f /tmp/MANIFEST