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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Dec 22 02:18:34 2008 UTC (11 months ago) by smilner
Branch: MAIN
CVS Tags: python-pygments-1_0-3_fc9, HEAD
Changes since 1.7: +8 -2 lines
Update for 1.0.
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: 1.0
5 Release: 3%{?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 * Sun Dec 21 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.0-3
57 - Updated for release.
58
59 * Fri Nov 27 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.0-1
60 - Updated for upstream 1.0.
61
62 * Sun Sep 14 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.11.1-1
63 - Updated for upstream 0.11.
64
65 * Mon Jul 21 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.10-1
66 - Updated for upstream 0.10.
67
68 * Thu Nov 29 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.9-2
69 - Added python-setuptools as a Requires per bz#403601.
70
71 * Mon Nov 12 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.9-1
72 - Updated for upstream 0.9.
73
74 * Thu Aug 17 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.8.1-2
75 - Removed the dos2unix build dependency.
76
77 * Thu Jun 28 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 0.8.1-1
78 - Initial packaging for Fedora.

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2