Unfortunately I couldn’t make rpms for “root” with Buildservice (and have no time for this now )
I attach spec file and patch for last v. 5.27/06. It can be directly used with rpmbuild and was checked for Opensuse 11.3 (successfully works).
My starting point for spec file was this topic:
I couldnt understand how this file was generated (If it really was).
After “make redhat” I got spec file only for “root-static” part, that was confusing for me.
I removed some “unnecessary” parts of root (for my purposes) in configure.
This is what I had to change:
- Add a code which deletes broken symlinks before rpm packaging. Otherwise rpmbuild halted with error at brp-symlink check stage.
- Add a patch which removes non existing files from *.install.in files (i couldnt find these in build directory)
- root-system-bin.desktop.in – Buildservice didnt like initial “categories”, have no idea what’s wrong with them (they should comply this document: standards.freedesktop.org/menu-s … t/apa.html)
How to build rpms:
- copy root_v5.27.06.source.tar.gz and root.5.27.06.01.patch to /usr/src/packages/SOURCES
- Copy “spec” file to your home directory and run “rpmbuild -ba ~/root52706.spec”
- If everything is ok (=you have all necessary packages installed), get your rpms in /usr/src/packages/RPMS/i586 . Last directory can be added to Yast as local repository, and it’s very convenient for next upgrades.
My experiments with “buildservice” are not completed, hope i’ll have some time for this in the nearest future.
P.S. Both spec and patch files cannot be attached to this forum. They can be found here
narod.ru/disk/26106025000/root52706.tar.gz.html (click the same string to start download)
Archive with RPM’s for opensuse 11.3:
narod.ru/disk/26106489000/rpms52706.tar.gz.html