Author Topic: CVS snapshot RPM generation  (Read 348673 times)

Offline phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Posts: 2503
  • Karma: 44
  • The last shadow you'll ever see
CVS snapshot RPM generation
« on: March 13, 2005, 10:13:06 pm »
Hi people!

Starting from March, 14th, for those of you that refuse to install anything that is not an rpm package in your system, there is an option now. We have included a spec file in the aMule tarball, so that you can easily generate an rpm. It works like this:

1) Download the latest CVS tarball. _MUST_ be the CVS tarball of the same day, these rpms can only be built on the same day you download them.
2) $ rpmbuild -ta aMule-CVS-20050314.tar.bz2
3) There you are, you have a brand new CVS tarball rpm to test the latest and greatest aMule!

Notice that you must be familiar with rpm generation and you must have everything required to compile aMule previously installed in your system.

Also notice that this procedure works only if the CVS snapshot is from the same day that you are doing the build. This is actualy a side effect, but has the advantage that users will always have to test the latest version if they want to generate a rpm using a simple procedure.

Enjoy!

Offline sssnake

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 0
  • Don't eat the yellow snow (F. Zappa)
RE: CVS sanapshot RPM generation
« Reply #1 on: March 13, 2005, 10:51:02 pm »
Nice to hear, but problem is, the latttest snapshot is from 20050310, or where do you store recent snapshots now, if not under http://www.hirnriss.net/files/cvs/?

Offline phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Posts: 2503
  • Karma: 44
  • The last shadow you'll ever see
Re: CVS snapshot RPM generation
« Reply #2 on: March 14, 2005, 03:24:20 am »
sssnake,

Sorry for the inconvenience, but we had to change the names of the cvs tarballs. Now cvs comes in upper case, so the newest cvs tarballs are on the bottom of the page. This shall be fixed soon.

Cheers!

Offline phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Posts: 2503
  • Karma: 44
  • The last shadow you'll ever see
Re: CVS snapshot RPM generation
« Reply #3 on: March 14, 2005, 09:41:14 pm »
Ok, fixed a few problems with the first version of the spec file, things should be ok now.

Also the CVS snapshots were renamed, now they are in the proper order. Thanks boot! :)

Offline leotorjeman

  • Approved Newbie
  • *
  • Posts: 39
  • Karma: 0
Re: CVS snapshot RPM generation
« Reply #4 on: March 15, 2005, 12:45:43 am »
and what about debian systems?
i use ubuntu, is there any easy way to build an .deb package to amule?

thanks,
Leo Torjeman

Offline phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Posts: 2503
  • Karma: 44
  • The last shadow you'll ever see
Re: CVS snapshot RPM generation
« Reply #5 on: March 15, 2005, 12:57:08 am »
leotorjeman,

Sorry, but I use a rpm based distro and know nothing about debs, but should be as easy as making rpms. But we accept contributions, you know. Anyone willing to contribute in this area is welcome.

Cheers.

Offline egaMad

  • Newbie
  • Posts: 3
  • Karma: 0
Re: CVS snapshot RPM generation
« Reply #6 on: March 15, 2005, 01:25:03 am »
Quote
Originally posted by leotorjeman
and what about debian systems?
i use ubuntu, is there any easy way to build an .deb package to amule?

Just create the RPM and convert it to a .deb file with 'alien' and install it manually with 'dpkg'.

Offline Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Posts: 5795
  • Karma: -665
Re: CVS snapshot RPM generation
« Reply #7 on: March 15, 2005, 01:28:41 am »
I can make the debian files into the CVS also so you can create it...

Offline phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Posts: 2503
  • Karma: 44
  • The last shadow you'll ever see
Re: CVS snapshot RPM generation
« Reply #8 on: March 15, 2005, 02:23:17 am »
Do it man, the debian folks will like it. And will also be a good opportunity for me to learn that.

Offline egaMad

  • Newbie
  • Posts: 3
  • Karma: 0
Re: CVS snapshot RPM generation
« Reply #9 on: March 15, 2005, 05:16:05 am »
Thanks guys.
There should be more people like you in the world. =)

Offline Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Posts: 1554
  • Karma: 67
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: CVS snapshot RPM generation
« Reply #10 on: March 15, 2005, 10:13:24 am »
@Kry,
You know that I have the Patches for Debian. My repository is atm only at my dyndns-Account. I'm currently working on the automated ftp-upload to my rep. There isn't much work to do for offiziell Release.
I just have to write the wrapper for using /usr/share/amule dir, and Varibables for Versioning.
Homefucking is killing prostitution

Offline leotorjeman

  • Approved Newbie
  • *
  • Posts: 39
  • Karma: 0
Re: CVS snapshot RPM generation
« Reply #11 on: March 15, 2005, 11:40:31 am »
well when i try to build the rpm on my ubuntu system i get:

Code: [Select]
leo@ubuntu:~/Desktop$ sudo rpmbuild -ta aMule-CVS-20050315.tar.bz2
rpm: To install rpm packaleo@ubuntu:~/Desktop$ sudo rpmbuild -ta aMule-CVS-20050315.tar.bz2
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open rpm database in /var/lib/rpm

Kry, thanks, i am looking foward for the debian files. just please include the commands that require to build the package.

thanks again!

Leo Torjeman

Offline phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Posts: 2503
  • Karma: 44
  • The last shadow you'll ever see
Re: CVS snapshot RPM generation
« Reply #12 on: March 15, 2005, 12:27:32 pm »
leotorjeman,

If I understand correctly, Ubuntu is debian based, so rpms are not for you ;)

You will have to wait until Kry puts the debian support inside the tarball.

Cheers!

Offline Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Posts: 5795
  • Karma: -665
Re: CVS snapshot RPM generation
« Reply #13 on: March 15, 2005, 12:32:55 pm »
Or, as the message you posted said[/i], use alien

Offline leotorjeman

  • Approved Newbie
  • *
  • Posts: 39
  • Karma: 0
Re: CVS snapshot RPM generation
« Reply #14 on: March 15, 2005, 12:41:19 pm »
Quote
Originally posted by Kry
Or, as the message you posted said[/i], use alien

well i understand that alien converts rpm to deb, but first i have to build the rpm package using rpmbuild.
anyway, i think i will just wait for the debian files.