Advertisement
andragabr

Untitled

Jul 5th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. Name: pycharm-community
  2. Version: 2016.1.4
  3. Release: 0.1
  4. License: GPL-2
  5. Summary: pycharm rpm
  6. Url: https://www.jetbrains.com/pycharm
  7. Source: %{name}-%{version}.tar.gz
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-build
  9.  
  10. %description
  11. test
  12. %prep
  13. %setup
  14.  
  15.  
  16.  
  17. %install
  18. rm -rf $RPM_BUILD_ROOT
  19. install -dv %{buildroot}/usr/bin
  20. install -dv %{buildroot}/opt
  21. cp -r ../pycharm-community-2016.1.4 %{buildroot}/opt
  22. ln -s /opt/pycharm-community-2016.1.4/bin/pycharm.sh %{buildroot}/usr/bin/pycharm
  23. %post
  24. %postun
  25. %files
  26. %defattr(-,root,root)
  27. /usr/bin/%{name}
  28. /opt/*
  29. %changelog
  30. * Mon Jul 4 2016 Andra Necula <andra.gabr@gmail.com>
  31. -Initial package for installing the pycharm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement