Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 0fd2500dab92554030ba98cc64fb6c14 > files > 2

perl-Gtk2-StatusIcon-0.010-1mdk.src.rpm

%define module Gtk2-StatusIcon
%define fmodule Gtk2/StatusIcon

Summary: Perl module interface to the EggSystemTray library
Name:    perl-%module
Version: 0.010
Release: 1mdk
License: GPL or Artistic
Group:   Development/GNOME and GTK+
Source:  %module-%version.tar.bz2
URL: http://gtk2-perl.sf.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: gtkspell-devel perl-devel perl-ExtUtils-Depends perl-Gtk2 perl-Gnome2 >= 1.020-2mdk
BuildRequires: perl-Glib > 1.00 perl-ExtUtils-PkgConfig 
Requires: perl-Gnome2 >= 1.020-2mdk

Requires: gtk+2

%description
This module allows a Perl developer to embed an arbitrary widget in a
System Tray like the Gnome notification area.


%prep
%setup -q -n %module-%version
find -type d -name CVS | rm -rf 

%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Os -s"
perl Makefile.PL INSTALLDIRS=vendor
make OPTIMIZE="$RPM_OPT_FLAGS"
#%make test || :

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-, root, root)
%doc NEWS examples/*
%{_mandir}/*/*
%{perl_vendorarch}/%{fmodule}*
%{perl_vendorarch}/%fmodule.pm
%{perl_vendorarch}/auto/%fmodule

%changelog
* Tue Feb 08 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.010-1mdk
- initial release