4c0a28e
# spec file for perl-Gtk2-AppIndicator
4c0a28e
#
4c0a28e
# Copyright (c) 2014 Remi Collet
4c0a28e
# License: CC-BY-SA
4c0a28e
# http://creativecommons.org/licenses/by-sa/3.0/
4c0a28e
#
4c0a28e
# Please, preserve the changelog entries
4c0a28e
#
4c0a28e
4c0a28e
Name:           perl-Gtk2-AppIndicator
4c0a28e
Version:        0.15
5e141fd
Release:        9%{?dist}
4c0a28e
Summary:        Perl extension for libappindicator
b858399
# From Copyright: Distributed under the same license as perl.
b858399
License:        GPL+ or Artistic
4c0a28e
Group:          Development/Libraries
4c0a28e
URL:            http://search.cpan.org/dist/Gtk2-AppIndicator/
4c0a28e
Source0:        http://www.cpan.org/modules/by-module/Gtk2/Gtk2-AppIndicator-%{version}.tar.gz
4c0a28e
4c0a28e
BuildRequires:  perl
131fc8e
BuildRequires:  perl-devel
131fc8e
BuildRequires:  perl-generators
4c0a28e
BuildRequires:  perl(ExtUtils::MakeMaker)
4c0a28e
BuildRequires:  perl(AutoLoader)
4c0a28e
BuildRequires:  perl(Carp)
4c0a28e
BuildRequires:  perl(Exporter)
4c0a28e
BuildRequires:  perl(Gtk2)
4c0a28e
BuildRequires:  perl(XSLoader)
4c0a28e
BuildRequires:  perl(strict)
4c0a28e
BuildRequires:  perl(warnings)
4c0a28e
BuildRequires:  pkgconfig(gtk+-2.0)
4c0a28e
BuildRequires:  pkgconfig(appindicator-0.1)
4c0a28e
4c0a28e
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
4c0a28e
4c0a28e
%{?perl_default_filter}
4c0a28e
4c0a28e
4c0a28e
%description
4c0a28e
%{summary}.
4c0a28e
4c0a28e
4c0a28e
%prep
4c0a28e
%setup -q -n Gtk2-AppIndicator-%{version}
4c0a28e
4c0a28e
4c0a28e
%build
4c0a28e
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
4c0a28e
make %{?_smp_mflags}
4c0a28e
4c0a28e
4c0a28e
%install
4c0a28e
make pure_install PERL_INSTALL_ROOT=%{buildroot}
4c0a28e
4c0a28e
find %{buildroot} -type f -name .packlist -exec rm -f {} \; -print
4c0a28e
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; -print
4c0a28e
4c0a28e
%{_fixperms} %{buildroot}/*
4c0a28e
4c0a28e
4c0a28e
%check
4c0a28e
: "make test disabled, requires a display"
4c0a28e
4c0a28e
4c0a28e
%files
4c0a28e
%{!?_licensedir:%global license %%doc}
4c0a28e
%license LICENSE COPYRIGHT
4c0a28e
%doc Changes README
4c0a28e
%{perl_vendorarch}/auto/Gtk2
4c0a28e
%{perl_vendorarch}/Gtk2
4c0a28e
%{_mandir}/man3/Gtk2*
4c0a28e
4c0a28e
4c0a28e
%changelog
5e141fd
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-9
5e141fd
- Perl 5.24 rebuild
5e141fd
35d646c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-8
35d646c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
35d646c
1d7c2ad
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-7
1d7c2ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1d7c2ad
b2e0eff
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-6
b2e0eff
- Perl 5.22 rebuild
b2e0eff
763a5f5
* Sun Jan  4 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.15-5
763a5f5
- Drop mono_arches as libappindicator, except the mono bindings is built on all arches
763a5f5
8c0b4e9
* Fri Sep 19 2014 Remi Collet <remi@fedoraproject.org> 0.15-4
8c0b4e9
- add ExclusiveArch: mono_arches as libappindicator
8c0b4e9
4c0a28e
* Sun Sep  7 2014 Remi Collet <remi@fedoraproject.org> 0.15-2
4c0a28e
- fix BR and cleaup from review #1138980
4c0a28e
4c0a28e
* Sun Sep  7 2014 Remi Collet <remi@fedoraproject.org> 0.15-1
763a5f5
- initial package