File python-htmlcalendar.spec of Package python-htmlcalendar

#norootforbuild
#
%define real_name HTMLCalendar
#
#HTMLCalendar-1.1.1.tar.gz
Name:           python-htmlcalendar
Group:          Development/Libraries/Python
Version:        1.1.1
Release:        1
License:        LGPL
Summary:        HTMLCalendar generates calendars in HTML format with optional links.
Autoreqprov:    on
Source:         %{real_name}-%{version}.tar.gz
BuildRoot:%{_tmppath}/%{name}-%{version}-build

BuildRequires:  python-setuptools
Requires:       python-htmltemplate
Url:            http://py-templates.sourceforge.net/htmlcalendar/index.html
Packager:       Ciaran Farrell <cfarrell1980@googlemail.com>
%{py_requires}


%description
HTMLCalendar generates one- and twelve-month calendars in HTML format with optional links.
%prep
%setup -n %{real_name}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)



%changelog
* Thu Dec 04 2008 - cfarrell
- Initial import and build
openSUSE Build Service is sponsored by