]> git.pld-linux.org Git - packages/python-Tempita.git/blob - python-Tempita.spec
563eafa00172807a21fcabe7fee253150b054110
[packages/python-Tempita.git] / python-Tempita.spec
1 %define         module  Tempita
2 Summary:        A very small text templating language
3 Summary(pl.UTF-8):      -
4 Name:           python-%{module}
5 Version:        0.4
6 Release:        0.2
7 License:        MIT
8 Group:          Development/Languages/Python
9 Source0:        http://pypi.python.org/packages/source/T/Tempita/%{module}-%{version}.tar.gz
10 # Source0-md5:  0abe015a72e748d0c6284679a497426c
11 URL:            http://pythonpaste.org/tempita/
12 BuildRequires:  python-devel
13 BuildRequires:  python-setuptools
14 BuildRequires:  rpm-pythonprov
15 # if py_postclean is used
16 BuildRequires:  rpmbuild(macros) >= 1.219
17 #Requires:              python-libs
18 Requires:       python-modules
19 #BuildArch:     noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 A very small text templating language.
24
25 %description -l pl.UTF-8
26
27 %prep
28 %setup -q -n %{module}-%{version}
29
30 %build
31 # CFLAGS is only for arch packages - remove on noarch packages
32 %py_build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %py_install
37
38 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
39 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
40 %py_postclean
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc docs
48 %dir %{py_sitescriptdir}/tempita
49 %{py_sitescriptdir}/tempita/*.py[co]
50 %if "%{py_ver}" > "2.4"
51 %{py_sitescriptdir}/%{module}-*.egg-info
52 %endif
This page took 0.059565 seconds and 2 git commands to generate.