summaryrefslogtreecommitdiffstats
path: root/dreampie/F-13/dreampie.spec
blob: 6c8cd09891bddd9827c6ed27799ee926b4567a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:		dreampie
Version:	1.0.2
Release:	0.wks.1
BuildArch:  noarch
Summary:	The Python shell you've always dreamed about!

Group:		Development/Libraries
License:	GNU GPL v3
URL:		http://dreampie.sourceforge.net/
Source0:	http://launchpad.net/dreampie/trunk/1.0.2/+download/dreampie-%{version}.tar.gz
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:	python
Requires:	pygtk2
Requires:	pygtksourceview

%description
DreamPie is a Python shell which is designed to be reliable and fun.


%prep
%setup -q


%build
python setup.py build


%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --prefix=$RPM_BUILD_ROOT/usr


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/**
%{python_sitelib}/**
%{_datadir}/**


%changelog
* Mon May 17 2010 Kunshan Wang <wks1986@gmail.com> 1.0.2-0.wks.1
- Initial RPM release