RPMS of pulp

20 views
Skip to first unread message

Marcin Dulak

unread,
Jun 17, 2011, 9:12:56 AM6/17/11
to pulp-or-discuss
Hi,

RPMS for few distributions are available at:
https://build.opensuse.org/package/show?package=python-pulp-or&project=home%3Amarcindulak
On openSUSE one needs the follwoing dependencies:
- python-pyparsing (for example from
https://build.opensuse.org/project/show?project=devel%3Alanguages%3Apython)
- glpk (fro example from https://build.opensuse.org/project/show?project=science).
The provided spec file builds also on SL6 (the dependencies are on
EPEL).

Any comments are welcome,

Marcin

Stuart Mitchell

unread,
Jun 22, 2011, 6:17:50 PM6/22/11
to pulp-or...@googlegroups.com
Thanks very much for that would you like to send me a link or list the
steps that you did to make these rpm's I am very interested in
providing rpm and deb packages but so far have not been able to.

Stu

> --
> You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
> To post to this group, send email to pulp-or...@googlegroups.com.
> To unsubscribe from this group, send email to pulp-or-discu...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pulp-or-discuss?hl=en.
>
>

--
Stuart Mitchell
PhD Engineering Science
Freelance Programmer and Optimisation Expert
www.stuartmitchell.com

Marcin Dulak

unread,
Jun 23, 2011, 4:51:12 AM6/23/11
to pulp-or...@googlegroups.com
Hi,

i don't have a deb package (yet).
Under
https://build.opensuse.org/package/files?package=python-pulp-or&project=home%3Amarcindulak
you find the spec file, that's everything (+ source) you need to build
on build.opensuse.org.
Here are instructions how to build outside of build.opensuse.org
http://perso.b2b2c.ca/sarrazip/dev/rpm-building-crash-course.html
Note that the spec file contains some variables present only on
build.opensuse.org, outside of it you get settings valid for EL (the
distribution i'm mostly interested in),
so set them as required for you platform in ~/.rpmmacros.
I would recommend to keep packages on build.opensuse.org. It's very
convenient, for example
you have access to yum/yast repository (would require a bit of work to
setup on you own),
and build happens automatically if any of dependencies change. You can
even "submit" the package
to opensuse, so they may consider making it a part of the distribution.
This would require first fixing lot's of rpmlint warnings
(for example: different distributions use different names in the Group
variable, don't allow files under /opt, don't allow certain files in
noarch package,
require presence of man pages, etc.).
The problem with build.opensuse.org is that as far as I know you don't
have access to external repositories (like EPEL),
so many dependencies for EL are missing.

Best regards,

Marcin

Reply all
Reply to author
Forward
0 new messages