Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (41 sloc) 1.252 kB
name: perl-MogileFS-Client
summary: perl-MogileFS-Client - Perl client library for accessing MogileFS
version: 1.11
release: 1%{?dist}
vendor: Alan Kasindorf <dormando@rydia.net>
packager: Jonathan Steinert <hachi@cpan.org>
license: Artistic
group: Applications/CPAN
buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
buildarch: noarch
source: MogileFS-Client-%{version}.tar.gz
requires: perl(IO::WrapTie) >= 2.102
buildrequires: perl(IO::WrapTie) >= 2.102
%description
Perl client library for accessing MogileFS
%prep
rm -rf "%{buildroot}"
%setup -n MogileFS-Client-%{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
Jump to Line
Something went wrong with that request. Please try again.