rpms/python-cheetah/devel python-cheetah.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Mike Bonnet (mikeb) fedora-extras-commits at redhat.com
Fri Feb 3 15:53:57 UTC 2006


Author: mikeb

Update of /cvs/extras/rpms/python-cheetah/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18486/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-cheetah.spec 
Log Message:
auto-import python-cheetah-1.0-1 on branch devel from python-cheetah-1.0-1.src.rpm


--- NEW FILE python-cheetah.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=True)")}

Name:           python-cheetah
Version:        1.0
Release:        1%{?dist}
Summary:        Template engine and code-generator

Group:          Development/Libraries
License:        MIT
URL:            http://sourceforge.net/projects/cheetahtemplate
Source0:        http://download.sourceforge.net/cheetahtemplate/Cheetah-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python
BuildRequires:  python-devel

Requires:       python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")

%description
Cheetah is a Python-powered template engine and code-generator.
It is similar to the Jakarta project's Velocity.

%prep
%setup -q -n Cheetah-%{version}

%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE README TODO

%{_bindir}/cheetah
%{_bindir}/cheetah-compile

%dir %{python_sitelib}/Cheetah
%{python_sitelib}/Cheetah/*.py
%{python_sitelib}/Cheetah/*.pyc
%{python_sitelib}/Cheetah/_namemapper.so
%ghost %{python_sitelib}/Cheetah/*.pyo

%dir %{python_sitelib}/Cheetah/Templates
%{python_sitelib}/Cheetah/Templates/*.py
%{python_sitelib}/Cheetah/Templates/*.pyc
%{python_sitelib}/Cheetah/Templates/*.tmpl
%ghost %{python_sitelib}/Cheetah/Templates/*.pyo

%dir %{python_sitelib}/Cheetah/Tests
%{python_sitelib}/Cheetah/Tests/*.py
%{python_sitelib}/Cheetah/Tests/*.pyc
%ghost %{python_sitelib}/Cheetah/Tests/*.pyo

%dir %{python_sitelib}/Cheetah/Tools
%{python_sitelib}/Cheetah/Tools/*.py
%{python_sitelib}/Cheetah/Tools/*.pyc
%{python_sitelib}/Cheetah/Tools/*.txt
%ghost %{python_sitelib}/Cheetah/Tools/*.pyo

%dir %{python_sitelib}/Cheetah/Utils
%{python_sitelib}/Cheetah/Utils/*.py
%{python_sitelib}/Cheetah/Utils/*.pyc
%ghost %{python_sitelib}/Cheetah/Utils/*.pyo

%dir %{python_sitelib}/Cheetah/Utils/optik
%{python_sitelib}/Cheetah/Utils/optik/*.py
%{python_sitelib}/Cheetah/Utils/optik/*.pyc
%ghost %{python_sitelib}/Cheetah/Utils/optik/*.pyo

%changelog
* Wed Dec  7 2005 Mike Bonnet <mikeb at redhat.com> - 1.0-1
- Initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-cheetah/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Feb 2006 15:53:25 -0000	1.1
+++ .cvsignore	3 Feb 2006 15:53:56 -0000	1.2
@@ -0,0 +1 @@
+Cheetah-1.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-cheetah/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Feb 2006 15:53:25 -0000	1.1
+++ sources	3 Feb 2006 15:53:56 -0000	1.2
@@ -0,0 +1 @@
+aaa4907b8877093b9bb11e6cea6b029b  Cheetah-1.0.tar.gz




More information about the fedora-extras-commits mailing list