From 5a24f11b1ec27ca3d783638893f1612b4a1d71a1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:57:45 +0100 Subject: [PATCH] update to 1.2.1 [release 1.2.1-1mamba;Wed Feb 10 2021] --- README.md | 2 +- dreampie.spec | 50 ++++++++++++++++++++------------------------------ 2 files changed, 21 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index c2042ef..924482a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # dreampie -DreamPie is the interactive Python shell you've always dreamed about!. +DreamPie is an interactive Python shell. diff --git a/dreampie.spec b/dreampie.spec index a281614..07678e8 100644 --- a/dreampie.spec +++ b/dreampie.spec @@ -1,63 +1,53 @@ Name: dreampie -Version: 1.1.1 +Version: 1.2.1 Release: 1mamba Summary: An interactive Python shell Group: Applications/Shells Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino -URL: http://dreampie.sourceforge.net/ -Source: http://launchpad.net/dreampie/trunk/%{version}/+download/dreampie-%{version}.tar.gz +Packager: Silvan Calarco +URL: http://www.dreampie.org/ +Source: https://pypi.debian.net/dreampie/dreampie-%{version}.tar.gz License: GPL -Requires: python >= %python_version +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython27-devel +## AUTOBUILDREQ-END +Requires: python27 Requires: pygtksourceview Requires: pygtk -## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel -BuildRequires: python -## AUTOBUILDREQ-END BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -DreamPie is the interactive Python shell you've always dreamed about!. +DreamPie is an interactive Python shell. %prep %setup -q %build -%{__python} setup.py build +%{__python27} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ +%{__python27} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{_includedir}/python%{python_version} \ - --install-lib=%{python_sitearch} -# --record=%{name}.filelist + --install-headers=%{python27_inc} \ + --install-lib=%{python27_sitearch} \ + --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -#-f %{name}.filelist +%files -f %{name}.filelist %defattr(-,root,root) -%{_bindir}/dreampie -%dir %{python_sitearch}/dreampielib -%{python_sitearch}/dreampielib/* -%{python_sitearch}/dreampie-%{version}-py%{python_version}.egg-info -%dir %{_datadir}/dreampie -%{_datadir}/dreampie/* -%{_datadir}/applications/dreampie.desktop -%{_datadir}/pixmaps/dreampie.png -%{_datadir}/pixmaps/dreampie.svg -%{_mandir}/man1/dreampie.1.gz -%doc COPYING README +%doc COPYING %changelog +* Wed Feb 10 2021 Silvan Calarco 1.2.1-1mamba +- update to 1.2.1 + * Wed Jun 12 2013 Automatic Build System 1.1.1-1mamba - automatic version update by autodist