Group :: Development/Python
RPM: python-module-em
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 3.3
%define release alt1
%setup_python_module em
%define pname empy
Name: %{packagename}
Version: %{version}
Release: %{release}
License: LGPL
Source0: http://www.alcyone.com/software/%pname/%pname-latest.tar.gz
Url: http://www.alcyone.com/software/empy
Summary: A templating system for Python
Summary(ru_RU.KOI8-R): Система шаблонов для Python
Group: Development/Python
BuildArchitectures: noarch
Vendor: Erik Max Francis <software at alcyone.com>
%description
EmPy is a system for embedding Python expressions and statements
in template text; it takes an EmPy source file, processes it, and
produces output. This is accomplished via expansions, which are
special signals to the EmPy system and are set off by a special
prefix (by default the at sign, ' at '). EmPy can expand arbitrary
Python expressions and statements in this way, as well as a
variety of special forms. Textual data not explicitly delimited
in this way is sent unaffected to the output, allowing Python to
be used in effect as a markup language. Also supported are "hook"
callbacks, recording and playback via diversions, and dynamic,
chainable filters. The system is highly configurable via command
line options and embedded commands
#----------------------------------------------------------------------
# Prepare, Building & Install
#----------------------------------------------------------------------
%prep
%setup -n %pname-%version
#*%patch1 -p1
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc
%doc sample* test.sh
%changelog
…
Full changelog you can see here
%define release alt1
%setup_python_module em
%define pname empy
Name: %{packagename}
Version: %{version}
Release: %{release}
License: LGPL
Source0: http://www.alcyone.com/software/%pname/%pname-latest.tar.gz
Url: http://www.alcyone.com/software/empy
Summary: A templating system for Python
Summary(ru_RU.KOI8-R): Система шаблонов для Python
Group: Development/Python
BuildArchitectures: noarch
Vendor: Erik Max Francis <software at alcyone.com>
%description
EmPy is a system for embedding Python expressions and statements
in template text; it takes an EmPy source file, processes it, and
produces output. This is accomplished via expansions, which are
special signals to the EmPy system and are set off by a special
prefix (by default the at sign, ' at '). EmPy can expand arbitrary
Python expressions and statements in this way, as well as a
variety of special forms. Textual data not explicitly delimited
in this way is sent unaffected to the output, allowing Python to
be used in effect as a markup language. Also supported are "hook"
callbacks, recording and playback via diversions, and dynamic,
chainable filters. The system is highly configurable via command
line options and embedded commands
#----------------------------------------------------------------------
# Prepare, Building & Install
#----------------------------------------------------------------------
%prep
%setup -n %pname-%version
#*%patch1 -p1
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc
%doc sample* test.sh
%changelog
…
Full changelog you can see here