%global pkg_name Sys-CpuAffinity %global pkg_version 1.04 %global rpm_pkg_version 1.04 %global rpm_pkg_release 1.n0i.1 Summary: Get/set CPU affinity of processes 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/Sys/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(Module::Build) #%%{?perl_default_filter} %description The details of getting and setting process CPU affinities varies greatly from system to system. Even among the different flavors of Unix there is very little in the way of a common interface to CPU affinities. The existing tools and libraries for setting CPU affinities are not very standardized, so that a technique for setting CPU affinities on one system may not work on another system with the same architecture. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf %{buildroot} %{perl_install} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %exclude %{perl_vendorarch}/auto/xs %changelog * Sun Oct 09 2011 Marius Feraru - 1.04-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.11 - version 1.04