%define cvs 20071226 %if %cvs %define release %mkrel 0.%cvs.7 %else %define release %mkrel 6 %{expand:%%define o_ver %(echo v%{version}| sed "s#\.#_#g")} %endif Summary: H.323 conferencing server Name: openmcu Version: 2.2.3 Release: %{release} License: MPL Group: Communications BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot URL: http://www.h323plus.org/ %if %cvs Source0: %{name}-%{cvs}.tar.lzma %else Source0: http://prdownloads.sourceforge.net/openh323/%{name}-%{o_ver}-src-tar.bz2 %endif Patch0: openmcu-2.2.1-mak_files.patch Patch1: openmcu_v2_2_1-doc_fixes.diff BuildRequires: openh323-devel BuildRequires: pwlib-devel %description A free H.323 conferencing server. Part of the H323plus project. Features: --------- - requires no codec hardware to operate - currently supports G.711 and GSM audio codecs and H.261 video codecs - can accept multiple connections simultaneously - several different conferences can be talking place at the same time using the 'rooms' feature - display statistics on calls in progress - initiate calls from the MCU to remote endpoints %prep %if %cvs %setup -q -n %{name} %else %setup -q -n %{name}_%{o_ver} %endif %patch0 -p1 %patch1 -p1 %build export CFLAGS="%{optflags} -DLDAP_DEPRECATED" export CXXFLAGS="%{optflags} -DLDAP_DEPRECATED" %make \ OPTCCFLAGS="%{optflags}" \ PWLIBDIR=%{_datadir}/pwlib \ OPENH323DIR=%{_prefix} \ PREFIX=%{_prefix} \ PWLIB_BUILD=1 \ OH323_LIBDIR=%{_libdir} \ optshared %install rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -m0755 obj_*/%{name} %{buildroot}%{_bindir} install -m0644 %{name}.1 -D %{buildroot}%{_mandir}/man1/%{name}.1 %clean rm -rf %{buildroot} %files %defattr(0644,root,root,0755) %doc ReadMe.txt %attr(0755,root,root) %{_bindir}/* %{_mandir}/man1/* %changelog * Wed May 04 2011 Oden Eriksson 2.2.3-0.20071226.5mdv2011.0 + Revision: 666957 - mass rebuild * Fri Dec 03 2010 Oden Eriksson 2.2.3-0.20071226.4mdv2011.0 + Revision: 607020 - rebuild * Sat Jan 02 2010 Jérôme Brenier 2.2.3-0.20071226.3mdv2010.1 + Revision: 485365 - bump cvs release + Funda Wang - rediff make file patch * Tue Jun 17 2008 Thierry Vignaud 2.2.3-0.20071226.2mdv2009.0 + Revision: 223368 - rebuild - fix no-buildroot-tag * Mon Dec 31 2007 Adam Williamson 2.2.3-0.20071226.2mdv2008.1 + Revision: 139911 - rebuild for older openh323 / pwlib * Thu Dec 27 2007 Adam Williamson 2.2.3-0.20071226.1mdv2008.1 + Revision: 138283 - bump version - rebuild against h323plus / pwlib 1.12 - drop deque.patch (merged upstream) - update URL and description - clean and simplify spec - go to CVS snapshot (from h323plus CVS) to build against current h323plus / pwlib + Thierry Vignaud - kill re-definition of %%buildroot on Pixel's request * Fri Jun 08 2007 Adam Williamson 2.2.1-1mdv2008.0 + Revision: 37021 - rebuild for new era - define OH323_LIBDIR in %%make (fix x86-64 build) - introduce patch3 (fix build) - rediff patch2 - drop patch1 (no longer needed) - drop manual requires - un-versionate buildrequires - bunzip2 patches - new release 2.2.1 - Import openmcu * Fri Nov 18 2005 Oden Eriksson 2.1.0-5mdk - rebuilt against openssl-0.9.8a * Tue Sep 06 2005 Oden Eriksson 2.1.0-4mdk - rebuild * Tue Aug 30 2005 Oden Eriksson 2.1.0-3mdk - rebuilt against new openldap-2.3.6 libs - pass "-DLDAP_DEPRECATED" to the CFLAGS * Sun Jul 31 2005 Guillaume Bedot 2.1.0-2mdk - rebuild * Tue Mar 22 2005 Oden Eriksson 2.1.0-1mdk - 2.1.0 - added rediffed P1 and P2 (debian) * Thu Sep 30 2004 Gwenole Beauchesne 1.13.4-4mdk - nuke buildrequires and even conflict with vpb-devel * Tue Sep 21 2004 Frederic Crozat 1.13.4-3mdk - Rebuild with latest pwlib/openh323 * Tue Jun 29 2004 Michael Scherer 1.13.4-2mdk - rebuild for new gcc * Thu May 20 2004 Per Øyvind Karlsen 1.13.4-1mdk - 1.13.4 - buildrequires - drop P1 - cleanups * Fri Sep 12 2003 Florin 1.1.7-1mdk - 1.1.7 - add the includes patch * Tue Mar 11 2003 Florin 1.1.5-1mdk - 1.1.5 - update requires * Mon Oct 28 2002 Florin 1.0.19-1mdk - 1.0.19 - update the mak_files patch - update the Requires * Wed Aug 14 2002 Gwenole Beauchesne 1.0.18-2mdk - Automated rebuild with gcc 3.2-0.3mdk * Fri Aug 02 2002 Florin 1.0.18-1mdk - 1.0.18 * Fri Jul 26 2002 Gwenole Beauchesne 1.0.17-2mdk - Automated rebuild with gcc3.2 * Mon May 06 2002 Florin 1.0.17-1mdk - 1.0.17 * Tue Mar 12 2002 Florin 1.0.14-2mdk - rebuild with the latest pwlib * Tue Feb 26 2002 Florin 1.0.14-1mdk - 1.0.14 * Fri Nov 30 2001 Florin 1.0.10-2mdk - recompile against the new openh323 and pwlib libs * Mon Nov 19 2001 Florin 1.0.10-1mdk - 1.0.10 * Tue Oct 23 2001 Florin 1.0.9-5mdk - new pwlib and openh323 * Sat Oct 13 2001 Stefan van der Eijk 1.0.9-4mdk - BuildRequires: pwlib-devel * Wed Sep 12 2001 Florin 1.0.9-3mdk - rebuild with the new pwlib1 and openh323_1 changes - add requires on the versions of these-libs * Wed Aug 22 2001 Florin 1.0.9-2mdk - add requires on pwlib and openh323 * Tue Aug 21 2001 Florin 1.0.9-1mdk - new spec