I have a library from which I'd like to create two RPM packages.
While I found several links on how to create a basic RPM package, I can't find how to create a devel package (see this question if you wonder what a devel package is).
What do I have…
I'm trying to create a package that only updates files on the system, but I keep getting errors when rpmbuild is run. The error indicates a file is missing.
I've tried this on CentOS 5 and 6 with the same results.
I used rpmdev-setuptree to setup…
I am building a custom rpm to install apache, among other things. When i try and build i get the above error, and then it lists /httpd-2.2.17/ and all of its subfiles.
As far as i know, this is the build directory so it shouldn't be packaged. To…
In Fedora Gnome...
Using a .desktop file in my rpm, I have successfully put my gui software into the gnome application menu.
I am wondering if there is a way to also put the icon onto the gnome desktop when installing the rpm?
update:
Now I can get…
I'm generating an rpm file for centos but when I try to install it on a clean machine it fails with:
--> Running transaction check
---> Package grass.x86_64 0:6.4.4-1.el6 will be installed
--> Processing Dependency: libgrass_rli.so()(64bit) for…
I have java project with building rpm by maven. Required create noarch packets, but i see concrete arch.
I install rpm(4.4.9 or 5.2.0) via macports at MacOsX, and run command from maven rpm plugin:
sudo rpmbuild -bb -v --buildroot…
Searching open source projects, shows me that spec files in the wild do use bash constructs, for instance cat info|while read.
But is it really safe? Does the rpm documentation tells me I can count on the %build section being run by Bash?
I am creating my first package using RPM on ubuntu machine.But I am getting so many difficulties.I tried so many commands to install rpmdevtools using "yum" but it is giving error as There are not repos enabled.
When I try to install it using…
Is it possible for single rpm package to belong to several groups?
In spec file you can set package group:
Group: System Environment/Base
What I need is to be able to set several groups for this package (like System|Util|MyCompanyName) - they…
import os
from setuptools import setup
from distutils.command.install import install as _install
def _post_install(dir):
from subprocess import call
call([sys.executable, 'post_script.py'],
cwd=os.path.join(dir, 'script_folder'))
class…
I have been struggling for a while with this one.
So I wrote a .specs file for my project and everything went fine. The rpm is built, the installation is smooth... but then I got some trouble because now, I have to use a custom global environment…
Name: My Software
Version: 1.0.5
Release: 1
Summary: This is my software
Not sure if anyone has tried this before or if it is easy, but:
A spec file has two unique indicators for its…
Passing User defined argument to RPM is possible while installing?.
for example:
~>rpm -i sample.rpm -license_path=/path/
or
~>rpm -i -license_path=/path/ sample.rpm
or
~>rpm -i -somearg sample.rpm
-Sakthi