LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to create RPM for RHEL 6 to deploy a Mono Binary, with Mono 2.8.2 as a dependency (https://www.linuxquestions.org/questions/linux-software-2/how-to-create-rpm-for-rhel-6-to-deploy-a-mono-binary-with-mono-2-8-2-as-a-dependency-948449/)

bmoran 06-04-2012 09:33 AM

How to create RPM for RHEL 6 to deploy a Mono Binary, with Mono 2.8.2 as a dependency
 
I would like to distribute my Application (A C# app that runs under Mono) as an RPM for RHEL 6. The application is fully developed and working on RHEL 6, but now I need a distribution method.

RPM's seem easy enough distribution method and can ensure various dependencies are installed. Unfortunately, all the RPM building tutorials state that I need to have the source code packaged up in the SOURCE folder for rpmbuild, but my application is in .Net Bytecode to be run through Mono. Accompanying my app are linux native Shared Objects (being distributed as binarys, not source) which are called from my C# App.

How do I make this happen?

TobiSGD 06-04-2012 09:39 AM

You didn't write your application in bytecode, I would think, so you should have the source code for your application. Or is there something i don't understand?

bmoran 06-04-2012 09:53 AM

The source code is a Visual Studio 2010 C# Solution on Windows... the resulting Binary (.Net bytecode) is built on Windows and then copied to Linux and executed via the Mono 2.8.2 Runtime. We do not build on Linux.


All times are GMT -5. The time now is 08:00 PM.