johnh pushed to perl-Fsdb (el6). "initial import of perl-Fsdb-2.50"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jul 20 17:27:05 UTC 2015


From e987ae317b0e7ab6e7b63deadb5708e6b1990ade Mon Sep 17 00:00:00 2001
From: John Heidemann <johnh at isi.edu>
Date: Wed, 4 Jun 2014 22:26:46 -0700
Subject: initial import of perl-Fsdb-2.50


diff --git a/.gitignore b/.gitignore
index e69de29..be3c36a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Fsdb-2.50.tar.gz
diff --git a/perl-Fsdb.spec b/perl-Fsdb.spec
new file mode 100644
index 0000000..effdeea
--- /dev/null
+++ b/perl-Fsdb.spec
@@ -0,0 +1,101 @@
+Summary: A set of commands for manipulating flat-text databases from the shell
+Name: perl-Fsdb
+Version: 2.50
+Release: 1%{?dist}
+License: GPLv2
+Group: Development/Libraries
+URL: http://www.isi.edu/~johnh/SOFTWARE/FSDB/
+Source0: http://www.isi.edu/~johnh/SOFTWARE/FSDB/Fsdb-%{version}.tar.gz
+# buildroot deprecated before 2013-07-26, but left in for EPEL 5
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Carp)
+BuildRequires: perl(Config)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Copy)
+BuildRequires: perl(Getopt::Long)
+BuildRequires: perl(IO::File)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IO::Uncompress::AnyUncompress)
+BuildRequires: perl(Pod::Usage)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(utf8)
+BuildRequires: perl(warnings)
+# following BRs are maybe not required?
+BuildRequires:  perl(IO::Compress::Bzip2)
+BuildRequires:  perl(IO::Compress::Gzip)
+BuildRequires:  perl(IO::Compress::Xz)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# next two are autodetected by rpmbuild (I am told)
+# Requires:       perl(HTML::Parser)
+# Requires:       perl(Text::CSV_XS)
+Requires:       perl(IO::Compress::Bzip2)
+Requires:       perl(IO::Compress::Gzip)
+Requires:       perl(IO::Compress::Xz)
+
+
+
+%description
+FSDB is a package of commands for manipulating flat-ASCII databases from
+shell scripts.  FSDB is useful to process medium amounts of data (with
+very little data you'd do it by hand, with megabytes you might want a
+real database).  FSDB is very good at doing things like:
+
+        - extracting measurements from experimental output
+        - re-examining data to address different hypotheses
+        - joining data from different experiments
+        - eliminating/detecting outliers
+        - computing statistics on data (mean, confidence intervals,
+                correlations, histograms)
+        - reformatting data for graphing programs
+
+Rather than hand-code scripts to do each special case, FSDB provides
+higher-level functions than one gets with raw perl or shell scripts.
+(Some features:  control uses names instead of column numbers,
+it is self-documenting, and is robuts with good error and memory handling.)
+
+%prep
+%setup -q -n Fsdb-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+# buildroot removal left in for EPEL 5
+rm -rf $RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+# fix up g+s getting set on directories, and executables being 0555
+# (*I* think those are ok, but not rpmlint.)
+find $RPM_BUILD_ROOT -type d -exec chmod g-s {} ';'
+# find $RPM_BUILD_ROOT -executable -exec chmod 0755 {} ';'
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+# %clean but left in for EPEL 5
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+# next line deprecated since rpm 4.4, I'm told.
+# -was-percent-defattr(-,root,root,-)
+# -was-percent-doc COPYING Fsdb.spec META.json MYMETA.json MYMETA.yml programize_module README README.html update_modules
+%doc README COPYING
+%{_bindir}/*
+%{perl_vendorlib}/Fsdb.pm
+%{perl_vendorlib}/Fsdb/
+%{_mandir}/man1/*.1*
+%{_mandir}/man3/*.3pm*
+
+
+%changelog
+* Tue May 27 2014 John Heidemann <johnh at isi.edu> 2.50-1
+- See http://www.isi.edu/~johnh/SOFTWARE/FSDB/
diff --git a/sources b/sources
index e69de29..d0e8054 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d627f12e3254e40b4ef94f3b6a897e30  Fsdb-2.50.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Fsdb.git/commit/?h=el6&id=e987ae317b0e7ab6e7b63deadb5708e6b1990ade


More information about the perl-devel mailing list