update to 1.2.1 [release 1.2.1-1mamba;Wed Feb 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:57:45 +01:00
parent f1a0673e11
commit 5a24f11b1e
2 changed files with 21 additions and 31 deletions

View File

@ -1,4 +1,4 @@
# dreampie
DreamPie is the interactive Python shell you've always dreamed about!.
DreamPie is an interactive Python shell.

View File

@ -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 <stefano.cotta@openmamba.org>
URL: http://dreampie.sourceforge.net/
Source: http://launchpad.net/dreampie/trunk/%{version}/+download/dreampie-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Wed Jun 12 2013 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist