rpms/perl-Affix-Infix2Postfix/EL-4 perl-Affix-Infix2Postfix.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri May 18 23:38:29 UTC 2007


Author: steve

Update of /cvs/pkgs/rpms/perl-Affix-Infix2Postfix/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7615

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Affix-Infix2Postfix.spec 
Log Message:
Import from devel branch.


--- NEW FILE perl-Affix-Infix2Postfix.spec ---
Name:           perl-Affix-Infix2Postfix
Version:        0.03
Release:        1%{?dist}
Summary:        Perl extension for converting from infix notation to postfix notation
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Affix-Infix2Postfix/
Source0:        http://www.cpan.org/authors/id/A/AD/ADDI/Affix-Infix2Postfix-%{version}.tar.gz
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
Infix2Postfix as the name suggests converts from infix to postfix notation.
The reason why someone would like to do this is that postfix notation is
generally much easier to do in computers. For example take an expression
like: a+b+c*d. For us humans it's pretty easy to do that calculation. But
it's actually much better for computers to get a string of operations such
as: a b + c d * +, where the variable names mean put variable on stack.

%prep
%setup -q -n Affix-Infix2Postfix-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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 -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 Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Apr 02 2007 Steven Pritchard <steve at kspei.com> 0.03-1
- Specfile autogenerated by cpanspec 1.70.
- Fix License.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Affix-Infix2Postfix/EL-4/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 May 2007 21:45:12 -0000	1.1
+++ .cvsignore	18 May 2007 23:37:54 -0000	1.2
@@ -0,0 +1 @@
+Affix-Infix2Postfix-0.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Affix-Infix2Postfix/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 May 2007 21:45:12 -0000	1.1
+++ sources	18 May 2007 23:37:54 -0000	1.2
@@ -0,0 +1 @@
+93cde6953a95a52a08cbfde1260c3436  Affix-Infix2Postfix-0.03.tar.gz




More information about the fedora-extras-commits mailing list