commit 4c0a28e6edf5063f04db8cb3297d9dc3a267f553 Author: Remi Collet <remi@xxxxxxxxxxxxxxxxx> Date: Mon Sep 15 15:30:20 2014 +0200 import from review #1138980 .gitignore | 1 + perl-Gtk2-AppIndicator.spec | 79 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 81 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..5d83337 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Gtk2-AppIndicator-0.15.tar.gz diff --git a/perl-Gtk2-AppIndicator.spec b/perl-Gtk2-AppIndicator.spec new file mode 100644 index 0000000..5bb62cc --- /dev/null +++ b/perl-Gtk2-AppIndicator.spec @@ -0,0 +1,79 @@ +# spec file for perl-Gtk2-AppIndicator +# +# Copyright (c) 2014 Remi Collet +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/3.0/ +# +# Please, preserve the changelog entries +# + +Name: perl-Gtk2-AppIndicator +Version: 0.15 +Release: 3%{?dist} +Summary: Perl extension for libappindicator +License: Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Gtk2-AppIndicator/ +Source0: http://www.cpan.org/modules/by-module/Gtk2/Gtk2-AppIndicator-%{version}.tar.gz + +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(AutoLoader) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(Gtk2) +BuildRequires: perl(XSLoader) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(appindicator-0.1) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + + +%description +%{summary}. + + +%prep +%setup -q -n Gtk2-AppIndicator-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; -print +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; -print + +%{_fixperms} %{buildroot}/* + + +%check +: "make test disabled, requires a display" + + +%files +%{!?_licensedir:%global license %%doc} +%license LICENSE COPYRIGHT +%doc Changes README +%{perl_vendorarch}/auto/Gtk2 +%{perl_vendorarch}/Gtk2 +%{_mandir}/man3/Gtk2* + + +%changelog +* Mon Sep 15 2014 Remi Collet <remi@xxxxxxxxxxxxxxxxx> 0.15-3 +- License is Artistic + +* Sun Sep 7 2014 Remi Collet <remi@xxxxxxxxxxxxxxxxx> 0.15-2 +- fix BR and cleaup from review #1138980 + +* Sun Sep 7 2014 Remi Collet <remi@xxxxxxxxxxxxxxxxx> 0.15-1 +- initial package \ No newline at end of file diff --git a/sources b/sources index e69de29..25896bd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a90db45394d50d4b2656cfb292710265 Gtk2-AppIndicator-0.15.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel