Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: MVP on January 06, 2007, 04:00:05 pm

Title: .deb and .rpm
Post by: MVP on January 06, 2007, 04:00:05 pm
The nightlys use these and Im curious as to what is used to create them.

Thanks, MVP.
Title: Re: .deb and .rpm
Post by: TheTuxKeeper on January 06, 2007, 06:24:02 pm
To build the RPM nightlies I do these (additionally I rename the package, but that's not that important ;))
Code
./bootstrap
./configure --enable-contrib
make dist
mv codeblocks-trunk-r* `rpm --eval %{_sourcedir}`
rpmbuild -ba codeblocks.spec
On some distributions rpmbuild is in an extra package (rpm-build or smth like that)
Take a look at the wiki: Installing Code::Blocks from source on RPM based distributions (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions)

On debian, I think sudo dpkg-buildpackage should do it (don't use debian anymore).
Title: Re: .deb and .rpm
Post by: Michael on January 21, 2007, 10:07:46 pm
The nightlys use these and Im curious as to what is used to create them.

Hello,

regarding the .deb, you can search in the C::B forums(s) and wiki. You should find some helpful information :).

Best wishes,
Michael