Package perl-Gtk2-Unique: Specfile

%define dist Gtk2-Unique

Name: perl-%dist
Version: 0.07
Release: alt1

Summary: Use single instance applications
License: Perl
Group: Development/Perl

URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/X/XA/XAOC/%{dist}-%{version}.tar.gz

# Automatically added by buildreq on Mon Oct 10 2011
BuildRequires: libunique-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Gtk2-devel perl-podlators xvfb-run

%description
Perl bindings for the C library "libunique" that provides a mechanism
for writing single instance applications. If you launch a single
instance application twice, the second instance will either just quit or
will send a message to the running instance.

%prep
%setup -q -n %{dist}-%{version}

%build
%perl_vendor_build
xvfb-run -a make test

%install
%perl_vendor_install

%files
%doc	Changes README examples
%dir	%perl_vendor_archlib/Gtk2
	%perl_vendor_archlib/Gtk2/Unique.pm
%doc	%perl_vendor_archlib/Gtk2/Unique*.pod
	%perl_vendor_autolib/Gtk2
# XXX devel?
%dir	%perl_vendor_archlib/Gtk2/Unique
%doc	%perl_vendor_archlib/Gtk2/Unique/*.pod
	%perl_vendor_archlib/Gtk2/Unique/Install

%changelog
* Fri Jan 15 2021 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1
- automated CPAN update

* Thu Jan 24 2019 Igor Vlasenko <viy@altlinux.ru> 0.05-alt3.2
- rebuild with new perl 5.28.1

* Fri Dec 15 2017 Igor Vlasenko <viy@altlinux.ru> 0.05-alt3.1.1.1.1
- rebuild with new perl 5.26.1

* Fri Feb 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.05-alt3.1.1.1
- rebuild with new perl 5.24.1

* Wed Nov 25 2015 Igor Vlasenko <viy@altlinux.ru> 0.05-alt3.1.1
- rebuild with new perl 5.22.0

* Tue Dec 09 2014 Igor Vlasenko <viy@altlinux.ru> 0.05-alt3.1
- rebuild with new perl 5.20.1

* Wed Aug 28 2013 Vladimir Lettiev <crux@altlinux.ru> 0.05-alt3
- built for perl 5.18

* Sat Sep 01 2012 Vladimir Lettiev <crux@altlinux.ru> 0.05-alt2
- rebuilt for perl-5.16

* Mon Oct 10 2011 Alexey Tourbin <at@altlinux.ru> 0.05-alt1.1
- rebuilt for pelr-5.14

* Wed Feb 09 2011 Victor Forsiuk <force@altlinux.org> 0.05-alt1
- Initial build.