Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 245c93b8fb0e7e1144802d493797cf8b > files > 2

perl-Champlain-0.110.0-1mdv2010.1.src.rpm

%define upstream_name    Champlain
%define upstream_version 0.11

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Map rendering canvas
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module//%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Clutter)
BuildRequires: perl-devel
BuildRequires: perl-ExtUtils-Depends
BuildRequires: perl-ExtUtils-PkgConfig
BuildRequires: libchamplain-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}

%description
Champlain consists of the Perl bindings for the C library libchamplain
which provides a canvas widget based on the Clutter manpage that displays
maps from various free map sources such as _OpenStreetMap_, _OpenAerialMap_
and _Maps for free_.

For more information about libchamplain see: the
http://projects.gnome.org/libchamplain/ manpage.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%{make}

%check
#gw this fails on a display without GL support
#%{make} test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes README
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog
* Thu Feb 04 2010 Götz Waschk <waschk@mandriva.org> 0.110.0-1mdv2010.1
+ Revision: 500652
- import perl-Champlain


* Thu Feb  4 2010 Götz Waschk <waschk@mandriva.org> 0.110.0-1mdv2010.1
- switch to CPAN version