[feedgnuplot] 04/13: added sample rpm spec file
Dima Kogan
dima at secretsauce.net
Sun Oct 16 03:55:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkogan-guest pushed a commit to branch debian
in repository feedgnuplot.
commit cacbedb336edac788f0a71afcaea78990306d2b6
Author: Dima Kogan <dima at secretsauce.net>
Date: Wed Jul 27 23:08:22 2016 -0700
added sample rpm spec file
---
feedgnuplot.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/feedgnuplot.spec b/feedgnuplot.spec
new file mode 100644
index 0000000..d972b1e
--- /dev/null
+++ b/feedgnuplot.spec
@@ -0,0 +1,58 @@
+# Sample spec file for rpm-based systems. Debian-based systems already have this
+# packaged, so we do not ship those here
+
+Name: feedgnuplot
+Version: 1.38
+Release: 1%{?dist}
+Summary: Pipe-oriented frontend to Gnuplot
+BuildArch: noarch
+
+License: Artistic or GPL-1+
+URL: https://www.github.com/dkogan/feedgnuplot/
+Source0: https://www.github.com/dkogan/feedgnuplot/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+BuildRequires: /usr/bin/pod2html
+BuildRequires: perl-String-ShellQuote
+BuildRequires: perl-ExtUtils-MakeMaker
+BuildRequires: perl
+BuildRequires: gawk
+BuildRequires: gnuplot
+BuildRequires: perl-IPC-Run
+
+Requires: gnuplot
+
+%description
+Flexible, command-line-oriented frontend to Gnuplot. Creates plots from data
+coming in on STDIN or given in a filename passed on the commandline. Various
+data representations are supported, as is hardcopy output and streaming display
+of live data.
+
+%prep
+%setup -q
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make
+pod2html --title=feedgnuplot bin/feedgnuplot > feedgnuplot.html
+
+%install
+make install DESTDIR=%{buildroot} PREFIX=/usr
+
+mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
+cp Changes LICENSE feedgnuplot.html %{buildroot}%{_defaultdocdir}/%{name}
+
+mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
+cp completions/zsh/* %{buildroot}%{_datadir}/zsh/site-functions
+
+mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
+cp completions/bash/* %{buildroot}%{_datadir}/bash-completion/completions
+
+rm -rf %{buildroot}/usr/lib64
+
+
+%files
+%{_bindir}/*
+%{_datadir}/zsh/*
+%{_datadir}/bash-completion/*
+%doc %{_defaultdocdir}/%{name}/*
+%doc %{_mandir}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/feedgnuplot.git
More information about the debian-science-commits
mailing list