[ptlib] 2.8.1
Peter Robinson
pbrobinson at fedoraproject.org
Thu Dec 23 09:42:25 UTC 2010
commit 488c645d728ff013f6d9573b796b735cd405777f
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Thu Dec 23 09:42:12 2010 +0000
2.8.1
.gitignore | 1 +
ptlib.spec | 36 +++++++++++++++---------------------
sources | 2 +-
3 files changed, 17 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 644846b..a9baa99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
ptlib-2.6.7.tar.bz2
+/ptlib-2.8.3.tar.bz2
diff --git a/ptlib.spec b/ptlib.spec
index 967ecb4..df07ccb 100644
--- a/ptlib.spec
+++ b/ptlib.spec
@@ -1,18 +1,16 @@
Name: ptlib
Summary: Portable Tools Library
-Version: 2.6.7
+Version: 2.8.3
Release: 1%{?dist}
URL: http://www.opalvoip.org/
-Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
+Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
License: MPLv1.0
Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: expat openssl-devel pkgconfig
-BuildRequires: alsa-lib-devel, libstdc++-devel, libv4l-devel
-BuildRequires: openldap-devel, expat-devel, flex, bison
-BuildRequires: SDL-devel
-Obsoletes: pwlib
+BuildRequires: pkgconfig, expat-devel, flex, bison
+BuildRequires: alsa-lib-devel, libv4l-devel
+BuildRequires: openldap-devel, SDL-devel, openssl-devel
+BuildRequires: boost-devel, pulseaudio-libs-devel
%description
PTLib (Portable Tools Library) is a moderately large class library that
@@ -29,7 +27,6 @@ Summary: Development package for ptlib
Group: Development/Libraries
Requires: ptlib = %{version}-%{release}
Requires: pkgconfig
-Obsoletes: pwlib-devel
%description devel
The ptlib-devel package includes the libraries and header files for ptlib.
@@ -39,23 +36,16 @@ The ptlib-devel package includes the libraries and header files for ptlib.
%build
export CFLAGS="$CFLAGS -DLDAP_DEPRECATED"
-%configure --prefix=%{_prefix} --disable-static --enable-plugins --disable-oss --enable-v4l2 --disable-avc --disable-v4l
+%configure --prefix=%{_prefix} --disable-static --enable-plugins --disable-oss --enable-v4l2 --disable-avc --disable-v4l --enable-pulse
make %{?_smp_mflags} V=1
%install
-rm -rf $RPM_BUILD_ROOT
+make PREFIX=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_libdir} install
-make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} install
+perl -pi -e 's at PTLIBDIR.*=.*@PTLIBDIR = /usr/share/ptlib@' %{buildroot}%{_datadir}/ptlib/make/ptbuildopts.mak
-perl -pi -e 's at PTLIBDIR.*=.*@PTLIBDIR = /usr/share/ptlib@' $RPM_BUILD_ROOT%{_datadir}/ptlib/make/ptbuildopts.mak
-
-# hack to fixup things for bug 197318
-find $RPM_BUILD_ROOT%{_libdir} -name '*.so*' -type f -exec chmod +x {} \;
-
-rm -rf $RPM_BUILD_ROOT%{_libdir}/libpt_s.a
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+#Remove static libs
+find %{buildroot} -name '*.a' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -70,6 +60,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_libdir}/%{name}-%{version}/devices/videoinput
# List these explicitly so we don't get any surprises
%attr(755,root,root) %{_libdir}/%{name}-%{version}/devices/sound/alsa_pwplugin.so
+%attr(755,root,root) %{_libdir}/%{name}-%{version}/devices/sound/pulse_pwplugin.so
%attr(755,root,root) %{_libdir}/%{name}-%{version}/devices/videoinput/v4l2_pwplugin.so
%files devel
@@ -81,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/*
%changelog
+* Tue Dec 21 2010 Peter Robinson <pbrobinson at gmail.com> - 2.8.1-1
+- New 2.8.1 stable release
+
* Mon May 31 2010 Peter Robinson <pbrobinson at gmail.com> - 2.6.7-1
- New 2.6.7 stable release
diff --git a/sources b/sources
index e0349bb..0967fde 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-37279b5cf4aa64890eb9f38b4500ec6f ptlib-2.6.7.tar.bz2
+0293a9029fe4164bb63ff8ca15db8703 ptlib-2.8.3.tar.bz2
More information about the scm-commits
mailing list