Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2016
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Summary: Cortex Reddit Command Line Client
  2. Name: cortex
  3. Version: 1.0
  4. Release: 1
  5. License: MIT
  6. Group: Applications/Internet
  7. URL: http://cortex.glacicle.org/
  8. Packager: Ricardo Jose Maraschini
  9. BuildArch: noarch
  10. Source: %{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. Requires: python3 >= 3.4.3-5
  13. Provides: cortex
  14.  
  15. %description
  16. Cortex is a simple application to keep track and browse through reddit
  17. article lists where one would usually need to open a web browser and
  18. possibly use a mouse to navigate. Since rss readers can get cluttered
  19. and are not the same as the actual reddit homepage, cortex will allow
  20. you to stop refreshing the reddit page all the time while sticking to
  21. the same paradigm as the usual reddit frontpage would.
  22.  
  23. %prep
  24. %setup
  25.  
  26. %install
  27. %{__mkdir} -p %{buildroot}/usr/bin
  28. %{__cp} cortex %{buildroot}/usr/bin/
  29. %{__mkdir} -p %{buildroot}/usr/share/licenses/cortex
  30. %{__cp} LICENSE %{buildroot}/usr/share/licenses/cortex/
  31. %{__mkdir} -p %{buildroot}/usr/share/doc/cortex
  32. %{__cp} README.md %{buildroot}/usr/share/doc/cortex/
  33. %{__cp} config.example %{buildroot}/usr/share/doc/cortex/
  34. %{__mkdir} -p %{buildroot}/usr/share/man/man1
  35. %{__cp} cortex.1 %{buildroot}/usr/share/man/man1/
  36.  
  37. %clean
  38. %{__rm} -rf %{buildroot}
  39.  
  40. %files
  41. %defattr(-, root, root, 0755)
  42. /usr/bin/cortex
  43. %defattr(-, root, root, 0644)
  44. /usr/share/licenses/cortex/LICENSE
  45. /usr/share/doc/cortex/README.md
  46. /usr/share/doc/cortex/config.example
  47. /usr/share/man/man1/cortex.1.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement