|
|
e987ae3 |
Summary: A set of commands for manipulating flat-text databases from the shell
|
|
|
e987ae3 |
Name: perl-Fsdb
|
|
|
d073da6 |
Version: 2.65
|
|
|
d940fb0 |
Release: 2%{?dist}
|
|
|
e987ae3 |
License: GPLv2
|
|
|
e987ae3 |
Group: Development/Libraries
|
|
|
e987ae3 |
URL: http://www.isi.edu/~johnh/SOFTWARE/FSDB/
|
|
|
e987ae3 |
Source0: http://www.isi.edu/~johnh/SOFTWARE/FSDB/Fsdb-%{version}.tar.gz
|
|
|
e987ae3 |
# buildroot deprecated before 2013-07-26, but left in for EPEL 5
|
|
|
e987ae3 |
BuildArch: noarch
|
|
|
c91dbf6 |
BuildRequires: perl
|
|
|
a0213e1 |
BuildRequires: perl-generators
|
|
|
e987ae3 |
BuildRequires: perl(Carp)
|
|
|
e987ae3 |
BuildRequires: perl(Config)
|
|
|
e987ae3 |
BuildRequires: perl(Exporter)
|
|
|
e987ae3 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
e987ae3 |
BuildRequires: perl(File::Copy)
|
|
|
e987ae3 |
BuildRequires: perl(Getopt::Long)
|
|
|
e987ae3 |
BuildRequires: perl(IO::File)
|
|
|
e987ae3 |
BuildRequires: perl(IO::Handle)
|
|
|
e987ae3 |
BuildRequires: perl(IO::Uncompress::AnyUncompress)
|
|
|
e987ae3 |
BuildRequires: perl(Pod::Usage)
|
|
|
4d1f7ad |
BuildRequires: perl(Pod::Html)
|
|
|
e987ae3 |
BuildRequires: perl(strict)
|
|
|
e987ae3 |
BuildRequires: perl(Test::More)
|
|
|
e987ae3 |
BuildRequires: perl(utf8)
|
|
|
e987ae3 |
BuildRequires: perl(warnings)
|
|
|
f794230 |
BuildRequires: perl(XML::Simple)
|
|
|
cc4db00 |
BuildRequires: perl(YAML::XS)
|
|
|
e987ae3 |
# following BRs are maybe not required?
|
|
|
e987ae3 |
BuildRequires: perl(IO::Compress::Bzip2)
|
|
|
e987ae3 |
BuildRequires: perl(IO::Compress::Gzip)
|
|
|
e987ae3 |
BuildRequires: perl(IO::Compress::Xz)
|
|
|
3c4f5c3 |
# next two are needed to run test suites and are not autodetected
|
|
|
3c4f5c3 |
BuildRequires: perl(HTML::Parser)
|
|
|
3c4f5c3 |
BuildRequires: perl(Text::CSV_XS)
|
|
|
1980b9e |
# next two are needed to run build README, see https://bugzilla.redhat.com/show_bug.cgi?id=1163149
|
|
|
3ea8c28 |
BuildRequires: groff-base
|
|
|
3ea8c28 |
BuildRequires: perl-podlators
|
|
|
e987ae3 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
3c4f5c3 |
# next two are needed to run test suites and are not autodetected
|
|
|
72db8d4 |
Requires: perl(HTML::Parser)
|
|
|
3c4f5c3 |
Requires: perl(Text::CSV_XS)
|
|
|
e987ae3 |
Requires: perl(IO::Compress::Bzip2)
|
|
|
e987ae3 |
Requires: perl(IO::Compress::Gzip)
|
|
|
e987ae3 |
Requires: perl(IO::Compress::Xz)
|
|
|
cc4db00 |
Requires: perl(XML::Simple)
|
|
|
cc4db00 |
Requires: perl(YAML::XS)
|
|
|
e987ae3 |
|
|
|
e987ae3 |
|
|
|
e987ae3 |
%description
|
|
|
e987ae3 |
FSDB is a package of commands for manipulating flat-ASCII databases from
|
|
|
e987ae3 |
shell scripts. FSDB is useful to process medium amounts of data (with
|
|
|
e987ae3 |
very little data you'd do it by hand, with megabytes you might want a
|
|
|
e987ae3 |
real database). FSDB is very good at doing things like:
|
|
|
e987ae3 |
|
|
|
e987ae3 |
- extracting measurements from experimental output
|
|
|
e987ae3 |
- re-examining data to address different hypotheses
|
|
|
e987ae3 |
- joining data from different experiments
|
|
|
e987ae3 |
- eliminating/detecting outliers
|
|
|
e987ae3 |
- computing statistics on data (mean, confidence intervals,
|
|
|
e987ae3 |
correlations, histograms)
|
|
|
e987ae3 |
- reformatting data for graphing programs
|
|
|
e987ae3 |
|
|
|
e987ae3 |
Rather than hand-code scripts to do each special case, FSDB provides
|
|
|
e987ae3 |
higher-level functions than one gets with raw perl or shell scripts.
|
|
|
e987ae3 |
(Some features: control uses names instead of column numbers,
|
|
|
1980b9e |
it is self-documenting, and is robust with good error and memory handling.)
|
|
|
e987ae3 |
|
|
|
e987ae3 |
%prep
|
|
|
e987ae3 |
%setup -q -n Fsdb-%{version}
|
|
|
e987ae3 |
|
|
|
e987ae3 |
%build
|
|
|
e987ae3 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
e987ae3 |
make %{?_smp_mflags}
|
|
|
e987ae3 |
|
|
|
e987ae3 |
%install
|
|
|
e987ae3 |
# buildroot removal left in for EPEL 5
|
|
|
e987ae3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
e987ae3 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
e987ae3 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
e987ae3 |
# fix up g+s getting set on directories, and executables being 0555
|
|
|
e987ae3 |
# (*I* think those are ok, but not rpmlint.)
|
|
|
e987ae3 |
find $RPM_BUILD_ROOT -type d -exec chmod g-s {} ';'
|
|
|
e987ae3 |
# find $RPM_BUILD_ROOT -executable -exec chmod 0755 {} ';'
|
|
|
e987ae3 |
%{_fixperms} %{buildroot}/*
|
|
|
e987ae3 |
|
|
|
e987ae3 |
|
|
|
e987ae3 |
%check
|
|
|
e987ae3 |
make test
|
|
|
e987ae3 |
|
|
|
e987ae3 |
# %clean but left in for EPEL 5
|
|
|
e987ae3 |
|
|
|
e987ae3 |
%files
|
|
|
e987ae3 |
# next line deprecated since rpm 4.4, I'm told.
|
|
|
e987ae3 |
# -was-percent-defattr(-,root,root,-)
|
|
|
e987ae3 |
# -was-percent-doc COPYING Fsdb.spec META.json MYMETA.json MYMETA.yml programize_module README README.html update_modules
|
|
|
e987ae3 |
%doc README COPYING
|
|
|
e987ae3 |
%{_bindir}/*
|
|
|
e987ae3 |
%{perl_vendorlib}/Fsdb.pm
|
|
|
e987ae3 |
%{perl_vendorlib}/Fsdb/
|
|
|
e987ae3 |
%{_mandir}/man1/*.1*
|
|
|
e987ae3 |
%{_mandir}/man3/*.3pm*
|
|
|
e987ae3 |
|
|
|
e987ae3 |
|
|
|
e987ae3 |
%changelog
|
|
|
d940fb0 |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.65-2
|
|
|
d940fb0 |
- Perl 5.28 rebuild
|
|
|
d940fb0 |
|
|
|
d073da6 |
* Fri Feb 16 2018 John Heidemann <johnh@isi.edu> 2.65-1
|
|
|
e987ae3 |
- See http://www.isi.edu/~johnh/SOFTWARE/FSDB/
|