rpms/perl-Text-VimColor/devel perl-Text-VimColor.spec,NONE,1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: mmaslano

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

Added Files:
	perl-Text-VimColor.spec 
Log Message:
Add initial spec.



--- 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@xxxxxxxxxx> 0.11-2
- add require and BR

* Thu Apr 16 2009 Marcela MaÅ¡láÅ?ová <mmaslano@xxxxxxxxxx> 0.11-1
- Specfile autogenerated by cpanspec 1.78.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux