Skip to content

Instantly share code, notes, and snippets.

@Packetslave
Created January 3, 2011 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Packetslave/763071 to your computer and use it in GitHub Desktop.
Save Packetslave/763071 to your computer and use it in GitHub Desktop.
Quick and dirty RPM spec file for NFSping
%define name nfsping
%define release 1
%define version 1.0
%define buildroot %{_topdir}/%{name}-%{version}-root
BuildRoot: %{buildroot}
Summary: NFSping
License: BSD
Name: %{name}
Version: %{version}
Release: %{release}
Source: mprovost-NFSping-e2d35d4.tar.gz
Prefix: /usr
Group: Applications/Internet
%description
NFSping by Matt Provost of WETA Digital
%prep
%setup -q -n mprovost-NFSping-e2d35d4
%build
cd src
make
%install
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
cp src/nfsping $RPM_BUILD_ROOT/usr/local/bin
%files
%defattr(-,root,root)
/usr/local/bin/nfsping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment