[devel] Re: IA: eliminating TEXTRELocations

Michael Shigorin =?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Пн Ноя 10 21:09:45 MSK 2003


On Mon, Nov 10, 2003 at 03:21:05PM +0300, Dmitry V. Levin wrote:
> libalsa-0.9.8-alt1

Вот пробую собирать alt2 с приложенным спеком.

---
Verifying and fixing files in /usr/src/RPM/tmp/libalsa-buildroot (binconfig,pkgconfig,libtool)
/usr/lib/pkgconfig/alsa.pc: Libs: '-L${libdir} -lasound -lm -ldl -lpthread' --> '-lasound -lm -ldl -lpthread'
/usr/lib/libasound.la: dependency_libs: ' -lm -ldl -lpthread' --> '-lm -ldl -lpthread'
Compressing files in /usr/src/RPM/tmp/libalsa-buildroot (auto)
Verifying ELF objects in /usr/src/RPM/tmp/libalsa-buildroot (rpath=normal,textrel=normal)
verify-elf: ./usr/lib/libasound.so.2.0.0: TEXTREL entry found: 0x0
error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.75541 (%install)
---

%optflags_shared в наличии.  Что дальше? (точнее: кто-то может
поправить?)

-- 
 ---- WBR, Michael Shigorin <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/
----------- следующая часть -----------
Name: libalsa
Version: 0.9.8
Release: alt1

Summary: Advanced Linux Sound Architecture (ALSA) library
License: GPL
Group: System/Libraries

%define srcname alsa-lib

Url: http://www.alsa-project.org
Source: ftp://ftp.alsa-project.org/pub/lib/%srcname-%version.tar.bz2

Obsoletes: libalsa2 < 0.9.4
Provides: libalsa2 = %version
BuildPreReq: alsa-driver-headers >= %version

# Automatically added by buildreq on Wed Oct 22 2003
BuildRequires: glibc-devel-static mawk

%add_optflags %optflags_shared

%package -n aserver
Summary: Sound server for alsa
License: GPL
Group: Sound
Requires: %name = %version-%release

%package devel
Summary: Development environment for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C

Requires: %name = %version-%release
Provides: libalsa2-devel = %version
Obsoletes: libalsa2-devel

%package devel-static
Summary: Static libraries for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C
Requires: %name-devel = %version-%release

%description -n aserver
Sound server for alsa

%description
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.

%description devel
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.

This is the development environment to compile ALSA applications.

%description devel-static
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.

This package contains static library to build statically linked ALSA applications.

%prep
%setup -q -n %srcname-%version

%build
%configure --enable-static
%make_build

%install
%__mkdir_p %buildroot{%_libdir,%_includedir/sys}
%makeinstall

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%_libdir/*.so.*
%dir %_datadir/alsa/
%_datadir/alsa/*

%files devel
%_libdir/*.so
%_libdir/*.la
%_libdir/pkgconfig/alsa.pc
%_includedir/sys/*
%dir %_includedir/alsa
%_includedir/alsa/*
%_datadir/aclocal/*

%files devel-static
%_libdir/*.a

%files -n aserver
%_bindir/aserver

%changelog
* Sat Nov 08 2003 Michael Shigorin <mike на altlinux.ru> 0.9.8-alt1
- added %optflags_shared

* Wed Oct 22 2003 Michael Shigorin <mike на altlinux.ru> 0.9.8-alt1
- 0.9.8

* Fri Sep 26 2003 Michael Shigorin <mike на altlinux.ru> 0.9.7-alt1
- 0.9.7

* Wed Jul 30 2003 Michael Shigorin <mike на altlinux.ru> 0.9.6-alt1
- 0.9.6

* Tue Jul 15 2003 Michael Shigorin <mike на altlinux.ru> 0.9.5-alt1
- 0.9.5

* Tue Jul 08 2003 Michael Shigorin <mike на altlinux.ru> 0.9.4-alt2
- fixed forcibly broken BuildRequires as kernel-source-alsa-std got fixed
  (alsa-driver-headers >= %%version)

* Mon Jun 23 2003 Michael Shigorin <mike на altlinux.ru> 0.9.4-alt1
- 0.9.4
- renamed to libalsa

* Wed Apr 02 2003 Michael Shigorin <mike на altlinux.ru> 0.9.2-alt0.1
- 0.9.2 (unofficial build)

* Tue Feb 04 2003 Rider <rider на altlinux.ru> 0.9.0rc7-alt1
- 0.9.0rc7

* Tue Nov 26 2002 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0rc6-alt1
- 0.9.0rc6
- REbuilt in new environment

* Mon Jun 10 2002 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0rc1-alt2
- Removed requires to virtual kernel alsa

* Fri Jun 07 2002 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0rc1-alt1
- 0.9.0rc1

* Thu Feb 28 2002 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0beta12-alt1
- 0.9.0beta12

* Wed Dec 26 2001 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0beta10a-alt1
- 0.9.0beta10a

* Tue Nov 20 2001 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0beta9-alt1
- 0.9.0beta9

* Fri Oct 12 2001 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0beta8a-alt1
- 0.9.0beta8a
- Fixed requires
- Fixed filelists

* Fri Sep 21 2001 Konstantin Volckov <goldhead на altlinux.ru> 0.9.0beta7-alt1
- First build for Sisyphus
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20031110/03f3fe4e/attachment-0001.bin>


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