[devel] странность с зависимостями

Igor Zubkov =?iso-8859-1?q?icesik_=CE=C1_mail=2Eru?=
Сб Ноя 26 23:52:33 MSK 2005


Привет, Всем!

Имеется спек из аттача.

Странность такая:
[icesik на nirvana icesik]$ rpm -q --requires polypaudio
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
coreutils  
libICE.so.6  
libSM.so.6  
libX11.so.6  
libalsa-util.so  
libasound.so.2  
libasound.so.2(ALSA_0.9)  
libasound.so.2(ALSA_0.9.0rc4)  
libauthkey-prop.so  
libauthkey.so  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.1.2)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.3)  
libc.so.6(GLIBC_2.3.4)  
libcap.so.1  
libcli.so  
libdl.so.2  
libiochannel.so  
libioline.so  
libltdl.so.3  
libm.so.6  
libm.so.6(GLIBC_2.0)  
liboss-util.so  
libpacket.so  
libpdispatch.so  
libpolyp-0.7.so.0  
libpolyp-error-0.7.so.0  
libpolyp-mainloop-0.7.so.0  
libprotocol-cli.so  
libprotocol-esound.so  
libprotocol-native.so  
libprotocol-simple.so  
libpstream-util.so  
libpstream.so  
libpthread.so.0  
libpthread.so.0(GLIBC_2.0)  
libsamplerate.so.0  
libsamplerate.so.0(libsamplerate.so.0.0)  
libsndfile.so.1  
libsndfile.so.1(libsndfile.so.1.0)  
libsocket-client.so  
libsocket-server.so  
libsocket-util.so  
libstrlist.so  
libtagstruct.so  
libwrap.so.0  
libx11prop.so  
libx11wrap.so  
sh  
[icesik на nirvana icesik]$ 

Так вот, мне интересно, откуда наш rpm берёт libx11prop.so и компанию? Они все 
лежат в /usr/lib/polypaudio-0.7/. При сборке используется 
%add_findprov_lib_path %_libdir/polypaudio-0.7/

Чего ему не хватает? Без %add_findprov_lib_path тоже самое.

-- 
http://www.livejournal.com/users/icesik/7614.html
http://www.livejournal.com/users/icesik/7393.html
http://www.livejournal.com/users/icesik/7024.html
----------- следующая часть -----------
Name: polypaudio
Version: 0.7
Release: alt1

Summary: Polypaudio is a sound server for Linux
Group: System/Servers
License: LGPL
Url: http://0pointer.de/lennart/projects/polypaudio/

Source0: %name-%version.tar.gz
Patch0: %name-%version-alt-install.patch

Packager: Igor Zubkov <icesik на altlinux.ru>

%add_findprov_lib_path %_libdir/polypaudio-0.7/

# Automatically added by buildreq on Tue Nov 15 2005
BuildRequires: doxygen gcc-c++ glib-devel glib2-devel libalsa-devel libcap-devel libltdl-devel libsamplerate-devel libsndfile-devel libstdc++-devel libwrap-devel lynx pkgconfig xorg-x11-devel

%description
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND). It is my ultimate ambition to
get Polypaudio into Gnome as a replacement for ESOUND. In addition
to the features ESOUND provides polypaudio has:
* Extensible   plugin  architecture  (by  loading  dynamic  loadable
  modules with dlopen())
* Support for more than one sink/source
* Better low latency behaviour
* Embedabble into other software (the core is available as C library)
* Completely asynchronous C API
* Simple command line interface for reconfiguring the daemon while running
* Flexible, implicit sample type conversion and resampling
* "Zero-Copy" architecture
* Module autoloading
* Very accurate latency measurement for playback and recordin.
* May  be  used  to combine multiple sound cards to one (with sample
  rate adjustment)
* Client side latency interpolation

This is package contains polypaudio server.

%package -n lib%name
Summary: Polypaudio shared libraries
Group: System/Libraries

%description -n lib%name
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND).

This package contains the polypaudio shared libraries.

%package -n lib%name-devel
Summary: Development files for %name
Group: Development/C

%description -n lib%name-devel
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND).

This package contains development files for polypaudio.

%package -n lib%name-devel-doc
Summary: Development documentation for %name
Group: Development/C

%description -n lib%name-devel-doc
Polypaudio is a sound server for Linux and other Unix like operating
systems. It is intended to be an improved drop-in replacement for the
Enlightened Sound Daemon (ESOUND).

This package contains doxygen documentation for polypaudio.

%prep
%setup -q
%patch0 -p1

%build
%configure \
	--disable-static
%make_build
%__make doxygen

%install
%make_install DESTDIR=%buildroot install

%files
%doc doc/FAQ.html doc/README doc/README.html doc/cli.html doc/daemon.html
%doc doc/modules.html doc/style.css doc/todo
%dir %_sysconfdir/polypaudio/
%config(noreplace) %_sysconfdir/polypaudio/*
%attr(4711,root,root) %_bindir/polypaudio
%_bindir/esdcompat.sh
%_bindir/pacat
%_bindir/pacmd
%_bindir/pactl
%_bindir/paplay
%_bindir/parec
%_bindir/pax11publish
%_libdir/polypaudio-0.7/*.so
%exclude %_libdir/polypaudio-0.7/*.la

%files -n lib%name
%_libdir/lib*.so.*

%files -n lib%name-devel
%_libdir/lib*.so
%dir %_includedir/polyp/
%_includedir/polyp/*.h
%_pkgconfigdir/*

%files -n lib%name-devel-doc
%doc doxygen/html

%changelog
* Tue Nov 15 2005 Igor Zubkov <icesik на altlinux.ru> 0.7-alt1
- Initial build for Sisyphus
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 190 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20051126/e75d883a/attachment-0001.bin>


Подробная информация о списке рассылки Devel