%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') Name: pycharm-community Version: 2016.2.3 Release: 1 Summary: Intelligent Python IDE Group: Applications/Development License: Apache2 URL: http://www.jetbrains.com/pycharm/ Source0: http://download.jetbrains.com/python/%{name}-%{version}.tar.gz #Source1: pycharm.xml #Source2: pycharm.desktop BuildRequires: desktop-file-utils Requires: java Autoreq:no %description The intelligent Python IDE with unique code assistance and analysis, for productive Python development on all levels %prep %setup -q -n pycharm-community-%{version} %install mkdir -p %{buildroot}/opt/ cp -r %{_builddir}/pycharm-community-%{version} %{buildroot}/opt/ %files %defattr(-,root,root) #%%{_bindir}/pycharm /opt/* %changelog * Sat Aug 14 2021 tanyulong -2016.2.3 - initial pycharm-community-2016.2.3