From 6027e77911a2a7d672863bb8f6cc06527821fef1 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 19 Jun 2021 21:38:31 +0200 Subject: [PATCH] - updated to 0.07, deprecated now - separated -devel package --- perl-Gtk2-TrayIcon.spec | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/perl-Gtk2-TrayIcon.spec b/perl-Gtk2-TrayIcon.spec index 34f84e8..19b4144 100644 --- a/perl-Gtk2-TrayIcon.spec +++ b/perl-Gtk2-TrayIcon.spec @@ -6,18 +6,17 @@ Summary: Gtk2::TrayIcon - Perl interface to the EggTrayIcon library Summary(pl.UTF-8): Gtk2::TrayIcon - interfejs perlowy do biblioteki EggTrayIcon Name: perl-Gtk2-TrayIcon -Version: 0.06 -Release: 16 +Version: 0.07 +Release: 1 License: LGPL v2+ Group: Development/Languages/Perl -Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz -# Source0-md5: 522c328f14681a25d76eeaf317e05049 +Source0: https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz +# Source0-md5: c3db5edd7c39ca52625d664b0fb988a5 URL: http://gtk2-perl.sourceforge.net/ -BuildRequires: libglade2-devel >= 2.0.0 -BuildRequires: perl-Glib >= 1.00 -BuildRequires: perl-Gtk2 >= 1.00 BuildRequires: perl-ExtUtils-Depends >= 0.1 BuildRequires: perl-ExtUtils-PkgConfig >= 0.1 +BuildRequires: perl-Glib-devel >= 1.00 +BuildRequires: perl-Gtk2-devel >= 1.00 BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildRequires: rpmbuild(macros) >= 1.745 @@ -27,11 +26,30 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Gtk2::TrayIcon module allows a Perl developer to embed an arbitrary widget in a System Tray like the GNOME notification area. +Note: this module is deprecated and no longer maintained. + %description -l pl.UTF-8 Moduł Gtk2::TrayIcon umożliwia programistom perlowym umieszczanie dowolnych kontrolek w Zasobniku Systemowym (System Tray), takim jak w obszarze powiadamiania GNOME. +Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany. + +%package devel +Summary: Development files for Perl Gtk2-TrayIcon bindings +Summary(pl.UTF-8): Pliki programistyczne wiązań Gtk2-TrayIcon dla Perla +Group: Development/Languages/Perl +Requires: %{name} = %{version}-%{release} +Requires: perl-Cairo-devel +Requires: perl-Glib-devel >= 1.00 +Requires: perl-Gtk2-devel >= 1.00 + +%description devel +Development files for Perl Gtk2-TrayIcon bindings. + +%description devel -l pl.UTF-8 +Pliki programistyczne wiązań Gtk2-TrayIcon dla Perla. + %prep %setup -q -n %{pnam}-%{version} @@ -59,7 +77,10 @@ rm -rf $RPM_BUILD_ROOT %doc ChangeLog README TODO %{perl_vendorarch}/Gtk2/TrayIcon.pm %dir %{perl_vendorarch}/Gtk2/TrayIcon -%{perl_vendorarch}/Gtk2/TrayIcon/Install %dir %{perl_vendorarch}/auto/Gtk2/TrayIcon -%attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/*.so +%attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/TrayIcon/TrayIcon.so %{_mandir}/man3/Gtk2::TrayIcon*.3pm* + +%files devel +%defattr(644,root,root,755) +%{perl_vendorarch}/Gtk2/TrayIcon/Install -- 2.44.0