kaaedit / kaa

kaa - console text editor
130 stars 20 forks source link

RPM Packaging #132

Open williamjmorenor opened 9 years ago

williamjmorenor commented 9 years ago

Hi

I am traying to package kaaedit but I see it is installing apps in

/usr/lib64/python3.4/site-packages/

And python3 in fedora in under

/usr/lib/python3.4/site-packages/

This can be fixed? If I will package the app if not I will no be able to package it

williamjmorenor commented 9 years ago

This is the spec file

Name: kaaedit Version: 0.44.0 Release: 1%{?dist} Summary: Console text editor

License: MIT URL: https://github.com/kaaedit/kaa Source0: https://pypi.python.org/packages/source/k/%{name}/%{name}-%{version}.tar.gz

BuildArch: noarch

BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: ncurses-devel

%description Kaa is a small and easy CUI text editor for console/terminal emulator environments.

%prep %setup -q -n %{name}-%{version}

Remove egg.info

rm -rf %{name}.egg.info

%build %{__python3} setup.py build --quiet

%install %{__python3} setup.py install --skip-build --root %{buildroot}

%check %{__python3} setup.py test

%files %doc README.rst README-JA.rst
%{_bindir}/* %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-%{version}-py?.?.egg-info

%changelog

atsuoishimoto commented 9 years ago

I don't have Fedora box to try handy, but I guess options for setup.py like

python3 setup.py install --install-lib=/usr/lib/python3.4/site-packages/

might works.

williamjmorenor commented 8 years ago

OK

The rpm packaging is almost ready, but looks like %%chech is faling with python3.5

Full build log is here:

https://kojipkgs.fedoraproject.org//work/tasks/5877/11925877/build.log