Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
ninja-ide
ninja-ide.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ninja-ide.spec of Package ninja-ide
# # spec file for package ninja-ide # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ #https://codeload.github.com/ninja-ide/ninja-ide/zip/v2.3 Name: ninja-ide Version: 2.3 Release: 0 Url: http://www.ninja-ide.org Summary: Ninja IDE for Python development License: GPL-3.0 Group: Development/Languages/Python Source0: https://github.com/ninja-ide/ninja-ide/archive/v%{version}.tar.gz Source1: %{name}.1.gz Source99: %{name}.rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-pyinotify BuildRequires: python-qt4-devel BuildRequires: python-setuptools BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: zlib-devel Requires: python-setuptools Requires: python-pyinotify Requires: python-qt4 %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description Features: - Every common functionality of a typical IDE supported: - Project Management. - Automatic Indentation. - Code Folding. - Brace matching. - The System for Syntax Highlighting in NINJA-IDE is really easy to extend, just write a json file with the keywords, etc. - Code Locator and Code Navigation supported. - Allow to execute Python programs and render HTML files just pressing Ctrl+F6. - Code Completion supported! - Follow Mode and Split supported. - And many more... Stay up to date for more features! %prep %setup -q #-n ninja-ide %build python setup.py build %install desktop-file-install --dir %{buildroot}%{_datadir}/applications build_files/ninja-ide-git.desktop install -d %{buildroot}%{_datadir}/pixmaps/ cp icon.png %{buildroot}%{_datadir}/pixmaps/ninja-ide.png mkdir -p %{buildroot}%{_mandir}/man1 cp %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1.gz python setup.py install -O1 --skip-build --prefix=%{_prefix} --root=%{buildroot} %suse_update_desktop_file -i ninja-ide-git Development IDE %fdupes %{buildroot}%{python_sitelib} find %{buildroot} -name 'pep8mod.py' | xargs chmod 0755 %files %defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/*.png %{python_sitelib}/NINJA_IDE-%{version}-py*.egg-info %{python_sitelib}/ninja_ide %{python_sitelib}/ninja_tests %{_mandir}/man1/%{name}.1.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor