At Mon, 29 Jun 2015 13:40:44 +0000 Jean Audibert <jaudib...@euronext.com> wrote:
> > Hi Robert, > > Thanks for your answer. > > Sorry, but I'm not sure to understand. > You mean that the SPEC file in > doxygen-1.8.10.src.tar.gz\doxygen-1.8.10.src.tar\doxygen-1.8.10\packages\rpm\doxygen.spec.in > is useless? Its in the wrong place for rpmbuild -ta. I am not sure what CMake's idea of subverting rpmbuild is. For rpmbuild -ta ...tar.gz to work, the SPEC file needs to be at the toplevel of the tarball. I believe CMake has some other ideas, including *NOT* using rpmbuild, but using its own 'logic' that *replaces* rpmbuild instead. I think you have to unpack the archive, build the package 'normally', *then* run some *special* CMake command to build the RPM from the build binaries (I don't really know the exact incantation). You *don't* get a package-version.src.rpm this way. I think esentually you end up building a binary-only (batch) of RPM(s). Which is stupid and unhelpful for anyone 'downstream' of whoever is distributing the RPMs -- eg it means that anyone who needs to rebuild the RPM(s), have to get the original source and built it from scratch. It also means it is not possible to build RPMs with distro-specific patches. And thus, it is probably less than useful for these and other related reasons. > > So, what is the new procedure to build RPM? > > Thanks, > > Jean > > -----Original Message----- > From: Robert Heller [mailto:hel...@deepsoft.com] > Sent: lundi 29 juin 2015 14:22 > To: Jean Audibert > Cc: 'doxygen-users@lists.sourceforge.net'; Robert Heller > Subject: Re: [Doxygen-users] Unable to build RPMs for Doxygen v1.8.10 > > At Mon, 29 Jun 2015 08:05:40 +0000 Jean Audibert <jaudib...@euronext.com> > wrote: > > > > > Hi! > > > > Until the release 1.8.9.1, I was able to build Doxygen (binaires ands RPMs) > > with this command: > > $ rpmbuild -ta doxygen-<VERSION>.src.tar.gz > > > > With the last release, this command fails: "error: Failed to read spec file > > from doxygen-1.8.10.src.tar.gz" > > > > I think it's related to the CMake build. So now, what is the best way to > > achieve build of RPMs? > > > > No, more likely simply that somehow the spec file was left out of the source > archive. The *might* be related to the CMake build, in that possibly the > spec file was left out of the CMake equivelant of AutoMake's 'EXTRA_DIST' > variable. > > > > Thanks a lot! > > > > Jean > > > > > > _________________________________________________________________ > > > > This message may contain confidential information and is intended for > > specific recipients unless explicitly noted otherwise. If you have reason > > to believe you are not an intended recipient of this message, please delete > > it and notify the sender. This message may not represent the opinion of > > Euronext N.V. or any of its subsidiaries or affiliates, and does not > > constitute a contract or guarantee. Unencrypted electronic mail is not > > secure and the recipient of this message is expected to provide safeguards > > from viruses and pursue alternate means of communication where privacy or a > > binding message is desired. > > > > > > ------------------------------------------------------------------------------ > > Monitor 25 network devices or servers for free with OpManager! > > OpManager is web-based network management software that monitors > > network devices and physical & virtual servers, alerts via email & sms > > for fault. Monitor 25 devices for free with no restriction. Download now > > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > > _______________________________________________ > > Doxygen-users mailing list > > Doxygen-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/doxygen-users > > > > > > > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users