commit ninja-ide for openSUSE:Factory
Hello community, here is the log from the commit of package ninja-ide for openSUSE:Factory checked in at 2014-11-24 11:13:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ninja-ide (Old) and /work/SRC/openSUSE:Factory/.ninja-ide.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ninja-ide" Changes: -------- --- /work/SRC/openSUSE:Factory/ninja-ide/ninja-ide.changes 2013-10-24 19:09:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ninja-ide.new/ninja-ide.changes 2014-11-24 11:13:43.000000000 +0100 @@ -1,0 +2,13 @@ +Thu Nov 20 16:24:38 UTC 2014 - toddrme2178@gmail.com + +- Include .rpmlinc file in sources. +- Provide url for source file verification. +- Switch to .desktop file included in the package. + +------------------------------------------------------------------- +Thu Nov 20 11:04:53 UTC 2014 - toddrme2178@gmail.com + +- Require python-setuptools since the main package depends on it. +- Spec file cleanups + +------------------------------------------------------------------- Old: ---- ninja-ide-2.3.zip ninja-ide.desktop New: ---- v2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ninja-ide.spec ++++++ --- /var/tmp/diff_new_pack.R0snTu/_old 2014-11-24 11:13:44.000000000 +0100 +++ /var/tmp/diff_new_pack.R0snTu/_new 2014-11-24 11:13:44.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ninja-ide # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -13,11 +13,8 @@ # 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 -%{!?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 @@ -26,9 +23,9 @@ 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 +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 @@ -39,22 +36,14 @@ BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: zlib-devel -%if 0%{?suse_version} > 1230 BuildRequires: python-setuptools -%endif Requires: python-pyinotify Requires: python-qt4 -%if 0%{?sles_version} == 11 -%ifarch x86_64 -BuildArch: x86_64 -%endif -%endif -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} >= 1140 +%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 -%endif %description Features: @@ -75,28 +64,27 @@ %setup -q #-n ninja-ide %build -%{__python} setup.py 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 +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 %{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}/ +cp %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1.gz + +python setup.py install -O1 --skip-build --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 +%{_datadir}/applications/*.desktop +%{_datadir}/pixmaps/*.png %{python_sitelib}/* %{_mandir}/man1/%{name}.1.* -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de