%global pkg_name Gnome2-PanelApplet %global pkg_version 0.02 %global rpm_pkg_version 0.02 %global rpm_pkg_release 1.n0i.1 Summary: Perl interface to GNOME's applet library Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/modules/by-module/Gnome2/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: gnome-panel-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(ExtUtils::Depends) >= 0.20 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(Glib) >= 1.160 BuildRequires: perl(Gnome2) >= 1.042 BuildRequires: perl(Gnome2::GConf) >= 1.044 BuildRequires: perl(Gtk2) >= 1.040 %description This module allows you to create applets for the GNOME 2.0 Panel using Perl. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc AUTHOR ChangeLog LICENSE NEWS README examples/ %changelog * Sat Sep 29 2007 Marius Feraru - 0.02-1.n0i.1 - initial packaging