Author: wrobell                      Date: Thu Oct 16 19:47:42 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on sphinx-pdg.spec

---- Files affected:
SPECS:
   python-pygments.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-pygments.spec
diff -u /dev/null SPECS/python-pygments.spec:1.1
--- /dev/null   Thu Oct 16 21:47:42 2008
+++ SPECS/python-pygments.spec  Thu Oct 16 21:47:37 2008
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+
+%define module pygments
+Summary:       Generic syntax highlighter
+Name:          python-%{module}
+Version:       0.11.1
+Release:       1
+License:       BSD
+Group:         Development/Languages/Python
+Source0:       
http://pypi.python.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
+# Source0-md5: a7dc555f316437ba5241855ac306209a
+URL:           http://jinja.pocoo.org/1/
+BuildRequires: python-devel
+%pyrequires_eq python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pygments is a generic syntax highlighter for general use in all kinds of
+software such as forum systems, wikis or other applications that need to
+prettify source code. Highlights are
+- a wide range of common languages and markup formats is supported
+- special attention is paid to details that increase highlighting quality
+- support for new languages and formats are added easily; most languages
+  use a simple regex-based lexing mechanism
+- a number of output formats is available, among them HTML, RTF, LaTeX and
+  ANSI sequences
+- it is usable as a command-line tool and as a library
+- ... and it highlights even Brainf*ck!
+
+%prep
+%setup -q -n Pygments-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+               --optimize=2 \
+               --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc PKG-INFO TODO AUTHORS
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/*Pygments*.egg*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/10/16 19:47:37  wrobell
+- based on sphinx-pdg.spec
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to