diff options
author | Jakub Bogusz | 2002-06-28 12:47:59 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 8c0bb1c91a172d18f3413c8b9e9bc286ed694a77 (patch) | |
tree | cef8ed98b6daf77eac3ded33b1ce72d67cd9535a | |
download | msredird-8c0bb1c91a172d18f3413c8b9e9bc286ed694a77.zip msredird-8c0bb1c91a172d18f3413c8b9e9bc286ed694a77.tar.gz |
- new
Changed files:
msredird.spec -> 1.1
-rw-r--r-- | msredird.spec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/msredird.spec b/msredird.spec new file mode 100644 index 0000000..11a4b21 --- /dev/null +++ b/msredird.spec @@ -0,0 +1,53 @@ +# TODO: init script and sysconfig file with necessary environment variables +Summary: RFC 2217-compliant multi-threaded serial port redirector +Summary(pl): Wielowątkowy program przekierowujący port szeregowy zgodny z RFC 2217 +Name: msredird +Version: 0.2 +Release: 0.1 +License: GPL +Group: Networking +Source0: ftp://metalab.unc.edu/pub/Linux/system/serial/%{name}-%{version}.tgz +URL: http://www.asymmetrica.com/software/msredird/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _sysconfdir /etc/msredird + +%description +msredird is serial port redirector, or simply, modem sharing server +program. The concept is very novel and already standardized by RFC +2217. msredird is an implementation of that standard, also known as +Telnet Com Port Control Option, in server mode. + +%description -l pl +msredir jest programem przekierowującym porty szeregowe lub, innymi +słowy, programem pozwalającym na współdzielenie modemów. Jest +implementacją standardu RFC 2217 (Telnet Com Port Control Option +protocol) w trybie serwera. + +%prep +%setup -q + +%build +%{__make} -C src \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -I./include" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir},/var/log/msredird} + +install bin/msredird $RPM_BUILD_ROOT%{_sbindir} +install etc/msredird.conf $RPM_BUILD_ROOT%{_sysconfdir} +ln -sf /var/log/msredird $RPM_BUILD_ROOT%{_sysconfdir}/log + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc doc/{README,INSTALL,errorcodes.txt,sample.output} +%attr(755,root,root) %{_sbindir}/* +%dir %{_sysconfdir} +%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/msredird.conf +%{_sysconfdir}/log +/var/log/msredird |