LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Rose-Object.spec of Package perl-Rose-Object (Project spins:invis:discontinued)

# spec file for package perl-Rose-Object
# Copyright (c) 2011 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 http://bugs.opensuse.org/

Name:           perl-Rose-Object
Version:        0.859
Release:        1
License:        GPL-1.0+ or Artistic-1.0
%define cpan_name Rose-Object
Summary:        A simple object base class.
Url:            http://search.cpan.org/dist/Rose-Object/
Group:          Development/Libraries/Perl
Source:         http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Rose-Object-0.859.tar.gz
BuildRequires:  perl

%if 0%{?suse_version} < 1140
Requires:       perl = %{perl_version}
BuildRequires:  perl
%if 0%{?suse_version} > 1140
BuildRequires:  perl-macros

%if 0%{?suse_version} < 1120
BuildRequires:  perl-macros

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

the Rose::Object manpage is a generic object base class. It provides very
little functionality, but a healthy dose of convention.

%setup -q -n %{cpan_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%{__make} test


%{__rm} -rf %{buildroot}

%files -f %{name}.files
%doc Changes