Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please release RPM package, sample included. #60

Open
ykne opened this issue Apr 26, 2018 · 0 comments
Open

Please release RPM package, sample included. #60

ykne opened this issue Apr 26, 2018 · 0 comments

Comments

@ykne
Copy link

ykne commented Apr 26, 2018

I tried to eliminate external libraries as much as possible but many still left. There should be no need as all are available in modern linuxes. Please help simplifying. Resulting executable file is relatively large because of many static libraries in it.

Instructions for building fedora rpm in mock:

  1. Create temporary folder anywhere, for example:
    mkdir temp
  2. Download master.zip and external.tar.xz into it.
  3. Download icq.tar.gz and extract contents into the folder.
  4. create src.rpm, for example:
    rpmbuild -bs --define '_sourcedir temp' --define '_specdir temp' --define '_srcrpmdir temp' temp/icq.spec
  5. update /etc/mock/fedora-27-x86_64.cfg, add
[rpmfusion-free-updates]
name=rpmfusion-free-updates
#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/
metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
enabled=1
type=rpm-md
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever

before last line: """
6. run mock --rebuild $PWD/temp/icq-1-2.fc27.src.rpm it takes about 10-20 minutes to compile after all necessary packages are downloaded and installed.
7. add rpmfusion repository following instructions on https://rpmfusion.org/Configuration if not already.
8. install the package dnf install /var/lib/mock/fedora-27-x86_64/result/icq-1-2.fc27.x86_64.rpm launch from Applications->Internet menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant