diff --git a/README.md b/README.md index e062a75..7dae1dd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # ninja-ide +Ninja-IDE (from the recursive acronym: "Ninja-IDE Is Not Just Another IDE"), is a cross-platform integrated development environment (IDE). +Ninja-IDE allows developers to create applications for several purposes using all the tools and utilities of NINJA-IDE, making the task of writing software easier and more enjoyable. + diff --git a/ninja-ide.1.gz b/ninja-ide.1.gz new file mode 100644 index 0000000..8d0fcdc Binary files /dev/null and b/ninja-ide.1.gz differ diff --git a/ninja-ide.desktop b/ninja-ide.desktop new file mode 100644 index 0000000..f2b6eb1 --- /dev/null +++ b/ninja-ide.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Exec=ninja-ide +Icon=ninja-ide +Name=Ninja-IDE +GenericName=Python IDE +MimeType=application/x-python;application/x-ninja-ide; diff --git a/ninja-ide.spec b/ninja-ide.spec new file mode 100644 index 0000000..0888d6c --- /dev/null +++ b/ninja-ide.spec @@ -0,0 +1,61 @@ +Name: ninja-ide +Version: 2.3 +Release: 1mamba +Summary: An IDE specially designed for Python Applications Development +Group: Graphical Desktop/Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://ninja-ide.org/ +Source: https://github.com/ninja-ide/ninja-ide/archive/v%{version}.zip +Source1: ninja-ide.desktop +Source2: ninja-ide.1.gz +License: GPL +BuildRequires: libpython-devel +Requires: python >= %python_version +Requires: python-pyinotify +Requires: PyQt4 +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch + +%description +Ninja-IDE (from the recursive acronym: "Ninja-IDE Is Not Just Another IDE"), is a cross-platform integrated development environment (IDE). +Ninja-IDE allows developers to create applications for several purposes using all the tools and utilities of NINJA-IDE, making the task of writing software easier and more enjoyable. + +%prep +%setup -q + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --single-version-externally-managed \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +install -D -m0755 icon.png \ + %{buildroot}%{_datadir}/pixmaps/ninja-ide.png +install -D -m0644 %{S:1} \ + %{buildroot}%{_datadir}/applications/ninja-ide.desktop +install -D -m0644 %{S:2} \ + %{buildroot}%{_mandir}/man1/ninja-ide.1.gz + +find %{buildroot} -name 'pep8mod.py' | xargs chmod 0755 + +%files -f %{name}.filelist +%defattr(-,root,root) +%{_datadir}/pixmaps/*.png +%{_datadir}/applications/*.desktop +%{_mandir}/man?/* +%doc COPYING README.md + +%changelog +* Wed Dec 04 2013 Stefano Cotta Ramusino 2.3-1mamba +- package created using the webbuild interface