building an RPM

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

building an RPM

Matt Fair
Hello,
I'm trying to build RPM packages and I noticed QuantLib.spec.in, is this suppose to be used just as a template or is there a process to convert this to QuantLib.spec and then run rpmbuild?  If so, is this process documented some where?
Thanks,
Matt

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: building an RPM

Luigi Ballabio
On Sun, 2011-09-11 at 18:32 -0600, Matt Fair wrote:
> Hello,
> I'm trying to build RPM packages and I noticed QuantLib.spec.in, is
> this suppose to be used just as a template or is there a process to
> convert this to QuantLib.spec and then run rpmbuild?  If so, is this
> process documented some where?

Running configure should generate QuantLib.spec.  I'm not sure that it's
up to date, though; I haven't used it in quite a while.  If you find
that it needs any changes, send me a patch and I'll apply it to the
repository.

Thanks,
        Luigi


--

Prediction is very difficult, especially if it's about the future.
-- Niels Bohr



------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: building an RPM

Matt Fair
Luigi,
Running autogen.sh then configure does not convert QuantLib.spec.in to QuantLib.spec.  Is there something I can run at the command line to do this or does it need to be in the config script?  
Is there an alternative spec file that you would recommend to use?
Thanks,
Matt

On Mon, Sep 12, 2011 at 1:20 AM, Luigi Ballabio <[hidden email]> wrote:
On Sun, 2011-09-11 at 18:32 -0600, Matt Fair wrote:
> Hello,
> I'm trying to build RPM packages and I noticed QuantLib.spec.in, is
> this suppose to be used just as a template or is there a process to
> convert this to QuantLib.spec and then run rpmbuild?  If so, is this
> process documented some where?

Running configure should generate QuantLib.spec.  I'm not sure that it's
up to date, though; I haven't used it in quite a while.  If you find
that it needs any changes, send me a patch and I'll apply it to the
repository.

Thanks,
       Luigi


--

Prediction is very difficult, especially if it's about the future.
-- Niels Bohr




------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: building an RPM

Luigi Ballabio
On Mon, 2011-09-12 at 03:34 -0600, Matt Fair wrote:
> Running autogen.sh then configure does not convert QuantLib.spec.in to
> QuantLib.spec.  Is there something I can run at the command line to do
> this or does it need to be in the config script?  

Oh, I see.  Edit configure.ac and add the line

AC_CONFIG_FILES([QuantLib.spec])

before AC_OUTPUT.  Then, running autogen.sh and configure again should
generate the spec file.

Luigi


--

The young man knows the rules, but the old man knows the exceptions.
-- O. W. Holmes



------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users