Hello, I'm new to rpm packaging in fedora, May I know how to do rpm packaging in fedora, If have any refernces please send me url or docs
Thanks.
----- Original Message -----
From: "Srineth Priyanka" srineth.priyanka@gmail.com To: packaging@lists.fedoraproject.org Sent: Tuesday, April 10, 2012 5:00:16 PM Subject: [Fedora-packaging] How do Packaging
I'm new to rpm packaging in fedora, May I know how to do rpm packaging in fedora, If have any refernces please send me url or docs
You can read this short tutorial [1] for understandings and then read the full Packaging Guidelines [2].
[1] http://fedoraproject.org/wiki/A_Short_RPM_Tutorial [2] http://fedoraproject.org/wiki/Packaging:Guidelines
Kind regards, Tuan
On Tue, Apr 10, 2012 at 06:00:16AM -0400, Srineth Priyanka wrote:
I'm new to rpm packaging in fedora, May I know how to do rpm packaging in fedora, If have any refernces please send me url or docs
I think
https://fedoraproject.org/wiki/Category:Package_Maintainers
should be a good start page. This page contains links to other pages with explaination of how to become a package maintainers or tutorials of how to create a RPM package.
Best Regards:
Jochen Schmitt
https://fedoraproject.org/wiki/How_to_create_an_RPM_package
This one is helpful for newbies. On Tuesday, April 10, 2012, Jochen Schmitt Jochen@herr-schmitt.de wrote:
On Tue, Apr 10, 2012 at 06:00:16AM -0400, Srineth Priyanka wrote:
I'm new to rpm packaging in fedora, May I know how to do rpm packaging in fedora, If have any refernces please send me url or docs
I think
https://fedoraproject.org/wiki/Category:Package_Maintainers
should be a good start page. This page contains links to other pages with explaination of how to become a package maintainers or tutorials of how to create a RPM package.
Best Regards:
Jochen Schmitt
packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
Hello, Thanks for your quick replies.
Thanks.
---------- Forwarded message ---------- From: Christopher Meng cickumqt@gmail.com Date: Tue, Apr 10, 2012 at 7:22 AM Subject: Re: [Fedora-packaging] How do Packaging To: Discussion of RPM packaging standards and practices for Fedora < packaging@lists.fedoraproject.org>
https://fedoraproject.org/wiki/How_to_create_an_RPM_package
This one is helpful for newbies.
On Tuesday, April 10, 2012, Jochen Schmitt Jochen@herr-schmitt.de wrote:
On Tue, Apr 10, 2012 at 06:00:16AM -0400, Srineth Priyanka wrote:
I'm new to rpm packaging in fedora, May I know how to do rpm packaging in fedora, If have any refernces please send me url or docs
I think
https://fedoraproject.org/wiki/Category:Package_Maintainers
should be a good start page. This page contains links to other pages with explaination of how to become a package maintainers or tutorials of how to create a RPM package.
Best Regards:
Jochen Schmitt
packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
Hello, I tried to follow this http://fedoraproject.org/wiki/A_Short_RPM_Tutorial link but command line is not working. How do I accomplish my task
Thanks
On Tue, Apr 10, 2012 at 6:30 AM, Truong Anh. Tuan tuanta@iwayvietnam.comwrote:
----- Original Message -----
From: "Srineth Priyanka" srineth.priyanka@gmail.com To: packaging@lists.fedoraproject.org Sent: Tuesday, April 10, 2012 5:00:16 PM Subject: [Fedora-packaging] How do Packaging
I'm new to rpm packaging in fedora, May I know how to do rpm packaging in fedora, If have any refernces please send me url or docs
You can read this short tutorial [1] for understandings and then read the full Packaging Guidelines [2].
[1] http://fedoraproject.org/wiki/A_Short_RPM_Tutorial [2] http://fedoraproject.org/wiki/Packaging:Guidelines
Kind regards, Tuan -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
2012/4/10 Srineth Priyanka srineth.priyanka@gmail.com
Hello, I tried to follow this http://fedoraproject.org/wiki/A_Short_RPM_Tutorial link but command line is not working. How do I accomplish my task
Thanks
Did you installed all required tools? yum install @development-tools yum install fedora-packager
If yes, then which command is not working?
Hello atleast yum install @development-tools command also not working
thanks
On Tue, Apr 10, 2012 at 10:54 AM, Praveen Kumar < kumarpraveen.nitdgp@gmail.com> wrote:
2012/4/10 Srineth Priyanka srineth.priyanka@gmail.com
Hello, I tried to follow this http://fedoraproject.org/wiki/A_Short_RPM_Tutorial link but command line is not working. How do I accomplish my task
Thanks
Did you installed all required tools? yum install @development-tools yum install fedora-packager
If yes, then which command is not working?
-- Praveen Kumar http://fedoraproject.org/ http://kumar-pravin.blogspot.com
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
2012/4/10 Srineth Priyanka srineth.priyanka@gmail.com
Hello atleast yum install @development-tools command also not working
thanks
Can you tell us what error are you getting when executing this command? Please provide sufficient details before asking your query, then only people will help you.
On Tue, Apr 10, 2012 at 08:34:45PM +0530, Praveen Kumar wrote:
2012/4/10 Srineth Priyanka srineth.priyanka@gmail.com
atleast yum install @development-tools command also not working
thanks
I suggest, that you should try out
# yum groupinstall 'Development Tools'
There is a difference between a simple package like gcc and a group like 'Development Tools' which is a collection of serveral packages.
yout can get a list of all available groups with
$ yum grouplist
Best Regards:
Jochen Schmitt
Hello, I got like this error when giving yum install @development-tools
[root@localhost ~]# yum install @development-tools Loaded plugins: langpacks, presto, refresh-packagekit http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml Trying other mirror. http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: chromium. Please verify its path and try again
Thanks On Tue, Apr 10, 2012 at 11:04 AM, Praveen Kumar < kumarpraveen.nitdgp@gmail.com> wrote:
2012/4/10 Srineth Priyanka srineth.priyanka@gmail.com
Hello atleast yum install @development-tools command also not working
thanks
Can you tell us what error are you getting when executing this command? Please provide sufficient details before asking your query, then only people will help you.
-- Praveen Kumar http://fedoraproject.org/ http://kumar-pravin.blogspot.com
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
2012/4/10 Srineth Priyanka srineth.priyanka@gmail.com
Hello, I got like this error when giving yum install @development-tools
[root@localhost ~]# yum install @development-tools Loaded plugins: langpacks, presto, refresh-packagekit http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml Trying other mirror. http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: chromium. Please verify its path and try again thanks
looks like your chromium repo is not working, you can disable this repo and then try. 1. yum clean 2. yum install @development-tools --disable-repo=chromium
It should be work. For more info about yum please go through "man yum".
Hello, Thanks for ur reply. I have checked yum clean. It gives [root@localhost charindu]# yum clean Loaded plugins: langpacks, presto, refresh-packagekit Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all Cleaning repos: chromium fedora google-chrome updates
like this lines. why is that?
Thanks
On Tue, Apr 10, 2012 at 12:04 PM, Praveen Kumar < kumarpraveen.nitdgp@gmail.com> wrote:
2012/4/10 Srineth Priyanka srineth.priyanka@gmail.com
Hello, I got like this error when giving yum install @development-tools
[root@localhost ~]# yum install @development-tools Loaded plugins: langpacks, presto, refresh-packagekit http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml Trying other mirror. http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://spot.fedorapeople.org/chromium/F16/repodata/repomd.xml Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: chromium. Please verify its path and try again thanks
looks like your chromium repo is not working, you can disable this repo and then try.
- yum clean
- yum install @development-tools --disable-repo=chromium
It should be work. For more info about yum please go through "man yum".
-- Praveen Kumar http://fedoraproject.org/ http://kumar-pravin.blogspot.com
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
2012/4/11 Srineth Priyanka srineth.priyanka@gmail.com
Hello, Thanks for ur reply. I have checked yum clean. It gives [root@localhost charindu]# yum clean Loaded plugins: langpacks, presto, refresh-packagekit Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all Cleaning repos: chromium fedora google-chrome updates
That's mean you need to give a option (what you want to clean), better you use "yum clean all" it will clean everything and then do repolist and check if chromium repo still showing problem if yes then disable it as I told before.
like this lines. why is that?
Thanks
Hello Thanks now yum install @development-tools working
Thanks
On Tue, Apr 10, 2012 at 11:25 PM, Praveen Kumar < kumarpraveen.nitdgp@gmail.com> wrote:
2012/4/11 Srineth Priyanka srineth.priyanka@gmail.com
Hello, Thanks for ur reply. I have checked yum clean. It gives [root@localhost charindu]# yum clean Loaded plugins: langpacks, presto, refresh-packagekit Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all Cleaning repos: chromium fedora google-chrome updates
That's mean you need to give a option (what you want to clean), better you use "yum clean all" it will clean everything and then do repolist and check if chromium repo still showing problem if yes then disable it as I told before.
like this lines. why is that?
Thanks
-- Praveen Kumar http://fedoraproject.org/ http://kumar-pravin.blogspot.com
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
Hi,
--- On Tue, Apr 10, 2012 at 06:00:16AM -0400, Srineth Priyanka wrote: | I'm new to rpm packaging in fedora, May I know how to do rpm packaging in | fedora, If have any refernces please send me url or docs --
You can try my tutorial:
http://shakthimaan.com/downloads.html#packaging-red-hot-paneer-butter-masala
SK
Hello, I'm trying to do limesurvey rpm packaging, I don't understand how do I fill BuildRequires and Requies in spec file?
Thanks
On Wed, Apr 11, 2012 at 9:51 AM, Shakthi Kannan shakthimaan@gmail.comwrote:
Hi,
--- On Tue, Apr 10, 2012 at 06:00:16AM -0400, Srineth Priyanka wrote: | I'm new to rpm packaging in fedora, May I know how to do rpm packaging in | fedora, If have any refernces please send me url or docs --
You can try my tutorial:
http://shakthimaan.com/downloads.html#packaging-red-hot-paneer-butter-masala
SK
-- Shakthi Kannan http://www.shakthimaan.com -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
If you want to build a package for fedora,you must know what the software requires.This we can't help you,you should find details in software's homepage.
Best Regards, Christopher Meng------'Cicku'
Ambassador/Contributor of Fedora Project and Contributor of GNU. Blog:http://cicku.me Twitter:@cickumqt Hope you can visit and leave some comments. More Contact info see here:http://about.me/cicku
On Mon, Apr 16, 2012 at 12:34 PM, Srineth Priyanka srineth.priyanka@gmail.com wrote:
Hello, I'm trying to do limesurvey rpm packaging, I don't understand how do I fill BuildRequires and Requies in spec file?
Thanks
On Wed, Apr 11, 2012 at 9:51 AM, Shakthi Kannan shakthimaan@gmail.com wrote:
Hi,
--- On Tue, Apr 10, 2012 at 06:00:16AM -0400, Srineth Priyanka wrote: | I'm new to rpm packaging in fedora, May I know how to do rpm packaging in | fedora, If have any refernces please send me url or docs --
You can try my tutorial:
http://shakthimaan.com/downloads.html#packaging-red-hot-paneer-butter-masala
SK
-- Shakthi Kannan http://www.shakthimaan.com -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
On Mon, 16 Apr 2012 10:04:31 +0530 Srineth Priyanka srineth.priyanka@gmail.com wrote:
Hello, I'm trying to do limesurvey rpm packaging, I don't understand how do I fill BuildRequires and Requies in spec file?
It's somewhat of a process of trial and error.
Try and build it without any BuildRequires, see what doesn't work, figure out what it's looking for and add that, then repeat.
You can also look at the docs and see if there's a requirements section listing out things you need to have.
With limesurvey we will need to make sure it's using system/packaged versions of things instead of any bundled versions. I'm trying to track down the last spec of the folks who were working on it a while back, but things might also have changed since the version they were working on.
kevin
On 16/04/12 22:25, Kevin Fenzi wrote:
On Mon, 16 Apr 2012 10:04:31 +0530 Srineth Priyanka srineth.priyanka@gmail.com wrote: With limesurvey we will need to make sure it's using system/packaged versions of things instead of any bundled versions. I'm trying to track down the last spec of the folks who were working on it a while back, but things might also have changed since the version they were working on.
Yeah, I remember taking a look onto this about two months ago. limesurvey still uses several bundled software packages.
Hello, I have tried to build package inside the rpmbuild/SPEC directory in first time. I am invoked errors. What are the reasons them? [srineth@localhost SPECS]$ $ rpmbuild -ba limesurvey.spec bash: $: command not found... Failed to search for file: Invalid input passed to daemon: char '$' in text!
Thanks
On Tue, Apr 17, 2012 at 2:59 PM, Matthias Runge mrunge@matthias-runge.dewrote:
On 16/04/12 22:25, Kevin Fenzi wrote:
On Mon, 16 Apr 2012 10:04:31 +0530 Srineth Priyanka srineth.priyanka@gmail.com wrote: With limesurvey we will need to make sure it's using system/packaged versions of things instead of any bundled versions. I'm trying to track down the last spec of the folks who were working on it a while back, but things might also have changed since the version they were working on.
Yeah, I remember taking a look onto this about two months ago. limesurvey still uses several bundled software packages.
-- Matthias Runge mrunge@matthias-runge.de mrunge@fedoraproject.org -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
# yum install rpm-build
Melhores cumprimentos, Nelson M. Marques ________________________________________ De: packaging-bounces@lists.fedoraproject.org [packaging-bounces@lists.fedoraproject.org] Em Nome De Srineth Priyanka [srineth.priyanka@gmail.com] Enviado: terça-feira, 17 de Abril de 2012 20:58 Para: Discussion of RPM packaging standards and practices for Fedora Assunto: Re: [Fedora-packaging] How do Packaging
Hello, I have tried to build package inside the rpmbuild/SPEC directory in first time. I am invoked errors. What are the reasons them? [srineth@localhost SPECS]$ $ rpmbuild -ba limesurvey.spec bash: $: command not found... Failed to search for file: Invalid input passed to daemon: char '$' in text!
Thanks
On Tue, Apr 17, 2012 at 2:59 PM, Matthias Runge <mrunge@matthias-runge.demailto:mrunge@matthias-runge.de> wrote: On 16/04/12 22:25, Kevin Fenzi wrote:
On Mon, 16 Apr 2012 10:04:31 +0530 Srineth Priyanka <srineth.priyanka@gmail.commailto:srineth.priyanka@gmail.com> wrote: With limesurvey we will need to make sure it's using system/packaged versions of things instead of any bundled versions. I'm trying to track down the last spec of the folks who were working on it a while back, but things might also have changed since the version they were working on.
Yeah, I remember taking a look onto this about two months ago. limesurvey still uses several bundled software packages.
-- Matthias Runge <mrunge@matthias-runge.demailto:mrunge@matthias-runge.de> <mrunge@fedoraproject.orgmailto:mrunge@fedoraproject.org> -- packaging mailing list packaging@lists.fedoraproject.orgmailto:packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
Am 17.04.2012 21:58, schrieb Srineth Priyanka:
Hello, I have tried to build package inside the rpmbuild/SPEC directory in first time. I am invoked errors. What are the reasons them? [srineth@localhost SPECS]$ $ rpmbuild -ba limesurvey.spec bash: $: command not found... Failed to search for file: Invalid input passed to daemon: char '$' in text!
Your terminal already shows the $ character anyway. Please use the command as is:
rpmbuild -ba limesurvey.spec
Cheers, Mario
Kevin Fenzi wrote:
Try and build it without any BuildRequires, see what doesn't work, figure out what it's looking for and add that, then repeat.
There is a risk with that method. Some build system try to be smart and automatically turn off optional features if they don't find some library that those features require. When the build seems to work, you still need to check that all the components and features that the software is supposed to have are actually there.
Björn Persson
On Wed, 18 Apr 2012 00:35:45 +0200 Björn Persson bjorn@xn--rombobjrn-67a.se wrote:
Kevin Fenzi wrote:
Try and build it without any BuildRequires, see what doesn't work, figure out what it's looking for and add that, then repeat.
There is a risk with that method. Some build system try to be smart and automatically turn off optional features if they don't find some library that those features require. When the build seems to work, you still need to check that all the components and features that the software is supposed to have are actually there.
Sure, you should check build logs and the software's docs on what it needs to build too.
kevin
Hi, I think, dupral.rpm package is same as the limesurvey package. Therefore while searching through internet, I could find duprasl rpm spec file http://dries.ulyssis.org/rpm/packages/drupal5/drupal5-spec.html. I could get some tags and section using this file. But when limesurvey is built, show an error(shown in below ) in prep section, Even I did not give anything to that. Can anyone help me to solve that
/var/tmp/rpm-tmp.221K8K: line 40: cd: limesurvey-12.04: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.221K8K (%prep)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.221K8K (%prep)
Thanks
On Wed, Apr 18, 2012 at 9:01 AM, Kevin Fenzi kevin@scrye.com wrote:
On Wed, 18 Apr 2012 00:35:45 +0200 Björn Persson bjorn@xn--rombobjrn-67a.se wrote:
Kevin Fenzi wrote:
Try and build it without any BuildRequires, see what doesn't work, figure out what it's looking for and add that, then repeat.
There is a risk with that method. Some build system try to be smart and automatically turn off optional features if they don't find some library that those features require. When the build seems to work, you still need to check that all the components and features that the software is supposed to have are actually there.
Sure, you should check build logs and the software's docs on what it needs to build too.
kevin
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
On Sun, 22 Apr 2012 18:36:22 +0530, SP (Srineth) wrote:
Hi, I think, dupral.rpm package is same as the limesurvey package. Therefore while searching through internet, I could find duprasl rpm spec file http://dries.ulyssis.org/rpm/packages/drupal5/drupal5-spec.html. I could get some tags and section using this file. But when limesurvey is built, show an error(shown in below ) in prep section, Even I did not give anything to that. Can anyone help me to solve that
/var/tmp/rpm-tmp.221K8K: line 40: cd: limesurvey-12.04: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.221K8K (%prep)
This means you need to adjust the %setup command's option(s) in the %prep section to match with the structure of the extracted limesurvey package. The default is to enter directory %{name}-%{version}. Get familiar with the limesurvey source tarball contents. Pay attention to what name its top directory has. If it is not named limesurvey-12.04, you would need a %setup command with option -n, such as
%setup -n SomeOtherTopDirName
For more detailed help, full rpmbuild output is missing.
Hi, My limesurvey tarball name is "limesurvey192plus-build120412.tar.bz2". It is in SOURCE folder. So As u mentioned, I think I would need a %setup command with option -n. So is this %setup correct? (I think it is correct)
Thanks
On Sun, Apr 22, 2012 at 9:04 PM, Michael Schwendt mschwendt@gmail.comwrote:
On Sun, 22 Apr 2012 18:36:22 +0530, SP (Srineth) wrote:
Hi, I think, dupral.rpm package is same as the limesurvey package. Therefore while searching through internet, I could find duprasl rpm spec file http://dries.ulyssis.org/rpm/packages/drupal5/drupal5-spec.html. I could get some tags and section using this file. But when limesurvey is built, show an error(shown in below ) in prep section, Even I did not give anything to that. Can anyone help me to solve that
/var/tmp/rpm-tmp.221K8K: line 40: cd: limesurvey-12.04: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.221K8K (%prep)
This means you need to adjust the %setup command's option(s) in the %prep section to match with the structure of the extracted limesurvey package. The default is to enter directory %{name}-%{version}. Get familiar with the limesurvey source tarball contents. Pay attention to what name its top directory has. If it is not named limesurvey-12.04, you would need a %setup command with option -n, such as
%setup -n SomeOtherTopDirName
For more detailed help, full rpmbuild output is missing.
-- Fedora release 17 (Beefy Miracle) - Linux 3.3.2-1.fc17.x86_64 loadavg: 0.00 0.01 0.05 -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
Hi, If i need to run some ash scripts as root in %post, is it within the guidelines of RPM building? I Searched through Maximum RPM, and could not find the answer.
OR Is it that ALL sections are run as root ( chroot) in the "BUILD" area, and when the rpm is finally installed in the target, it chroots to run the scripts as root ?
since i saw somewhere that %pre has a --nochroot qualifier
Thanks, -Kamal.
Hi,
The Makefile builds 6 binaries and the 7th binary is currently manually made depending on the architecture. ARM, or i386 Is there a way to run a make command in the %build section, then copy the binary to /usr/bin
Thanks, -Kamal.
On 04/25/2012 02:25 AM, Kamal Ahmed wrote:
Hi,
The Makefile builds 6 binaries and the 7th binary is currently manually made depending on the architecture. ARM, or i386 Is there a way to run a make command in the %build section, then copy the binary to /usr/bin
Thanks, -Kamal.
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
Use the %ifarch macro in your %files section. If it is not installed in %install installed otherwise manually copy it using install/cp command in your %install section.
packaging@lists.fedoraproject.org