Re: [A-A-P-develop] I uploaded an RPM to Mandriva/Mandrake
On Fri, 18 Nov 2005, Ian S. Nelson wrote:
Aschwin Marsman wrote:
On Tue, 15 Nov 2005, Ian S. Nelson wrote:
Hi Ian,
I've built an RPM for a-a-p and started the process to try and get in included in to Mandriva.
I would like to do the same for openSUSE. I think I would need: - a source rpm - an idea on how much a-a-p is used so I convince the maintainers to include the package
I can't download from mandriva incoming. I would like to have the source rpm so I can try if it works on SUSE 10.0 out of the box.
Here is the source RPM.
Thanks. I'm also sending this reply to the opensuse-packaging mailing list. Therefor I also attached your original spec file and do I need some advertising: A-A-P makes it easy to locate, download, build and install software. It also supports browsing source code, developing programs, managing different versions and distribution of software and documentation. This means that A-A-P is useful both for users and for developers. http://www.a-a-p.org/ A-A-P is created by vim creator Bram Moolenaar. I installed it on SUSE 10.0: --------------8<--------------8<--------------8<-------------- rpm -Uvh a-a-p-1.079-1mdk.src.rpm 1:a-a-p warning: user ian does not exist - using root warning: group ian does not exist - using root warning: user ian does not exist - using root warning: group ian does not exist - using root ########################################### [100%] --------------8<--------------8<--------------8<-------------- So the spec file needs to be adjusted so it will be installed as user root without warnings. Installing the src.rpm gives a dependancy problem: --------------8<--------------8<--------------8<-------------- rpmbuild --rebuild /home/marsman/projects/aap/a-a-p-1.07 Installing /home/marsman/projects/aap/a-a-p-1.079-1mdk.src.rpm warning: user ian does not exist - using root warning: group ian does not exist - using root warning: user ian does not exist - using root warning: group ian does not exist - using root error: Failed build dependencies: libpython-devel is needed by a-a-p-1.079-1mdk --------------8<--------------8<--------------8<-------------- This looks like an inconsistency in the naming of a package, on SUSE 10.0 I have: --------------8<--------------8<--------------8<-------------- rpm -qi python-devel Name : python-devel Relocations: (not relocatable) Version : 2.4.1 Vendor: SUSE LINUX Products GmbH, Nuern berg, Germany Release : 3 Build Date: Tue Sep 13 02:48:40 2005 Install date: Sun Oct 23 20:34:02 2005 Build Host: bizet.suse.de Group : Development/Languages/Python Source RPM: python-2.4.1-3.src.rpm Size : 13912546 License: Artistic License, Other License (s), see package Signature : DSA/SHA1, Tue Sep 13 04:01:07 2005, Key ID a84edae89c800aca Packager : http://www.suse.de/feedback URL : http://www.python.org/ Summary : Include Files and Libraries Mandatory for Building Python Modules. Description : The Python programming language's interpreter can be extended with dynamically loaded extensions and can be embedded in other programs. This package contains header files, a static library, and development tools for building Python modules, extending the Python interpreter or embedding Python in applications. This also includes the Python distutils, which were in the Python package up to version 2.2.2. Authors: -------- Guido van Rossum <guido@python.org> Distribution: SUSE LINUX 10.0 (i586) --------------8<--------------8<--------------8<-------------- So it looks like we'll need a: BuildRequires: libpython-devel for Mandriva and BuildRequires: python-devel for SUSE. How can this be done so that it will work on as many rpm using distros as possible? Some info on building packages for openSUSE: http://www.opensuse.org/SUSE_Build_Tutorial Have a nice weekend, Aschwin Marsman -- aschwin@marsman.org http://www.marsman.org
participants (1)
-
Aschwin Marsman