66 lines
1.8 KiB
RPMSpec
66 lines
1.8 KiB
RPMSpec
|
Name: dreampie
|
||
|
Version: 1.1.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
|
||
|
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 <autodist@mambasoft.it> 1.1.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon May 24 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.0.2-1mamba
|
||
|
- package created by autospec
|