rpms/ptlib/F-9 import.log, NONE, 1.1 ptlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Robinson pbrobinson at fedoraproject.org
Thu Sep 11 12:05:09 UTC 2008


Author: pbrobinson

Update of /cvs/pkgs/rpms/ptlib/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13175/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	import.log ptlib.spec 
Log Message:
- Initial CVS import



--- NEW FILE import.log ---
ptlib-2_3_1-2_fc9:F-9:ptlib-2.3.1-2.fc9.src.rpm:1221125733


--- NEW FILE ptlib.spec ---
Name:		ptlib
Summary:	Portable Tools Library
Version:	2.3.1
Release:	2%{?dist}
URL:		http://www.opalvoip.org/
Source0:	ftp://ftp.gnome.org/pub/gnome/sources/ptlib/2.3/%{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, SDL-devel, flex, bison

%description
PTLib (Portable Tools Library) is a moderately large class library that 
has it's genesis many years ago as PWLib (portable Windows Library), a 
method to product applications to run on both Microsoft Windows and Unix 
systems. It has also been ported to other systems such as Mac OSX, VxWorks 
and other embedded systems.

It is supplied mainly to support the OPAL project, but that shouldn't stop
you from using it in whatever project you have in mind if you so desire. 

%package devel
Summary:	Development package for ptlib
Group:		Development/Libraries
Requires:	ptlib = %{version}-%{release}
Requires:	pkgconfig

%description devel
The ptlib-devel package includes the libraries and header files for ptlib.

%prep
%setup -q 

%build
export CFLAGS="$CFLAGS -DLDAP_DEPRECATED"
%configure --prefix=%{_prefix} --disable-static --enable-opal --enable-plugins --disable-oss --enable-v4l2 --disable-avc
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make PREFIX=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} install

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 {} \;

# Remove empty include file
rm -rf $RPM_BUILD_ROOT%{_includedir}/ptlib/devplugin.h

%clean
rm -rf $RPM_BUILD_ROOT

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

%files
%defattr(-,root,root)
%doc History.txt ReadMe.txt mpl-1.0.htm
%attr(755,root,root) %{_libdir}/libpt*.so.*
%dir %{_libdir}/ptlib
%dir %{_libdir}/ptlib/devices
%dir %{_libdir}/ptlib/devices/sound
%dir %{_libdir}/ptlib/devices/videoinput
# List these explicitly so we don't get any surprises
%attr(755,root,root) %{_libdir}/ptlib/devices/sound/alsa_pwplugin.so
%attr(755,root,root) %{_libdir}/ptlib/devices/videoinput/v4l_pwplugin.so
%attr(755,root,root) %{_libdir}/ptlib/devices/videoinput/v4l2_pwplugin.so

%files devel
%defattr(-,root,root)
%{_libdir}/libpt*.so
%{_includedir}/*
%{_datadir}/ptlib
%{_libdir}/pkgconfig/ptlib.pc
%attr(755,root,root) %{_bindir}/*

%changelog
* Wed Sep 10 2008 Peter Robinson <pbrobinson at gmail.com> - 2.3.1-2
- Build fixes from package review

* Sun Jun 8 2008 Peter Robinson <pbrobinson at gmail.com> - 2.3.1-1
- Initial version of ptlib


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ptlib/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Sep 2008 08:34:02 -0000	1.1
+++ .cvsignore	11 Sep 2008 12:04:37 -0000	1.2
@@ -0,0 +1 @@
+ptlib-2.3.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ptlib/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Sep 2008 08:34:02 -0000	1.1
+++ sources	11 Sep 2008 12:04:37 -0000	1.2
@@ -0,0 +1 @@
+bd495deba21a292348bb57ae2cb05d6a  ptlib-2.3.1.tar.bz2




More information about the fedora-extras-commits mailing list