File perl-Quantum-Superpositions.spec of Package perl-Quantum-Superpositions

# spec file for package perl-Quantum-Superpositions (Version 2.02)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-Quantum-Superpositions
BuildRequires:  perl-Class-Multimethods
Version:        2.02
Release:        257
Requires:       perl-Class-Multimethods
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Qm-like superpositions for Perl

The Quantum::Superpositions module provides a new scalar data
structure: the superposition. In a metaphor drawn from quantum
mechanics, superpositions store a collection of values by overlaying
them in parallel superimposed states within a single scalar variable.

    Damian Conway <>

%setup -n Quantum-Superpositions-%{version}

for f in `find . -type f -exec grep -l /usr/local/bin/perl \{\} \;` ; do
    rm -f tmp
    sed -e "s:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:g" $f > tmp
    mv -f tmp $f
perl Makefile.PL
make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor
chmod 644 Changes $RPM_BUILD_ROOT%{perl_vendorlib}/Quantum/


%defattr(-, root, root)
%doc Changes demo
%doc %{_mandir}/man?/*

* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004
- build as user
* Fri Aug 22 2003
- require the perl version we build with
* Thu Jul 24 2003
- update to 2.02
* Thu Jul 17 2003
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Wed Jun 18 2003
- package directories
* Tue May 20 2003
- remove unpackaged files
* Fri Dec 27 2002
- updated to version 1.05
- added doc files
* Tue Jul 02 2002
- remove race in .packlist generation
* Thu Aug 02 2001
- initial package release (version 1.03)
openSUSE Build Service is sponsored by