# # spec file for package perl-Perl6-Junction # # norootforbuild Name: perl-Perl6-Junction %define cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} ) Summary: Perl6 style Junction operators in Perl5 Url: http://search.cpan.org/perldoc?Perl6::Junction Group: Development/Libraries/Perl License: Artistic License Version: 1.40000 Release: 1 Source: %{cpan_name}-%{version}.tar.bz2 BuildRequires: perl-macros %{perl_requires} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is a lightweight module which provides 'Junction' operators, the most commonly used being any and all. Inspired by the Perl6 design docs, http://dev.perl.org/perl6/doc/design/exe/E06.html. Provides a limited subset of the functionality of Quantum::Superpositions, see "SEE ALSO" for comment. Author: ------- Carl Franks %prep %setup -n %{cpan_name}-%{version} sed -i "s| ||g" Changes %build perl Makefile.PL make %{?jobs:-j%jobs} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean rm -rf %{buildroot} %files -f %{name}.files %defattr(-, root, root) %doc Changes README MANIFEST %changelog