diff --git a/README.md b/README.md index 13f2e14..c2042ef 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # dreampie +DreamPie is the interactive Python shell you've always dreamed about!. + diff --git a/dreampie.spec b/dreampie.spec new file mode 100644 index 0000000..a281614 --- /dev/null +++ b/dreampie.spec @@ -0,0 +1,65 @@ +Name: dreampie +Version: 1.1.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 +License: GPL +Requires: python >= %python_version +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!. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python%{python_version} \ + --install-lib=%{python_sitearch} +# --record=%{name}.filelist + +#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%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 + +%changelog +* Wed Jun 12 2013 Automatic Build System 1.1.1-1mamba +- automatic version update by autodist + +* Mon May 24 2010 Stefano Cotta Ramusino 1.0.2-1mamba +- package created by autospec