Fedora Linux Support Community & Resources Center
  #1  
Old 28th August 2011, 09:24 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,128
linuxfirefox
error: Package has no %description: mandelbulber

That error is what I get when I try building from the spec file. When I check the spec file with rpmlint, it's:
Code:
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.
Code:
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?
Reply With Quote
  #2  
Old 4th September 2011, 05:50 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,128
linuxfirefox
Re: error: Package has no %description: mandelbulber

I finally resorted to just typing in the entire spec file from scratch by hand instead of starting out with the basic template generated by the rpmdev-newspec command, with only a very few minor differences from the spec file I posted above. This time, rpmlint had no issues with a missing %description section. The package built just fine. I'll never really know exactly what causing the original issue.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum update error: Error: Package tuple (...) not found in packagesack MuadNu EOL (End Of Life) Versions 8 12th January 2011 02:06 PM
license of description of rpm packages tripod31 Using Fedora 2 21st March 2008 06:53 PM
yum error:Error: Missing Dependency: libpisock.so.9 is needed by package evolution shams Using Fedora 4 5th May 2006 01:42 AM
Package list and description summary Charlie Whiskey Installation and Live Media 1 25th July 2005 09:49 PM


Current GMT-time: 19:55 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat