Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
tty0tty
tty0tty.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tty0tty.spec of Package tty0tty
Name: tty0tty Release: 1 Summary: Linux null modem emulator Group: System Environment/Kernel License: GPLv2 URL: http://sourceforge.net/projects/tty0tty Version: 1.2 Source0: http://sourceforge.net/projects/tty0tty/files/tty0tty-%{version}.tgz BuildRequires: kernel, kernel-devel Requires: tty0tty-kmod %description The Linux null-modem emulator (tty0tty) is a kernel-module virtual serial port driver for Linux. This create virtual tty ports pairs and use any pair to connect one tty serial port based application to another. There are a version using pseudo-terminal (UNIX 98 style). %package kmod Summary: Kernel module for tty0tty #Requires: kernel = %(uname -r|sed 's/-.*//') %description kmod Kernel module of Linux null modem emulator. %prep %setup -q %if %{fedora}>25 sed -i 's|linux/sched.h|linux/sched/signal.h|' module/tty0tty.c %endif %build make -C /lib/modules/*/build M=$PWD/module modules make -C pts %install pushd /lib/modules/* KVERPATH=$PWD popd install -Dpm755 pts/tty0tty %{buildroot}%{_bindir}/%{name} install -Dpm744 module/%{name}.ko %{buildroot}$KVERPATH/kernel/drivers/tty/%{name}.ko %post kmod depmod -a > /dev/null 2> /dev/null exit 0 %postun kmod depmod -a > /dev/null 2> /dev/null exit 0 %clean rm -rf $RPM_BUILD_ROOT %files %doc AUTHORS COPYING README THANKS TODO VERSION %{_bindir}/tty0tty %files kmod /lib/modules/*/kernel/drivers/tty/%{name}.ko %changelog * Fri Oct 18 2013 Huaren Zhong <huaren.zhong@gmail.com> 1.2 - Rebuild for Fedora * Sun Aug 26 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.1-1 - Update to 1.1 * Thu Nov 24 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.0-1 - Initial spec file
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor