[scl.org] Custom software collection building process

Dmitrijs Milajevs dimazest at gmail.com
Fri Aug 15 20:10:28 UTC 2014


Hi,

Thank you for your reply and useful links.

Mine main confusion was that i can install the Python33 collection from
https://www.softwarecollections.org/en/ without doing 'yum install
centos-release-SCL'. Now I have numpy and scipy!

In the near future I'll try to build a simple package and then numexpr
(because it causes some pain in my further buildout based deployment).

I took some notes, and would like to post them as I'm finished and
converted more to a post. Any comments are welcome
https://github.com/qmcs/qmcs.github.io/pull/35/files

Is there an IRC channel where scl issues should be discussed.

--
Dima

On Fri, Aug 15, 2014 at 3:14 PM, Miroslav Suchý <msuchy at redhat.com> wrote:

> On 08/15/2014 12:19 PM, Dmitrijs Milajevs wrote:
>
>>
>> I have the following problem. At a computing server at my university
>> centos 6.5 is installed. The software I wish to run
>> there requires recent versions of python3, numpy, scipy. Manually
>> compiling python and pip-installing is too difficult.
>> I would like to:
>>
>> 1. create a custom software collection that depends on python33 provided
>> by centos.
>> http://wiki.centos.org/AdditionalResources/Repositories/SCL
>>
> > 2. however, they don't provide numpy and scipy. So I would like to add
> these packages to my collection.
>
> Please read:
> https://access.redhat.com/documentation/en-US/Red_Hat_
> Developer_Toolset/2/html/Software_Collections_Guide/
> chap-Extending_Red_Hat_Software_Collections.html
>
>  3. add other packages, e.g. seaborn http://web.stanford.edu/~
>> mwaskom/software/seaborn/
>> <http://web.stanford.edu/%7Emwaskom/software/seaborn/>
>>
>
> You have to create those packages from scratch.
>
>  Ideally, the collection should be available on softwarecollections.org <
>> http://softwarecollections.org>, so I could give
>>
>> admins a couple of commands to install it.
>>
>
> Once you have srpm, you have to build it in Copr and then import into
> softwarecollections.org. See:
> https://www.softwarecollections.org/en/docs/add-to-catalogue/
>
>
>  Could you explain the basic workflow. As I understand, I whould have a
>> collecton .spec file and then .spec files for
>> packages. To build them, should the spec files be located in
>> ~/rpmbuild/SOURCES? Why then
>> https://git.centos.org/summary/?r=rpms/python33-numpy.git is a dedicated
>> repository? How can I rebuild that package?
>>
>
> See
> https://git.centos.org/summary/centpkg.git
> Then
> centpkg clone python33-numpy
> cd python33-numpy
> git checkout c7
> yum install python33-build scl-utils-build
> centpkg local
>
>
>  As you see, I'm very new to building and creating RPMs.
>>
>
> Then I would suggest you to start with simpler packages.
>   http://www.rpm.org/max-rpm/ch-rpm-build.html
> This is good start point ^
>
>
> --
> Miroslav Suchy, RHCE, RHCDS
> Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sclorg/attachments/20140815/a7aee147/attachment.htm>


More information about the SCLorg mailing list