File openivr.spec of Package openivr
#
# spec file for package openivr (Version 1.0.6)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: openivr
BuildRequires: SDL-devel gcc-c++ libdv openh323-devel openldap2-devel pwlib-devel speex-devel
URL: http://www.openh323.org
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
Group: Productivity/Telephony/H323/Servers
Summary: H.323 Interactive Voice Response
Version: 1.0.6
Release: 279
Source0: openivr-%{version}.tar.bz2
%description
H.323 Interactive Voice Response.
%prep
%setup -q -n openivr
%build
make PREFIX=/usr OPENH323DIR=/usr/share/openh323 OH323_LIBDIR=%{_libdir} opt
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
export M=`uname -m`
if [ `uname -m | cut -b 3-` == "86" ]; then
export M="x86"
fi
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install -c obj_linux_"$M"_r/openivr $RPM_BUILD_ROOT/usr/sbin
%clean
# Clear up the mess
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%doc ReadMe.txt root.vxml messages.mc
/usr/sbin/openivr
%changelog
* Sat May 12 2007 - olh@suse.de
- remove unused libavc1394-devel libdc1394-devel from Buildrequires
* Thu Mar 09 2006 - bk@suse.de
- Use explicit gcc-c++ in BuildRequires (was implicit by SDL-devel)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Aug 19 2004 - kkaempf@suse.de
- update to 1.0.6 (from CVS)
* Mon Mar 22 2004 - kkaempf@suse.de
- update to 1.13.4
* Mon Mar 08 2004 - ro@suse.de
- added libdc1394-devel to neededforbuild
* Sun Feb 22 2004 - ro@suse.de
- updated neededforbuild and make-flags
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Fri Jul 18 2003 - kkaempf@suse.de
- update to 1.0.6
* Sun Jan 26 2003 - meissner@suse.de
- ppc64 support, cleaned up arch handling
* Mon Nov 11 2002 - kkaempf@suse.de
- Initial version 1.0.3