Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
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) 2013 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/ # %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} 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: %{name}-%{version}.zip Source1: ninja-ide.desktop Source2: %{name}.1.gz BuildRoot: %{_tmppath}/%{name}-build BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: update-desktop-files BuildRequires: desktop-file-utils BuildRequires: python-pyinotify BuildRequires: python-qt4-devel BuildRequires: fdupes BuildRequires: unzip BuildRequires: zlib-devel %if 0%{?suse_version} > 1230 BuildRequires: python-setuptools %endif Requires: python-qt4 Requires: python-pyinotify %if 0%{?sles_version} == 11 %ifarch x86_64 BuildArch: x86_64 %endif %endif %if 0%{?suse_version} %py_requires %if 0%{?suse_version} >= 1140 BuildArch: noarch %endif %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 %{SOURCE1} %{__install} -d %{buildroot}%{_datadir}/pixmaps/ %{__cp} icon.png %{buildroot}%{_datadir}/pixmaps/ninja-ide.png mkdir -p %{buildroot}%{_mandir}/man1 cp %{SOURCE2} %{buildroot}%{_mandir}/man1/%{name}.1.gz %if 0%{?suse_version} < 1230 %{__python} setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix} %else %{__python} setup.py install -O1 --skip-build --root %{buildroot} %endif %suse_update_desktop_file -i ninja-ide 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}/* %{_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