rpms/perl-Text-VimColor/F-11 perl-Text-VimColor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Apr 24 06:38:54 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-Text-VimColor/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9804

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Text-VimColor.spec 
Log Message:
* Thu Apr 16 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.11-2
- add require and BR



--- NEW FILE perl-Text-VimColor.spec ---
Name:           perl-Text-VimColor
Version:        0.11
Release:        2%{?dist}
Summary:        Syntax color text in HTML or XML using Vim
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Text-VimColor/
Source0:        http://www.cpan.org/authors/id/G/GE/GEOFFR/Text-VimColor-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Path::Class) >= 0.02
BuildRequires:  perl(Test::More)
# needed for test
BuildRequires:  vim-enhanced
BuildRequires:  perl(XML::Parser)
Requires:       vim-enhanced
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:      noarch

%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. It can produce output in the following formats:
  text-vimcolor --format html --filetype prolog foo.pl > foo.html
This program is a command line interface to the Perl module Text::VimColor.

%prep
%setup -q -n Text-VimColor-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc ChangeLog README
%{_bindir}/text-vimcolor
/usr/lib/perl5/vendor_perl/5.10.0/Text
%{_mandir}/man3/*
%{_mandir}/man1/text-vimcolor.1.gz

%changelog
* Thu Apr 16 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.11-2
- add require and BR

* Thu Apr 16 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.11-1
- Specfile autogenerated by cpanspec 1.78.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Text-VimColor/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Apr 2009 16:50:36 -0000	1.1
+++ .cvsignore	24 Apr 2009 06:38:24 -0000	1.2
@@ -0,0 +1 @@
+Text-VimColor-0.11.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Text-VimColor/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Apr 2009 16:50:36 -0000	1.1
+++ sources	24 Apr 2009 06:38:24 -0000	1.2
@@ -0,0 +1 @@
+268fb3f630b463fcec528d798dcf77c3  Text-VimColor-0.11.tar.gz




More information about the Fedora-perl-devel-list mailing list