perl-Model3D-WavefrontObject/perl-Model3D-WavefrontObject.spec

Name: perl-Model3D-WavefrontObject
Summary: Read, Write and manipulate Alias Wavefront Objects
Version: 1.00
Release: 1.2
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Model3D-WavefrontObject/
Description: This module allows the user to load an Alias Wavefront Object 3D model into memory, perform several manipulations on it, and save it back out programmatically.

CentOS 7 x86_64

The build could not start because the following file is missing: Model3D-WavefrontObject-1.00.00.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: Model3D-WavefrontObject-1.00.00.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Se&#225;n Cannon <dodger$xfx3d,net>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Model3D-WavefrontObject

Summary: Read, Write and manipulate Alias Wavefront Objects
Name: perl-Model3D-WavefrontObject
Version: 1.00
Release: 1.2%{?dist}
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Model3D-WavefrontObject/

Source: http://www.cpan.org/modules/by-module/Model3D/Model3D-WavefrontObject-%{version}.00.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This module allows the user to load an Alias Wavefront Object 3D model into
memory, perform several manipulations on it, and save it back out
programmatically.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/Model3D/WavefrontObject.pm

%changelog
* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 1.00-1.2
- Rebuild for Fedora Core 5.

* Fri Dec  9 2005 Dries Verachtert <dries@ulyssis.org> - 1.00-1
- Initial package.