On Sun, Mar 4, 2012 at 11:25 PM, chetan patil <chtpatil(a)gmail.com> wrote:
Hi,
Recently I wanted to install LinuxDC++ on fedora 16.
However couldn't do so as the package for same wasn't available
as said here
: https://admin.fedoraproject.org/pkgdb/applications/Linuxdc++?_csrf_token=89a187d96edd61c9ece54fdb7094ab59ce17bcef
If someone can guide me on then I'll make this package for LinuxDC++ for
Fedora 16.
Building a RPM is quite straightforward.
Since this package already available in earlier releases, you only
need to fetch it source RPM.
http://rpm.pbone.net/index.php3/stat/26/dist/73/size/297373/name/linuxdcp...
And then install and rebuild it:
$ rpm -i linuxdcpp-1.0.3-4.fc12.src.rpm
$ cd ~/rpmbuild/SPECS
$ rpmbuild -ba linuxdcpp.spec
NOTE: It will probably fail due to missing dependencies:
error: Failed build dependencies:
scons is needed by linuxdcpp-1.0.3-4.fc16.x86_64
gtk2-devel >= 2.10.0 is needed by linuxdcpp-1.0.3-4.fc16.x86_64
glib2-devel >= 2.14.0 is needed by linuxdcpp-1.0.3-4.fc16.x86_64
libglade2-devel >= 2.4.0 is needed by linuxdcpp-1.0.3-4.fc16.x86_64
bzip2-devel is needed by linuxdcpp-1.0.3-4.fc16.x86_64
Which can be easily fixed by installing them:
$ sudo yum install gtk2-devel glib2-devel libglade2-devel bzip2-devel
Now do it again.
$ rpmbuild -ba linuxdcpp.spec
Thats should be it.
An even easier way is to build via Koji infrastructure.
http://koji.fedoraproject.org/koji/taskinfo?taskID=3852281
HTH
/tuxdna