name: perl-Gearman-Client summary: perl-Gearman-Client - Gearman client libs version: 1.07 release: 1 vendor: Brad Fitzpatrick packager: Jonathan Steinert license: Artistic group: Applications/CPAN buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n) buildarch: noarch source: Gearman-%{version}.tar.gz buildrequires: perl-String-CRC32 requires: perl-String-CRC32 autoreq: no %description Gearman client libs %prep rm -rf "%{buildroot}" %setup -n Gearman-%{version} %build %{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} make all make test %install make pure_install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress # remove special files find %{buildroot} \( \ -name "perllocal.pod" \ -o -name ".packlist" \ -o -name "*.bs" \ \) -exec rm -f {} \; # no empty directories find %{buildroot}%{_prefix} \ -type d -depth -empty \ -exec rmdir {} \; %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_prefix}/lib/* %{_prefix}/share/man/man3