File openivr.spec of Package openivr
#
# spec file for package openivr (Version 1.0.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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: 450
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