rpms/perl-Syntax-Highlight-Engine-Kate/F-11 perl-Syntax-Highlight-Engine-Kate.spec, NONE, 1.1

Marcela Mašláňová mmaslano at fedoraproject.org
Mon May 18 06:03:32 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/perl-Syntax-Highlight-Engine-Kate/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13905

Added Files:
	perl-Syntax-Highlight-Engine-Kate.spec 
Log Message:
* Tue May  5 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.04-4
- add BR



--- NEW FILE perl-Syntax-Highlight-Engine-Kate.spec ---
Name:           perl-Syntax-Highlight-Engine-Kate
Version:        0.04
Release:        4%{?dist}
Summary:        Port to Perl of the syntax highlight engine of the Kate texteditor
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Syntax-Highlight-Engine-Kate/
Source0:        http://www.cpan.org/authors/id/H/HA/HANJE/Syntax-Highlight-Engine-Kate-%{version}.tar.gz
# http://rt.cpan.org/Public/Bug/Display.html?id=45512
Patch0:         Syntax-Highlight-Engine-Kate-0.04-notdefined.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Syntax::Highlight::Engine::Kate is a port to perl of the syntax highlight
engine of the Kate text editor.

%prep
%setup -q -n Syntax-Highlight-Engine-Kate-%{version}
%patch0 -p1

rm -rf lib/Syntax/Highlight/Engine/Kate/Alerts
find -type f -exec chmod -x {} \;

%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 OPTIMIZE="$RPM_OPT_FLAGS"

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

%{_fixperms} $RPM_BUILD_ROOT/*
chmod 644 Changes
chmod 644 REGISTERED

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README REGISTERED
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Tue May  5 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.04-4
- add BR

* Mon May  4 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.04-3
- noarch, remove doubled Alerts

* Wed Apr 23 2009 Marcela Mašláňová <mmaslano at redhat.com> 0.04-2
- generate again new spec

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




More information about the scm-commits mailing list