3 %bcond_without autodeps # don't BR packages needed only for resolving deps
4 %bcond_without tests # do not perform "make test"
8 Summary: MogileFS::Client - Client library for the MogileFS distributed file system.
9 #Summary(pl.UTF-8): MogileFS::Client - Modu³ klienta dla rozproszonego systemu plików MoglieFS
10 Name: perl-MogileFS-Client
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-authors/id/B/BR/BRADFITZ/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 2d7a6853100566496c408c752408442d
18 URL: http://search.cpan.org/dist/MogileFS-Client/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 %if %{with autodeps} || %{with tests}
22 BuildRequires: perl-IO-stringy >= 2.102
23 BuildRequires: perl-libwww
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This module is a client library for the MogileFS distributed file system. The
30 class method 'new' creates a client object against a particular mogilefs
31 tracker and domain. This object may then be used to store and retrieve content
35 #%description -l pl.UTF-8
36 #Ten modu³ jest klientem dla rozproszonego systemu plików MogileFS. Metoda 'new'
37 #tworzy obiekt klienta skojarzony z konkretnym sledz±cym mogilefs i domen±.
38 #Ten obiekt mo¿e byæ u¿ywany jako interfejs do zapisywania i odtwarzania tre¶ci z
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
55 %{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{perl_vendorlib}/MogileFS/*.pm
65 #%%{perl_vendorlib}/MogileFS/Client