Can somebody help me.
Here is my spec file:
Name: libcerf
Version: 1.3
Release: 1%{?dist}
Summary: library for complex error functions
URL:
https://sourceforge.net/projects/libcerf/
#License: GPLv3+
License: Public Domain
Source0:
https://sourceforge.net/projects/libcerf/files/latest/download/libcerf-%{...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
#Requires:
BuildArch: x86_64
%description
Library providing complex error functions, based on Faddeeva's plasma dispersion
function w(z).
%prep
%setup -q
%build
%configure
#make %{?_smp_mflags}
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
#mkdir -p %{buildroot}/%{_bindir}
#install -p -m 755 %{SOURCE0} %{buildroot}/%{_bindir}
%files
%{_libdir}/*
#%{_datadir}/%{name}/
#%{_bindir}/%{name}/
#%doc
%changelog
But I get an error message (rpmbuild -bb):
Processing files: libcerf-1.3-1.fc24.x86_64
Processing files: libcerf-debuginfo-1.3-1.fc24.x86_64
Provides: libcerf-debuginfo = 1.3-1.fc24 libcerf-debuginfo(x86-64) = 1.3-1.fc24
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <=
4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/pdupre/rpmbuild/BUILDROOT/libcerf-1.3-1.fc24.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/include/cerf.h
/usr/share/man/html/cerf.html
/usr/share/man/html/dawson.html
/usr/share/man/html/erfcx.html
/usr/share/man/html/erfi.html
/usr/share/man/html/voigt.html
/usr/share/man/html/w_of_z.html
/usr/share/man/man3/cdawson.3.gz
/usr/share/man/man3/cerf.3.gz
/usr/share/man/man3/cerfc.3.gz
/usr/share/man/man3/cerfcx.3.gz
/usr/share/man/man3/cerfi.3.gz
/usr/share/man/man3/dawson.3.gz
/usr/share/man/man3/erfcx.3.gz
/usr/share/man/man3/erfi.3.gz
/usr/share/man/man3/im_w_of_x.3.gz
/usr/share/man/man3/voigt.3.gz
/usr/share/man/man3/w_of_z.3.gz
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/include/cerf.h
/usr/share/man/html/cerf.html
/usr/share/man/html/dawson.html
/usr/share/man/html/erfcx.html
/usr/share/man/html/erfi.html
/usr/share/man/html/voigt.html
/usr/share/man/html/w_of_z.html
/usr/share/man/man3/cdawson.3.gz
/usr/share/man/man3/cerf.3.gz
/usr/share/man/man3/cerfc.3.gz
/usr/share/man/man3/cerfcx.3.gz
/usr/share/man/man3/cerfi.3.gz
/usr/share/man/man3/dawson.3.gz
/usr/share/man/man3/erfcx.3.gz
/usr/share/man/man3/erfi.3.gz
/usr/share/man/man3/im_w_of_x.3.gz
/usr/share/man/man3/voigt.3.gz
/usr/share/man/man3/w_of_z.3.gz
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
> Sent: Sunday, December 04, 2016 at 7:09 PM
> From: "Ahmad Samir" <ahmadsamir3891(a)gmail.com>
> To: "Community support for Fedora users"
<users(a)lists.fedoraproject.org>
> Subject: Re: gnuplot libcerf
>
> On 4 December 2016 at 15:06, Patrick Dupre <pdupre(a)gmx.com> wrote:
> > Hello,
> >
> > In gnuplot 5, there is a way to use the function voigt which has
> > to be found in an external library libcerf.
> > I installed libcerf-1.3] from the tar file, but gnuplot does not find it.
> >
> > Should I build a rpm package fomr libcerf ?
> > Should I reinstall or rebuild the gnuplot package ?
> >
> > Thank.
> >
>
> From /usr/share/doc/gnuplot-doc/demo/cerf.dem:
> ===============
> #
> # Exercise the special functions in external library libcerf.
> # These are only present if libcerf was found during configuration/build
> # of the current gnuplot executable.
> #
> ==============
>
> So, it looks like you'll have to build and install libcerf, then
> rebuild gnuplot to link against libcerf.
>
> --
> Ahmad Samir
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
>