]> git.pld-linux.org Git - SPECS.git/blob - python-textile.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-textile.spec
1
2 %define         module  textile
3
4 Summary:        Humane Web Text Generator
5 Summary(pl.UTF-8):      Konwerter czystego tekstu do HTML
6 Name:           python-%{module}
7 Version:        2.1.5
8 Release:        2
9 License:        GNU
10 Group:          Development/Languages/Python
11 Source0:        http://pypi.python.org/packages/source/t/textile/%{module}-%{version}.tar.gz
12 # Source0-md5:  6e030e112eca1dafa1be84cf5575560d
13 URL:            http://pypi.python.org/pypi/textile
14 BuildRequires:  rpmbuild(macros) >= 1.710
15 %pyrequires_eq  python-modules
16 BuildRequires:  python-devel >= 1:2.3
17 BuildRequires:  python-modules
18 BuildRequires:  rpm-pythonprov
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 PyTextile is a Python port of Textile, Dean Allen's Humane Web Text
24 Generator. It's main purpose is to convert plain text to HTML using
25 popular markup (ie. _something_ means underline, *something* means
26 emphasis etc.)
27
28 %description -l pl.UTF-8
29 PyTextile jest przepisaną do Pythona wersją programu Textile. Służy on
30 do konwersji czystego tekstu do formatu HTML, wykorzystując do tego
31 popularne znaczniki (np. _coś_ oznacza podkreślenie, *coś*
32 wytłuszczenie itp.)
33
34 %prep
35 %setup -q -n %{module}-%{version}
36
37 %build
38 %py_build
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
43
44 %py_install
45 %py_postclean
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %{py_sitescriptdir}/%{module}
53 %if "%{py_ver}" > "2.4"
54 %{py_sitescriptdir}/%{module}-*.egg-info
55 %endif
This page took 0.037039 seconds and 3 git commands to generate.