Mailinglist Archive: opensuse-buildservice (177 mails)

< Previous Next >
[opensuse-buildservice] Re: RPM naming conventions in OBS
On Thu 15 Dec 2016 11:10:44 AM CST, Neal Gompa wrote:

On Thu, Dec 15, 2016 at 11:03 AM, Jan Engelhardt <jengelh@xxxxxxx>
wrote:

On Thursday 2016-12-15 17:01, Roger Oberholtzer wrote:

My problem is when I want to install the -devel package as well. In
this case, I need to install libsndfile-devel. Note the missing '1'
in the name.

My question is, given that I know the name of the library RPM, how
can I derive the name of the -devel package? Sometimes it is just to
add -devel to the name. Sometimes not.

1. rpm -qi libsndfile1 => gives you the SRPM name.
2. checkout openSUSE:Factory/$name/$name.spec and look for
one or more devel subpackages.

Usually, you can install things using their pkgconfig() or cmake()
Provides.

for example, to install on openSUSE systems, you can use "zypper
install -C 'pkgconfig(sndfile)'".

On Red Hat/Fedora systems, "yum install 'pkgconfig(sndfile)'" works in
the same manner.


Hi
Zypper will also fine the file...
zypper --no-refresh se -i -f libsndfile.so.1

Maybe look at YaST add on creator to build a repo for all you files
and deploy?

--
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-41-default
up 2:03, 3 users, load average: 0.35, 0.35, 0.25
CPU AMD Athlon(tm) II X4 635 @ 2.90GHz | GPU Nvidia GeForce 8800 GT


--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups