#274 Fedora MinGW crosscompile RPM spec-file for log4cplus v1.1.1

v1.1.2
closed
5
2013-09-10
2013-08-15
John Smits
No

Currently, there is no RPM spec-file to create RPM's for MinGW cross-compilation under Fedora. The attached spec-file does just that, and is based on the existing RPM spec-file. Maybe others are interested in this as well, so I decided to create an issue for it.

It works for me, mock likes it, but since I'm in no way a spec-file expert, it might need a second look.

1 Attachments

Discussion

  • John Smits
    John Smits
    2013-08-15

    Before I forget: please note that the Win64 parts are untested at this moment.

     
    • assigned_to: Václav Zeman
     
    • Group: future --> v1.1.2
     
    • labels: v1.1.1, fedora, rpmbuild, mingw, mingw64 --> v1.1.1, fedora, rpmbuild, mingw, mingw64, applied
    • status: open --> closed
     
  • I have no way of testing this, so I will have to believe you it works. :)

    I have committed your spec file with only necessary version changes so that the version reflects current branch version. I will push the change sets later to day. Thank you.

     
    • status: closed --> open
     
  • John Smits
    John Smits
    2013-08-15

    Hi Václav,

    Thanks for accepting it. However, further testing reveiled some problems with it. :-( Apparently I jumped the gun, adding something that was not completely functional yet. I previously installed log4cplus with the regular configure/make/make install, and apparently did not remove all artifacts before installing the RPM, so it appeared to be functional. :-( Guess I was right about not being a spec-file expert. ;-)

    I'll add a newer version shortly that has all things weeded out that I found.

    Sorry to bother you like this...

    KR,
    John Smits

     
    Last edit: John Smits 2013-09-10
  • John Smits
    John Smits
    2013-09-10

    Finally, a spec-file that really works for me. Managed to produce a functional executable with it that runs under Wine, so that should be good enough.

    Modified it so that it works with a release-version of log4cplus 1.1.2.

    Thanks for your time!

     
    Attachments
    • I have committed the file to both trunk and 1.1.x branches.

       
    • status: open --> closed