I am practicing in rpmbuild and I run the example Hello RPM package the example run well, however, I build my own gnuplot.spec
with this:
Files:
SOURCES/
gnuplot-5.0.5.tar.gz
SPECS/
gnuplot.spec
Spec file:
Name: gnuplot
Version: 5.0.5
Release: 1%{?dist}
Summary: The gnuplot
License: GPLv3+
Source0: gnuplot-5.0.5.tar.gz
BuildRequires: gettext
Requires(post): info
Requires(preun): info
%description
gnuplot
%prep
%autosetup
%build
%configure
make
%install
%make_install
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%license COPYING
%changelog
* Tue Sep 06 2011 The Coon of Ty <Ty@coon.org> 2.8-1
- Initial version of the package
I run the next command:
rpmbuild -ba gnuplot.spec
Error: /var/tmp/rpm-tmp.oAdSqX (%install)