Managing packages from command line

Pavel Fedin p.fedin@samsung.com
Wed Feb 11 10:39:00 GMT 2015


 Hello!
 I would like to ask if there is any way to install locally build packages
from command line ?
 I am testing my RPM->Cygwin conversion tool. The idea of the tool is to be
able to build a Cygwin package out of SRPM. I thought about conversion to
Cygport, but it is impossible to fully automate this process. So far
currently i've got a Python script which is based on RPM Python API. In
order to build a package it goes through %prep, %build and %install stages
of spec file, but instead of RPM it creates a Cygwin-style .tar.bz
archive(s) with accompanying setup.hint file(s).
 The motivation to do it for me is to be able to build Tizen-targetted
toolchain for Cygwin in a simple way without having to maintain cygport,
which the company doesn't want to do.

 The next step is to install the newly built package. I try to feed my
directory with the package to setup.exe in "install from local directory"
mode, but looks like it needs complete repository with setup.ini file, which
i obviously don't have. I would like just to install the package without the
need to generate repository. Is it possible ?

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list