2 summary
: MogileFS
-Server
- MogileFS Server daemons and utilities.
5 vendor
: Brad Fitzpatrick
<brad@danga.com
>
6 packager
: Jonathan Steinert
<hachi@cpan.org
>
8 group
: Applications
/CPAN
9 buildroot
: %{_tmppath}/%{name}-%{version}-%
(id
-u
-n
)
11 source: mogilefs
-server
-%{version}.tar.gz
13 requires
: MogileFS
-Server
-mogilefsd
, MogileFS
-Server
-mogstored
15 # Build requires for mogilefsd
16 buildrequires
: perl
(DBI
), perl
(DBD
::mysql
), perl
(MogileFS
::Client
), MogileFS
-Utils
, mysql
17 # Build requires for mogstored
18 buildrequires
: perl
(Gearman
::Client
::Async
) >= 0.93, perl
(Gearman
::Server
) >= 1.08, perl
(Perlbal
) >= 1.53
21 MogileFS Server daemons and utilities.
22 This is a dummy package which depends on all the others so you can
install them all easily.
26 %setup -n mogilefs
-server
-%{version}
29 %{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix}
36 [ -x
/usr
/lib
/rpm
/brp
-compress
] && /usr
/lib
/rpm
/brp
-compress
38 # remove mogdeps and related files
39 rm -rf
%{buildroot}/usr
/lib
/perl5
/site_perl
/*/mogdeps
40 rm -f
%{buildroot}/usr
/share
/man
/man3
/mogdeps
::*
42 # remove special files
43 find
%{buildroot} \
( \
44 -name "perllocal.pod" \
45 -o
-name ".packlist" \
49 # no empty directories
50 find
%{buildroot}%{_prefix} \
51 -type d
-depth
-empty \
55 [ "
%{buildroot}" != "/" ] && rm -rf %{buildroot}
60 %package -n MogileFS
-Server
-mogilefsd
61 summary
: MogileFS
-Server
-mogilefsd
- Mogilefsd and related libraries.
62 group
: Applications
/CPAN
64 requires
: perl
(DBI
) >= 1.44, perl
(DBD
::mysql
) >= 3
65 obsoletes
: MogileFS
-Server
-utils
<= 2.16
67 %description -n MogileFS
-Server
-mogilefsd
68 Mogilefsd and related libraries.
70 %files -n MogileFS
-Server
-mogilefsd
72 %{_prefix}/bin
/mogilefsd
73 %{_prefix}/bin
/mogdbsetup
74 %{_prefix}/lib
/perl5
/site_perl
/5.8.5/MogileFS
/*
75 %{_prefix}/share
/man
/man1
/mogilefsd
.1.gz
76 %{_prefix}/share
/man
/man3
/MogileFS
::*.3pm.gz
78 %package -n MogileFS
-Server
-mogstored
79 summary
: MogileFS
-Server
-mogstored
- Mogstored and related libraries.
80 group
: Applications
/CPAN
82 requires
: perl
-Gearman
-Client
-Async
>= 0.93, perl
-Gearman
-Server
>= 1.08, perl
-Perlbal
>= 1.53
83 obsoletes
: MogileFS
-Server
-utils
<= 2.16
85 %description -n MogileFS
-Server
-mogstored
86 Mogstored and related libraries.
88 %files -n MogileFS
-Server
-mogstored
90 %{_prefix}/bin
/mogstored
91 %{_prefix}/bin
/mogautomount
92 %{_prefix}/lib
/perl5
/site_perl
/5.8.5/Mogstored
/*
93 %{_prefix}/share
/man
/man1
/mogstored
.1.gz
94 %{_prefix}/share
/man
/man1
/mogautomount
.1.gz