/[pkgs]/rpms/python-pygments/F-7/python-pygments.spec
ViewVC logotype

Contents of /rpms/python-pygments/F-7/python-pygments.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Nov 29 14:29:48 2007 UTC (23 months, 3 weeks ago) by smilner
Branch: MAIN
CVS Tags: python-pygments-0_9-2_fc7, HEAD
Changes since 1.3: +5 -1 lines
updated changelog and release as well as Requires
1 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3 Name: python-pygments
4 Version: 0.9
5 Release: 2%{?dist}
6 Summary: A syntax highlighting engine written in Python
7
8 Group: Development/Libraries
9 License: BSD
10 URL: http://pygments.org/
11 Source0: http://cheeseshop.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 BuildArch: noarch
15 BuildRequires: python-devel, python-setuptools
16 Requires: python-setuptools
17
18
19 %description
20 Pygments is a syntax highlighting engine written in Python. That means, it
21 will take source code (or other markup) in a supported language and output
22 a processed version (in different formats) containing syntax highlighting
23 markup.
24
25
26 %prep
27 %setup -q -n Pygments-%{version}
28
29
30 %build
31 %{__python} setup.py build
32 %{__sed} -i 's/\r//' LICENSE
33
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
38 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
39 mv docs/pygmentize.1 $RPM_BUILD_ROOT%{_mandir}/man1/pygmentize.1
40
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45
46 %files
47 %defattr(-,root,root,-)
48 %doc AUTHORS CHANGES docs/ LICENSE TODO
49 # For noarch packages: sitelib
50 %{python_sitelib}/*
51 %{_bindir}/pygmentize
52 %lang(en) %{_mandir}/man1/pygmentize.1.gz
53
54
55 %changelog
56 * Thu Nov 29 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.9-2
57 - Added python-setuptools as a Requires per bz#403601.
58
59 * Mon Nov 12 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.9-1
60 - Updated for upstream 0.9.
61
62 * Thu Aug 17 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.8.1-2
63 - Removed the dos2unix build dependency.
64
65 * Thu Jun 28 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.8.1-1
66 - Initial packaging for Fedora.

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2