PabloTwo
28th August 2011, 09:24 PM
That error is what I get when I try building from the spec file. When I check the spec file with rpmlint, it's:
mandelbulber.spec: E: specfile-error error: Package has no %description: mandelbulber
mandelbulber.spec: E: specfile-error error: query of specfile mandelbulber.spec failed, can't parse
0 packages and 1 specfiles checked; 2 errors, 0 warnings
Well, the package does have a %description section. I've retyped it, I've removed it and replaced it with the %description section from other spec files that rpmlint has no complaint with, yet, it's always the same error. I've looked for typo's or any critical missing bits top to bottom and compared this spec file with other spec files blessed by rpmlint until my eyes are about to bleed.
Name: mandelbulber
Version: 1.08
Release: 1%{?dist}
Summary: 3D fractal generator
Group: Amusements/Graphics
License: GPLv3.0
URL: http://sites.google.com/site/mandelbulber
Source0: http://iweb.dl/sourceforge.net/project/mandelbulber/mandelbulber%{version).tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel libjpeg-devel
%description
Mandelbulber is an easy to use, handy but experimental application
designed to help you render 3D Mandelbrot fractals such as the
Mandelbulb and some other kinds of 3D fractals like the Mandelbox,
BulbBox, JuliaBulb, Menger Sponge, and Iterated Function Systems (IFS).
%prep
%setup -q -n %{name}%{version}
sed -i '/TerminalOptions/d' mandelbulber.desktop
%build
cd makefiles/
make all
cd -
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 makefiles/mandelbulber $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mandelbulber
cp -a usr/share/* $RPM_BUILD_ROOT%{_datadir}/mandelbulber
mkdir -p $RPM_BUILD_ROOT%{_desktopdir}
cp mandelbulber.desktop $RPM_BUILD_ROOT%{_desktopdir}
desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/mandelbulber.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%post
/usr/bin/desktop-update-database &> /dev/null || :
%postun
/usr/bin/desktop-update-database &> /dev/null || :
%files
%defattr(-,root,root,-)
%doc COPYING NEWS README
%{_bindir}/mandelbulber
%{_datadir}/mandelbulber/*
%{_desktopdir}/mandelbulber.desktop
%changelog
* Sun Aug 28 2011 Paul Miller <**********@********* - 1.08-1
- First build
Does anyone spot anything I'm blatantly missing here?
mandelbulber.spec: E: specfile-error error: Package has no %description: mandelbulber
mandelbulber.spec: E: specfile-error error: query of specfile mandelbulber.spec failed, can't parse
0 packages and 1 specfiles checked; 2 errors, 0 warnings
Well, the package does have a %description section. I've retyped it, I've removed it and replaced it with the %description section from other spec files that rpmlint has no complaint with, yet, it's always the same error. I've looked for typo's or any critical missing bits top to bottom and compared this spec file with other spec files blessed by rpmlint until my eyes are about to bleed.
Name: mandelbulber
Version: 1.08
Release: 1%{?dist}
Summary: 3D fractal generator
Group: Amusements/Graphics
License: GPLv3.0
URL: http://sites.google.com/site/mandelbulber
Source0: http://iweb.dl/sourceforge.net/project/mandelbulber/mandelbulber%{version).tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel libjpeg-devel
%description
Mandelbulber is an easy to use, handy but experimental application
designed to help you render 3D Mandelbrot fractals such as the
Mandelbulb and some other kinds of 3D fractals like the Mandelbox,
BulbBox, JuliaBulb, Menger Sponge, and Iterated Function Systems (IFS).
%prep
%setup -q -n %{name}%{version}
sed -i '/TerminalOptions/d' mandelbulber.desktop
%build
cd makefiles/
make all
cd -
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m 755 makefiles/mandelbulber $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mandelbulber
cp -a usr/share/* $RPM_BUILD_ROOT%{_datadir}/mandelbulber
mkdir -p $RPM_BUILD_ROOT%{_desktopdir}
cp mandelbulber.desktop $RPM_BUILD_ROOT%{_desktopdir}
desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/mandelbulber.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%post
/usr/bin/desktop-update-database &> /dev/null || :
%postun
/usr/bin/desktop-update-database &> /dev/null || :
%files
%defattr(-,root,root,-)
%doc COPYING NEWS README
%{_bindir}/mandelbulber
%{_datadir}/mandelbulber/*
%{_desktopdir}/mandelbulber.desktop
%changelog
* Sun Aug 28 2011 Paul Miller <**********@********* - 1.08-1
- First build
Does anyone spot anything I'm blatantly missing here?