From f832dae18ff0343ccdacb92e0619552069207ad4 Mon Sep 17 00:00:00 2001 From: Sean Middleditch Date: Sep 08 2009 02:49:07 +0000 Subject: - Initial import to Fedora CVS. --- diff --git a/.cvsignore b/.cvsignore index e69de29..52aef2a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libtelnet-0.11.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..858d0ce --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +libtelnet-0_11-1_fc12:F-12:libtelnet-0.11-1.fc12.src.rpm:1252378091 diff --git a/libtelnet.spec b/libtelnet.spec new file mode 100644 index 0000000..9375bdd --- /dev/null +++ b/libtelnet.spec @@ -0,0 +1,90 @@ +Name: libtelnet +Version: 0.11 +Release: 1%{?dist} +Summary: TELNET protocol parsing framework + +Group: System Environment/Libraries +License: Public Domain +URL: http://github.com/elanthis/libtelnet +Source0: http://cloud.github.com/downloads/elanthis/libtelnet/libtelnet-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: zlib-devel + +%description +Small library for parsing the TELNET protocol, responding to TELNET +commands via an event interface, and generating valid TELNET commands. + +libtelnet includes support for the non-official MCCP, MCCP2, ZMP, and +MSSP protocols used by MUD servers and clients. + +%package devel +Summary: Header files for libtelnet +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for developing applications making use of libtelnet. + +%package utils +Summary: TELNET utility programs from libtelnet +Group: Applications/Internet +Requires: %{name} = %{version}-%{release} + +%description utils +Provides three utilities based on the libtelnet library. + * telnet-proxy - a TELNET proxy and debugging daemon + * telnet-client - simple TELNET client + * telnet-chatd - no-features chat server for testing TELNET clients. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf "$RPM_BUILD_ROOT" +make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT" +rm "$RPM_BUILD_ROOT%{_libdir}"/*.la + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc README COPYING NEWS +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.so +%{_includedir}/* + +%files utils +%defattr(-,root,root,-) +%{_bindir}/* + +%changelog +* Wed Aug 31 2009 Sean Middleditch 0.11-1 +- Update to libtelnet 0.11. +- Add BuildRequires on zlib-devel. +- Added INSTALL='install -p' to install script. +- Renamed -bin subpackage to -utils. +- Added COPYING and NEWS to main package document list. +- Removed document files from subpackages. + +* Wed Aug 29 2009 Sean Middleditch 0.10-2 +- Corrected URL. +- Removed unnecessary Build-Requires. +- Fixed up use of defattr macro. +- Removed use of makeinstall macro. +- Merged the individual utility packages into a single libtelnet-bin package. + +* Wed Jul 29 2009 Sean Middleditch 0.10-1 +- Initial RPM release. diff --git a/sources b/sources index e69de29..0b3649c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6a0b9f6951f509ff4086b405ab112a30 libtelnet-0.11.tar.gz