Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > a45db0f17a84c39708fc407518f54b38 > files > 7

perl-Text-Smart-1.0.2-7.fc15.noarch.rpm

# Automatically generated by Text-Smart.spec.PL

%define appname Text-Smart

Summary: Text::Smart - Simple text markup processor
Name: perl-%{appname}
Version: 1.0.2
Release: 1
License: GPLv2+
Group: Applications/Internet
Source0:        http://www.cpan.org/modules/by-module/Text/%{appname}-%{version}.tar.gz
URL:            http://search.cpan.org/dist/%{appname}/
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArchitectures: noarch
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires:  perl(Test::More)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)

%description
Text::Smart provides a module for simple inline text
markup processing.

%prep
%setup -q -n %{appname}-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%__make


%install
%__rm -rf $RPM_BUILD_ROOT
%__make install \
  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name perllocal.pod -exec rm -f {} \;
find $RPM_BUILD_ROOT -name .packlist -exec rm -f {} \;

%check
%__make test

%clean
%__rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root)
%doc AUTHORS LICENSE README
%doc examples/*
%attr (0755,root,root) %{_bindir}/text-smart
%{_mandir}/man1/*
%{_mandir}/man3/*
%{perl_vendorlib}/Text/Smart.pm
%dir %{perl_vendorlib}/Text/Smart/
%{perl_vendorlib}/Text/Smart/HTML.pm