2
# Do NOT Edit the Auto-generated Part!
3
# Generated by: spectacle version 0.18
8
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
10
Summary: RPM Spec file generator and management tool
13
Group: Development/Tools
16
URL: http://meego.gitorious.org/meego-developer-tools
17
Source0: spectacle-%{version}.tar.gz
18
Source100: spectacle.yaml
20
Requires: python-urlgrabber
21
Requires: python-cheetah
22
BuildRequires: python-devel
23
BuildRequires: python-cheetah
24
BuildRoot: %{_tmppath}/%{name}-%{version}-build
28
Tools for managing and creating RPM spec files of MeeGo
35
%setup -q -n %{name}-%{version}
45
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
50
rm -rf $RPM_BUILD_ROOT
54
%{__python} setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
56
%{__python} setup.py install --root=$RPM_BUILD_ROOT -O1
60
make install-data DESTDIR=${RPM_BUILD_ROOT}
69
%defattr(-,root,root,-)
71
%doc README AUTHORS COPYING TODO
73
%dir %{_datadir}/spectacle
74
%{_datadir}/spectacle/*