aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

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

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • 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!
Logged

sssnake

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
  • 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/?
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • 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!
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • 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! :)
Logged

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
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
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • 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.
Logged

egaMad

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
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'.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
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...
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • 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.
Logged

egaMad

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
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. =)
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • 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.
Logged
Homefucking is killing prostitution

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
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
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • 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!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
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
Logged

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
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.
Logged
Pages: [1] 2 3