]> git.pld-linux.org Git - SPECS.git/blob - perl-MogileFS-Client.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / perl-MogileFS-Client.spec
1 #
2 # Conditional build:
3 %bcond_without  autodeps        # don't BR packages needed only for resolving deps
4 %bcond_without  tests           # do not perform "make test"
5 #
6 %define pdir    MogileFS
7 %define pnam    Client
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
11 Version:        1.08
12 Release:        1
13 # same as perl 
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
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
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
32 easily from MogileFS.
33
34
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
39 #MogileFS.
40 # TODO
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} pure_install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc CHANGES TODO
64 %{perl_vendorlib}/MogileFS/*.pm
65 #%%{perl_vendorlib}/MogileFS/Client
66 %{_mandir}/man3/*
This page took 0.046288 seconds and 3 git commands to generate.