Untitled

From Eratic Bee, 6 Years ago, written in Plain Text, viewed 270 times.
URL https://paste.steamr.com/view/c1161ebe Embed
Download Paste or View Raw
  1. Name:           hello
  2. Version:         1.0
  3. Release:        1%{?dist}
  4. Summary:        Hello program
  5.  
  6. License:        GNU
  7. URL:            http://example.com
  8. Source0:        hello-1.0.tar.gz
  9.  
  10.  
  11. %description
  12.  
  13.  
  14. %prep
  15. %setup -q
  16.  
  17.  
  18. %build
  19. make
  20.  
  21. %install
  22. rm -rf $RPM_BUILD_ROOT
  23.  
  24. mkdir -p %{buildroot}/usr/local/bin
  25. install -m 755 hello %{buildroot}/usr/local/bin
  26.  
  27.  
  28.  
  29. %files
  30. /usr/local/bin/hello
  31.  
  32. %license LICENSE
  33.  
  34. %changelog
  35. * Mon Sep 2 2018 <bob@example.com>
  36. - Initial build
  37.  

Reply to "Untitled"

Here you can reply to the paste above