[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RPM Build



Thanks for the info. Successfully built and installed on x86_64

Only one correction: If built in a user home directory then

As root:
* rpm -ihv ~/rpmbuild/RPMS/noarch/ledgersmb-1.2.12-1.noarch.rpm
~[USERNAME]/rpmbuild/RPMS/noarch/ledgersmb-1.2.12-1.noarch.rpm


--
Gary Richardson
Richardson Janitorial and More
www.nodirtyfloors.com

I don't know anything about official rpms. But I can tell you one way to make rpms yourself:

As root:
* yum install rpm-build rpmdevtools

As user:
* rpmdev-setuptree
* wget http://heanet.dl.sourceforge.net/sourceforge/ledger-smb/ledgersmb-1.2.12.tar.gz * (Read dists/rpm/ledgersmb.spec to see which cpan packages are missing) * wget http://mirrors.dotsrc.org/cpan/modules/by-module/Class/Class-Std-v0.0.8.tar.gz * wget http://mirrors.dotsrc.org/cpan/modules/by-module/Config/Config-Std-v0.0.4.tar.gz * wget http://mirrors.dotsrc.org/cpan/modules/by-module/Locale/Locale-Maketext-Lexicon-0.62.tar.gz
* rpmbuild -ta ledgersmb-1.2.12.tar.gz

As root:
* rpm -ihv ~/rpmbuild/RPMS/noarch/ledgersmb-1.2.12-1.noarch.rpm