Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37863677
en ru br
Репозитории ALT

Группа :: Разработка/Perl
Пакет: perl-Gtk3-ImageView

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
# needed xvfb-run
%def_disable test

Name: perl-Gtk3-ImageView
Version: 9
Release: alt1

Summary: Image viewer widget for GTK 3

License: GPL+ or Artistic
Group: Development/Perl
Url: https://metacpan.org/release/Gtk3-ImageView

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source0: http://www.cpan.org/authors/id/A/AS/ASOKOLOV/Gtk3-ImageView-%{version}.tar.gz

BuildArch: noarch

BuildRequires(pre): rpm-build-perl
BuildRequires: perl-devel

#BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76

# Run-time:
#BuildRequires: perl(base)
BuildRequires: perl(Cairo.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Glib.pm) >= 1.21
BuildRequires: perl(Glib/Object/Subclass.pm)
BuildRequires: perl(Gtk3.pm)
BuildRequires: perl(List/Util.pm)
BuildRequires: perl(POSIX.pm)
BuildRequires: perl(Readonly.pm)
BuildRequires: perl(Scalar/Util.pm)

# Tests:

#BuildRequires: perl(Carp::Always)
#BuildRequires: perl(English)
#BuildRequires: perl(File::Spec)
#BuildRequires: perl(File::Temp)
#BuildRequires: perl(Image::Magick)
#BuildRequires: perl(MIME::Base64)
BuildRequires: perl(Test/Differences.pm)
#BuildRequires: perl(Test::MockObject)
#BuildRequires: perl(Test::More)
#BuildRequires: perl(Try::Tiny)
#BuildRequires: xorg-x11-server-Xvfb

# Optional tests:

# git-core not used
# Test::Perl::Critic not used
#Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(if.pm)
Requires: perl(Glib.pm) >= 1.21

# Remove under-specified dependencies

#global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Glib\\)$

%description
The Gtk3::ImageView widget allows the user to zoom, pan and select the
specified image and provides hooks to allow additional tools, e.g. painter,
to be created and used.

%prep
%setup -q -n Gtk3-ImageView-%{version}
# Bareword "Gtk3::Gdk::Display::get_default" not allowed while "strict subs"
sed -i -e "3iuse Gtk3;" lib/Gtk3/ImageView/Tool.pm

%build
%perl_vendor_build

%install
%perl_vendor_install

%check
#unset TEST_AUTHOR
#xvfb-run -d make test

%files
%doc README.md
%perl_vendor_privlib/*
#_man3dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin