File trac-iniadmin.spec of Package trac-iniadmin

%define svnrev  4429
Name:           trac-iniadmin
Version:        ###
Release:        1
Summary:        ###

Group:          Development/Libraries
License:        BSD
URL:            http://trac.edgewall.org/wiki/WebAdmin
# Source comes from SVN right now: svn co -r %{svnrev} http://svn.edgewall.com/repos/trac/sandbox/webadmin/
Source0:        TracIniAdmin-%{version}dev-r%{svnrev}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools
Requires:       trac < 0.11 
Requires:       python-setuptools

%description

%prep
%setup -n TracIniAdmin-%{version}dev-r%{svnrev} -q


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES

 
%clean
rm -rf $RPM_BUILD_ROOT


%files -f INSTALLED_FILES
%defattr(-,root,root,-)
#%doc COPYING README


%changelog
* Mon Jan 21 2008 Gerrit Beine <gerrit.beine@googlemail.com>
- Initial build