Репозитории ALT
Группа :: Система/Библиотеки
Пакет: libzio
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: libzio
Version: 0.1
Release: alt2
License: GPL
Group: System/Libraries
Summary: A library for accessing compressed text files
Source: libzio-%version.tar.bz2
Patch: libzio-%version-suse.patch
BuildPreReq: zlib-devel, bzlib-devel
%package devel
Summary: Development files for the %name library
Group: Development/C
Requires: %name = %version-%release
%description
Libzio provides a wrapper function for reading or writing gzip/bzip2
files with FILE streams.
%description devel
Libzio provides a wrapper function for reading or writing gzip/bzip2
files with FILE streams.
This package contains library and header files needed for
building %name-aware applications.
%prep
%setup -q
%patch -p0
%build
%make_build libdir=/%_lib
%install
%make_install install DESTDIR=%buildroot libdir=/%_lib mandir=%_mandir
# Relocate development library from /%_lib/ to %_libdir/.
%__mkdir_p %buildroot%_libdir
for f in %buildroot/%_lib/*.so; do
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'`
[ -n "$t" ]
%__ln_s -nf ../../%_lib/"$t" "%buildroot%_libdir/${f##*/}"
%__rm -f "$f"
done
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc README
/%_lib/*.so.*
%files devel
%_libdir/*.so
%_includedir/*
%_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.1
Release: alt2
License: GPL
Group: System/Libraries
Summary: A library for accessing compressed text files
Source: libzio-%version.tar.bz2
Patch: libzio-%version-suse.patch
BuildPreReq: zlib-devel, bzlib-devel
%package devel
Summary: Development files for the %name library
Group: Development/C
Requires: %name = %version-%release
%description
Libzio provides a wrapper function for reading or writing gzip/bzip2
files with FILE streams.
%description devel
Libzio provides a wrapper function for reading or writing gzip/bzip2
files with FILE streams.
This package contains library and header files needed for
building %name-aware applications.
%prep
%setup -q
%patch -p0
%build
%make_build libdir=/%_lib
%install
%make_install install DESTDIR=%buildroot libdir=/%_lib mandir=%_mandir
# Relocate development library from /%_lib/ to %_libdir/.
%__mkdir_p %buildroot%_libdir
for f in %buildroot/%_lib/*.so; do
t=`objdump -p "$f" |awk '/SONAME/ {print $2}'`
[ -n "$t" ]
%__ln_s -nf ../../%_lib/"$t" "%buildroot%_libdir/${f##*/}"
%__rm -f "$f"
done
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc README
/%_lib/*.so.*
%files devel
%_libdir/*.so
%_includedir/*
%_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь