File tcludp.spec of Package tcludp
#
# spec file for package tcludp (Version 1.0.8)
#
# Copyright (c) 2008 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: tcludp
BuildRequires: tcl-devel
Url: http://tcludp.sourceforge.net/
Summary: UDP Socket Extension for Tcl
Version: 1.0.8
Release: 1
License: BSD 3-Clause
Group: Development/Libraries/Tcl
Source0: %{name}-%{version}.tar.bz2
Source1: man.macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package makes the UDP protocol available for Tcl interpreters. It
allows access to message-oriented UDP through stream-oriented Tcl
channels.
Authors:
--------
Xiaotao Wu <xiaotaow@cs.columbia.edu>
Pat Thoyts <patthoyts@users.sourceforge.net>
%prep
%setup -q
%build
%configure --with-tcl=%_libdir --libdir=%tcl_archdir
make
make pkgIndex.tcl-hand
%install
make install \
DESTDIR=%buildroot
for f in %buildroot/%_mandir/*/*; do
sed -i -e "/man\.macros/r %SOURCE1" -e "/man\.macros/d" $f
done
%clean
rm -rf %buildroot
%files
%defattr(-,root,root,-)
%doc ChangeLog README license.terms demos
%doc %_mandir/*/*
%tcl_archdir
%changelog
* Mon Apr 21 2008 max@suse.de
- New bugfix release: 1.0.8.
* Use TEA 3.5 to fix some build system problems.
* Set the close-on-exec flag for the socket.
* Use socklen_t type correctly.
- Use the new Tcl file system layout.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 14 2005 ro@suse.de
- fix typo in tcl configure script
* Fri Jun 17 2005 max@suse.de
- Moved script library to /usr/share/tcl .
* Fri May 20 2005 max@suse.de
- New version: 1.0.7.
* Tue Apr 26 2005 max@suse.de
- New package: tcludp - UDP sockets for Tcl.