File t38modem.spec of Package t38modem

#
# spec file for package t38modem (Version 0.7.0)
#
# 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:           t38modem
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)
AutoReqProv:    on
Group:          Productivity/Telephony/H323/Servers
Summary:        T.38 for OpenH323 (modem-compatible interface for IP telephony)
Version:        0.7.0
Release:        246
Source0:        t38modem-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains a modem interface for IP telephony using the
H.323 and T.38 protocol standards. It implements a 'tty' interface
which resembles a FAX modem. A sample HylaFAX setup is also provided.



%prep
%setup -q -n t38modem

%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`
case $M in
	*86)      M="x86" ;;
esac
export M
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install -c obj_linux_"$M"_r/t38modem $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
%doc HylaFAX/config.ttyx
/usr/sbin/t38modem

%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
* Wed Aug 18 2004 kkaempf@suse.de
- update to 0.7.0 (from CVS)
* 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 0.6.4
* Thu Feb 06 2003 kkaempf@suse.de
- update to 0.6.2
* Sun Jan 26 2003 meissner@suse.de
- ppc64 support, cleaned up arch handling.
* Wed Jan 15 2003 kkaempf@suse.de
- update to 0.6.1
* Mon Nov 18 2002 kkaempf@suse.de
- add expat for VoiceXML support
- update to 0.5.0
* Sun Aug 18 2002 kkaempf@suse.de
- Update to 0.4.2
* Tue Jul 09 2002 kkaempf@suse.de
- Initial version 0.4.0