LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File openivr.spec of Package openivr (Project network:telephony)

#
# spec file for package openivr
#
# Copyright (c) 2012 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/
#


%ifarch %ix86
%define arch x86
%else
%define arch %{_target_cpu}
%endif

Name:           openivr
BuildRequires:  SDL-devel
BuildRequires:  gcc-c++
BuildRequires:  libdv
BuildRequires:  openh323-devel
BuildRequires:  openldap2-devel
BuildRequires:  pwlib-devel
BuildRequires:  speex-devel
Url:            http://www.openh323.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        H.323 Interactive Voice Response
License:        MPL-1.1
Group:          Productivity/Telephony/H323/Servers
Version:        1.0.6
Release:        0
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
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install -c obj_linux_%{arch}_r/openivr $RPM_BUILD_ROOT/usr/sbin

%files
%defattr(-,root,root)
%doc ReadMe.txt root.vxml messages.mc
/usr/sbin/openivr

%changelog