diff --git a/.cvsignore b/.cvsignore index e69de29..952edf1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Tempita-0.2.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..1e781a9 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-tempita-0_2-1_fc9:HEAD:python-tempita-0.2-1.fc9.src.rpm:1213758554 diff --git a/python-tempita.spec b/python-tempita.spec new file mode 100644 index 0000000..95ea44d --- /dev/null +++ b/python-tempita.spec @@ -0,0 +1,51 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-tempita +Version: 0.2 +Release: 1%{?dist} +Summary: A very small text templating language + +Group: Development/Languages +License: MIT +URL: http://pythonpaste.org/tempita/ +Source0: http://pypi.python.org/packages/source/T/Tempita/Tempita-0.2.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildArch: noarch +BuildRequires: python-devel +%if 0%{?fedora} >= 8 +BuildRequires: python-setuptools-devel +%else +BuildRequires: python-setuptools +%endif + +%description +Tempita is a small templating language for text substitution. + +%prep +%setup -q -n Tempita-%{version} + + +%build +%{__python} setup.py build + + +%install +%{__rm} -rf %{buildroot} +%{__python} setup.py install --skip-build --root %{buildroot} + + +%clean +%{__rm} -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc docs/* +%{python_sitelib}/tempita +%{python_sitelib}/*.egg-info + + +%changelog +* Sat Jun 14 2008 Ricky Zhou - 0.2-1 +- Initial RPM Package. diff --git a/sources b/sources index e69de29..2f3cf21 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9097cf47905489af1f16b5a2d8025369 Tempita-0.2.tar.gz