2009-03-15 20:02:52 +00:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Text-VimColor
|
|
|
|
Version: 0.11
|
|
|
|
Release: 0
|
|
|
|
Summary: Perl Module to syntax color Text in HTML or XML using Vim
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/G/GE/GEOFFR/Text-VimColor-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Text-VimColor/
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
|
|
Requires: perl perl-Path-Class
|
|
|
|
Requires: vim vim-data
|
2010-12-05 12:24:56 +00:00
|
|
|
BuildRequires: make perl perl-Path-Class perl-macros
|
2009-03-15 20:02:52 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module tries to markup text files according to their syntax. It can be
|
|
|
|
used to produce web pages with pretty-printed colourful source code samples.
|
|
|
|
|
|
|
|
Note that this package only contains the Perl modules. To use Text::VimColor
|
|
|
|
from the command-line, install the additional package "text-vimcolor".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Geoff Richards <qef@laxan.com>
|
|
|
|
|
|
|
|
%package -n text-vimcolor
|
|
|
|
Summary: Syntax Color Text in HTML or XML using Vim
|
|
|
|
Group: Development/Tools/Doc Generators
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n text-vimcolor
|
|
|
|
The text-vimcolor command-line program tries to markup text files according to
|
|
|
|
their syntax. It can be used to produce web pages with pretty-printed
|
|
|
|
colourful source code samples.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Geoff Richards <qef@laxan.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Text-VimColor-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog README
|
|
|
|
%dir %{perl_vendorlib}/Text
|
|
|
|
%{perl_vendorlib}/Text/VimColor
|
|
|
|
%{perl_vendorlib}/Text/VimColor.pm
|
|
|
|
%dir %{perl_vendorarch}/auto/Text
|
|
|
|
%{perl_vendorarch}/auto/Text/VimColor
|
|
|
|
%doc %{perl_man3dir}/Text::VimColor.%{perl_man3ext}*
|
|
|
|
|
|
|
|
%files -n text-vimcolor
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/text-vimcolor
|
|
|
|
%doc %{_mandir}/man1/text-vimcolor.1*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sun Mar 15 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.11
|
|
|
|
- new package
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# mode: rpm-spec
|
|
|
|
# tab-width: 3
|
|
|
|
# End:
|