[opensuse-buildservice] first steps
Hello, I'm an old openSUSE user and I compile things on it since more than 10 years :-). I also followed the factory list for years (but not right now). However I'm completely new to the buils service and completely puzzled by the http://en.opensuse.org/Category:Build_Service documentation. Where to start? To be clear, my goal is to make this application http://ekd.tuxfamily.org/index.php/Accueil/AccueilEnglish available to openSUSE users. The application is python and compile extremely easily on 12.1, so it should be easy also to include in OBS, if I can figureout how :-) I already understood how to create my own page in obs https://build.opensuse.org/project/show?project=home%3Ajdd of course empty right now :-( thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hey, please go with this page first http://en.opensuse.org/openSUSE:Packaging_Python after that it is from your local shell (if you installed osc already) mkdir $HOME/OSC && cd $HOME/OSC osc co home:jdd cd home:jdd osc mkpac python-package and rest of it you can read on that page what exactly to do in "The fast and automated way" but of course you can do it manually as you are used to do it. after all you have prepared locally and pushed to OBS (osc commit) you will have to set for which targets it should be built, do that by going to (clicking) repositories tab on you home tab (clik "Home Project" top right) and select for example openSUSE:12.1 as your target after that sit and wait till it is built. hope that this helps a bit :) Boris On Mon, Jun 4, 2012 at 9:05 AM, jdd <jdd@dodin.org> wrote:
Hello,
I'm an old openSUSE user and I compile things on it since more than 10 years :-). I also followed the factory list for years (but not right now).
However I'm completely new to the buils service and completely puzzled by the
http://en.opensuse.org/Category:Build_Service
documentation. Where to start?
To be clear, my goal is to make this application
http://ekd.tuxfamily.org/index.php/Accueil/AccueilEnglish
available to openSUSE users.
The application is python and compile extremely easily on 12.1, so it should be easy also to include in OBS, if I can figureout how :-)
I already understood how to create my own page in obs
https://build.opensuse.org/project/show?project=home%3Ajdd
of course empty right now :-(
thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 04/06/2012 09:15, Boris Manojlovic a écrit :
hope that this helps a bit :)
thanks You should know I'm completely new to OBS :-( Is it possible to have a command line access to OBS or do I have to install an obs instance on my computer? I couldn't even find a way to upload the source to obs (I could upload the tarball, but obs couldn't untar it!) thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 06/04/2012 11:20 AM, jdd wrote:
Le 04/06/2012 09:15, Boris Manojlovic a écrit :
hope that this helps a bit :)
thanks
You should know I'm completely new to OBS :-(
Is it possible to have a command line access to OBS or do I have to install an obs instance on my computer?
install osc from openSUSE:Tools Togan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, Jun 04, 2012 at 11:20:06AM +0200, jdd wrote:
Le 04/06/2012 09:15, Boris Manojlovic a écrit :
hope that this helps a bit :)
thanks
You should know I'm completely new to OBS :-(
Is it possible to have a command line access to OBS or do I have to install an obs instance on my computer?
I couldn't even find a way to upload the source to obs (I could upload the tarball, but obs couldn't untar it!)
Can I help you on irc? czabas@freenode Petr
Le 04/06/2012 11:28, Petr Gajdos a écrit :
Can I help you on irc? czabas@freenode
thanks, but I'm not always in front of my computer, more like 10 minutes on one hour, so IRC is not very good for me. (right now) the application I try to compile/package is available as source in tgz form: ekd_linux_source_3_1_0_20120415.tar.gz not in any python repository (PyPI) but directly on the application web site http://ekd.tuxfamily.org/index.php/Presentation/PresentationEnglish the archive include sh scripts to compile the source I don't understand how I can make py2pack made aware of this archive py2pack generate EnKoDeur-Mixeur -t opensuse.spec -f python-EnKoDeur-Mixeur.spec unable to find a suitable release for EnKoDeur-Mixeur! thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
jdd <jdd@dodin.org> wrote:
Hello,
I'm an old openSUSE user and I compile things on it since more than 10 years :-). I also followed the factory list for years (but not right now).
However I'm completely new to the buils service and completely puzzled by the
http://en.opensuse.org/Category:Build_Service
documentation. Where to start?
With the tutorial. http://en.opensuse.org/openSUSE:Build_Service_Tutorial Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 04/06/2012 14:09, Greg Freemyer a écrit :
documentation. Where to start?
With the tutorial.
good, thanks! jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 04/06/2012 14:09, Greg Freemyer a écrit :
With the tutorial.
if I get it correctly, I have to get a tgz file with the software and a spec file. I guess the tgz is seen like a directory? a way to make py2pack work with a local tgz? thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mon, Jun 4, 2012 at 10:08 AM, jdd <jdd@dodin.org> wrote:
Le 04/06/2012 14:09, Greg Freemyer a écrit :
With the tutorial.
if I get it correctly, I have to get a tgz file with the software and a spec file. I guess the tgz is seen like a directory?
a way to make py2pack work with a local tgz?
I maintain only one python package: python-fuse It has about as simple of a setup as can be: https://build.opensuse.org/package/files?package=python-fuse&project=devel%3Alanguages%3Apython So you can use it as a very simple base: Just create your home project (done I see). Add the *tgz file (also done) create a specfile. I propose you just download a copy of the specfile for python-fuse, rename it and edit the contents to reflect what you need, then add it to your project. Your tarball has an unusual name, so take a look at how the Source: field is set in this specfile as a good, but simple example for you: https://build.opensuse.org/package/view_file?file=dc3dd.spec&package=dc3dd&project=security&rev=3aeeabcbe67aae1ca4bb2540a1a91797 Then create a changes file. You can do that via the webui, or via "osc vc". I like to do local test builds via osc build at that point and use osc commit to submit my final specfile back to OBS. Hope that helps. Greg -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 04/06/2012 17:19, Greg Freemyer a écrit :
Hope that helps. Greg
greatly! thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 04/06/2012 17:19, Greg Freemyer a écrit :
I like to do local test builds via osc build at that point and use osc commit to submit my final specfile back to OBS.
me too, don't want to crash OBS :-)))) but I have a concern: I just found a mandriva rpm of an old version of ekd. No spec file in it. It's a noarch file, with only the application structure ls-R.txt usr ./usr: bin share ./usr/bin: ekd ./usr/share: applications ekd ./usr/share/applications: mandriva-ekd.desktop ./usr/share/ekd: configure.in ekd_gui.py (...) may be I can find a noarch openSUSE equivallent and copy it? what about OBS with this? thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 05/06/2012 18:42, jdd a écrit :
but I have a concern: I just found a mandriva rpm of an old version of ekd. No spec file in it. It's a noarch file, with only the application structure
same with papyon http://download.opensuse.org/distribution/12.1/repo/oss/suse/noarch/papyon-0... jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tuesday 05 June 2012 19.07:08 jdd wrote:
Le 05/06/2012 18:42, jdd a écrit :
but I have a concern: I just found a mandriva rpm of an old version of ekd. No spec file in it. It's a noarch file, with only the application structure
same with papyon
http://download.opensuse.org/distribution/12.1/repo/oss/suse/noarch/papyon-0...
jdd
You need the src.rpm that one contain the .spec http://download.opensuse.org/source/distribution/12.1/repo/oss/suse/src/papy... -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 05/06/2012 21:38, Bruno Friedmann a écrit :
You need the src.rpm that one contain the .spec http://download.opensuse.org/source/distribution/12.1/repo/oss/suse/src/papy...
ok, thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (6)
-
Boris Manojlovic
-
Bruno Friedmann
-
Greg Freemyer
-
jdd
-
Petr Gajdos
-
Togan Muftuoglu