rpms/python-pygments/F-7 python-pygments.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steve Milner (smilner) fedora-extras-commits at redhat.com
Sun Jul 22 23:31:51 UTC 2007


Author: smilner

Update of /cvs/pkgs/rpms/python-pygments/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24888/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	python-pygments.spec 
Log Message:
import to F7 branch


--- NEW FILE python-pygments.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-pygments
Version:        0.8.1
Release:        1%{?dist}
Summary:        A syntax highlighting engine written in Python

Group:          Development/Libraries
License:        BSD
URL:            http://pygments.org/
Source0:        http://cheeseshop.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel, python-setuptools, dos2unix


%description
Pygments is a syntax highlighting engine written in Python. That means, it 
will take source code (or other markup) in a supported language and output 
a processed version (in different formats) containing syntax highlighting 
markup.


%prep
%setup -q -n Pygments-%{version}


%build
%{__python} setup.py build
dos2unix LICENSE


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
mv docs/pygmentize.1 $RPM_BUILD_ROOT%{_mandir}/man1/pygmentize.1


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES docs/ LICENSE TODO 
# For noarch packages: sitelib
%{python_sitelib}/*
%{_bindir}/pygmentize
%lang(en) %{_mandir}/man1/pygmentize.1.gz


%changelog
* Thu Jun 28 2007 Steve 'Ashcrow' Milner <me at stevemilner.org> - 0.8.1-1
- Initial packaging for Fedora.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-pygments/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Jul 2007 04:27:45 -0000	1.1
+++ .cvsignore	22 Jul 2007 23:31:18 -0000	1.2
@@ -0,0 +1 @@
+Pygments-0.8.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-pygments/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Jul 2007 04:27:45 -0000	1.1
+++ sources	22 Jul 2007 23:31:18 -0000	1.2
@@ -0,0 +1 @@
+f71971cbe9db538a40ea808ac5da3dc0  Pygments-0.8.1.tar.gz




More information about the scm-commits mailing list