Группа :: Система/Библиотеки
Пакет: libpw
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: libpw
Version: 1.9.1
Release: alt0.M24.1
Summary: Portable Windows Libary
Summary(ru_RU.KOI8-R): Переносимая Windows-библиотека
License: GPL
Group: System/Libraries
Url: http://www.openh323.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.openh323.org/bin/pwlib-%version.tar.bz2
#Patch1: %name-%version-libname.patch
#Patch2: %name-%version-install.patch
# Automatically added by buildreq on Sun Mar 20 2005
BuildRequires: aalib-devel esound flex gcc-c++ hostinfo libSDL-devel libalsa-devel libavc1394-devel libdc1394-devel libdv-devel libldap-devel libraw1394-devel libsasl2-devel libssl-devel libstdc++-devel XFree86-devel
BuildPreReq: bison
BuildPreReq: sed
BuildPreReq: libexpat-devel > 1.95.6-alt1
Provides: pwlib
Obsoletes: libpwlib
%description
PWLib is a moderately large class library that has its genesis many
years ago asa method to product applications to run on both Microsoft
Windows and Unix X-Window systems. It also was to have a Macintosh
port as well but this never eventeated. Unfortunately this package
contains no GUI code.
%description -l ru_RU.KOI8-R
PWLib -- это достаточно большая библиотека классов, которая возникла
много лет назад на основе метода asa выпускать приложения, выполняющиеся
как на Microsoft Windows, так и на Unix-системах X-Window. Также она
должна была быть портирована на Macintosh, но этого пока не случилось.
К сожалению, данный пакет не содержит кода графического интерфейса
пользователя.
%package devel
Summary: Portable Windows Libary development files
Summary(ru_RU.KOI8-R): Файлы для разработки с переносимой оконной библиотекой
Group: Development/C
Requires: %name = %version-%release
Obsoletes: libpwlib-devel
%description devel
Header files and libraries for developing applications that use pwlib.
%description devel -l ru_RU.KOI8-R
Заголовочные файлы и библиотеки для разработки программ, использующих pwlib.
%package plugins
Summary: Main plugins for pwlib
Group: System/Libraries
Requires: %name = %version-%release
%description plugins
This package contains the oss, alsa and v4l plugins for pwlib
%package plugins-dc
Summary: Dc plugin for pwlib
Group: System/Libraries
Requires: %name = %version-%release
%description plugins-dc
This package contains the dc plugin for pwlib
%package plugins-avc
Summary: AVC plugin for pwlib
Group: System/Libraries
Requires: %name = %version-%release
%description plugins-avc
This package contains the AVC plugin for pwlib
%prep
%setup -qn pwlib-%version
#%patch1
#%patch2
%build
#%%add_optflags -fno-unit-at-a-time
%configure \
--enable-plugins --enable-rtti \
--enable-openh323 --enable-alsa --enable-oss
%make_build
# optshared OPTCCFLAGS="$RPM_OPT_FLAGS"
%install
%make_install install DESTDIR=$RPM_BUILD_ROOT
#fix PWLIBDIR
perl -pi -e 's|(PWLIBDIR.*)=.*|\1= %_datadir/pwlib|' %buildroot%_datadir/pwlib/make/ptbuildopts.mak
#fix doc perms
chmod a+r *.txt
#remove unpackaged files
rm -f %buildroot%_datadir/pwlib/make/*.{pat,in,lib64,libname,pwlibdir,includesdir}
# fix ptlib-config
install -d %buildroot%_bindir
ln -snf %_datadir/pwlib/make/ptlib-config %buildroot%_bindir/ptlib-config
# fix strange perms
find %buildroot -type d -perm 0700 -exec chmod 755 {} \;
find %buildroot -type f -perm 0555 -exec chmod 755 {} \;
find %buildroot -type f -perm 0444 -exec chmod 644 {} \;
%post
%post_ldconfig
%postun
%post_ldconfig
%files
%doc *.txt
%_libdir/lib*.so.*
%files devel
%_bindir/*
%_includedir/*
%_libdir/*.so
%dir %_datadir/pwlib
%_datadir/pwlib/*
%files plugins
%dir %{_libdir}/pwlib
%dir %{_libdir}/pwlib/devices
%dir %{_libdir}/pwlib/devices/sound
%dir %{_libdir}/pwlib/devices/videoinput
%attr(0755,root,root) %{_libdir}/pwlib/devices/sound/alsa_pwplugin.so
%attr(0755,root,root) %{_libdir}/pwlib/devices/sound/oss_pwplugin.so
%attr(0755,root,root) %{_libdir}/pwlib/devices/videoinput/v4l_pwplugin.so
%files plugins-dc
%attr(0755,root,root) %{_libdir}/pwlib/devices/videoinput/dc_pwplugin.so
%files plugins-avc
%attr(0755,root,root) %{_libdir}/pwlib/devices/videoinput/avc_pwplugin.so
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.9.1
Release: alt0.M24.1
Summary: Portable Windows Libary
Summary(ru_RU.KOI8-R): Переносимая Windows-библиотека
License: GPL
Group: System/Libraries
Url: http://www.openh323.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.openh323.org/bin/pwlib-%version.tar.bz2
#Patch1: %name-%version-libname.patch
#Patch2: %name-%version-install.patch
# Automatically added by buildreq on Sun Mar 20 2005
BuildRequires: aalib-devel esound flex gcc-c++ hostinfo libSDL-devel libalsa-devel libavc1394-devel libdc1394-devel libdv-devel libldap-devel libraw1394-devel libsasl2-devel libssl-devel libstdc++-devel XFree86-devel
BuildPreReq: bison
BuildPreReq: sed
BuildPreReq: libexpat-devel > 1.95.6-alt1
Provides: pwlib
Obsoletes: libpwlib
%description
PWLib is a moderately large class library that has its genesis many
years ago asa method to product applications to run on both Microsoft
Windows and Unix X-Window systems. It also was to have a Macintosh
port as well but this never eventeated. Unfortunately this package
contains no GUI code.
%description -l ru_RU.KOI8-R
PWLib -- это достаточно большая библиотека классов, которая возникла
много лет назад на основе метода asa выпускать приложения, выполняющиеся
как на Microsoft Windows, так и на Unix-системах X-Window. Также она
должна была быть портирована на Macintosh, но этого пока не случилось.
К сожалению, данный пакет не содержит кода графического интерфейса
пользователя.
%package devel
Summary: Portable Windows Libary development files
Summary(ru_RU.KOI8-R): Файлы для разработки с переносимой оконной библиотекой
Group: Development/C
Requires: %name = %version-%release
Obsoletes: libpwlib-devel
%description devel
Header files and libraries for developing applications that use pwlib.
%description devel -l ru_RU.KOI8-R
Заголовочные файлы и библиотеки для разработки программ, использующих pwlib.
%package plugins
Summary: Main plugins for pwlib
Group: System/Libraries
Requires: %name = %version-%release
%description plugins
This package contains the oss, alsa and v4l plugins for pwlib
%package plugins-dc
Summary: Dc plugin for pwlib
Group: System/Libraries
Requires: %name = %version-%release
%description plugins-dc
This package contains the dc plugin for pwlib
%package plugins-avc
Summary: AVC plugin for pwlib
Group: System/Libraries
Requires: %name = %version-%release
%description plugins-avc
This package contains the AVC plugin for pwlib
%prep
%setup -qn pwlib-%version
#%patch1
#%patch2
%build
#%%add_optflags -fno-unit-at-a-time
%configure \
--enable-plugins --enable-rtti \
--enable-openh323 --enable-alsa --enable-oss
%make_build
# optshared OPTCCFLAGS="$RPM_OPT_FLAGS"
%install
%make_install install DESTDIR=$RPM_BUILD_ROOT
#fix PWLIBDIR
perl -pi -e 's|(PWLIBDIR.*)=.*|\1= %_datadir/pwlib|' %buildroot%_datadir/pwlib/make/ptbuildopts.mak
#fix doc perms
chmod a+r *.txt
#remove unpackaged files
rm -f %buildroot%_datadir/pwlib/make/*.{pat,in,lib64,libname,pwlibdir,includesdir}
# fix ptlib-config
install -d %buildroot%_bindir
ln -snf %_datadir/pwlib/make/ptlib-config %buildroot%_bindir/ptlib-config
# fix strange perms
find %buildroot -type d -perm 0700 -exec chmod 755 {} \;
find %buildroot -type f -perm 0555 -exec chmod 755 {} \;
find %buildroot -type f -perm 0444 -exec chmod 644 {} \;
%post
%post_ldconfig
%postun
%post_ldconfig
%files
%doc *.txt
%_libdir/lib*.so.*
%files devel
%_bindir/*
%_includedir/*
%_libdir/*.so
%dir %_datadir/pwlib
%_datadir/pwlib/*
%files plugins
%dir %{_libdir}/pwlib
%dir %{_libdir}/pwlib/devices
%dir %{_libdir}/pwlib/devices/sound
%dir %{_libdir}/pwlib/devices/videoinput
%attr(0755,root,root) %{_libdir}/pwlib/devices/sound/alsa_pwplugin.so
%attr(0755,root,root) %{_libdir}/pwlib/devices/sound/oss_pwplugin.so
%attr(0755,root,root) %{_libdir}/pwlib/devices/videoinput/v4l_pwplugin.so
%files plugins-dc
%attr(0755,root,root) %{_libdir}/pwlib/devices/videoinput/dc_pwplugin.so
%files plugins-avc
%attr(0755,root,root) %{_libdir}/pwlib/devices/videoinput/avc_pwplugin.so
%changelog
…
Полный changelog можно просмотреть здесь