Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
setserial
setserial.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File setserial.spec of Package setserial
# # spec file for package setserial (Version 2.17) # # Copyright (c) 2008 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: setserial Version: 2.17 Release: 716 Provides: util:/sbin/setserial PreReq: %insserv_prereq Requires: /sbin/isserial AutoReqProv: on Group: Hardware/Other License: GPL v2 or later Url: http://setserial.sourceforge.net Summary: A utility for configuring serial ports Source0: ftp://tsx-11.mit.edu/pub/linux/sources/sbin/setserial-%{version}.tar.bz2 Source1: setserial.init Patch0: %{name}-%{version}-autoconf.diff Patch1: %{name}-%{version}-error.diff Patch2: %{name}-%{version}-prototypes.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Setserial is a basic system utility for displaying or setting serial port information. Setserial can reveal and allow you to alter the I/O port and IRQ that a particular serial device is using. Authors: -------- Theodore Ts'o <tytso@mit.edu> %prep %setup -q %patch0 %patch1 %patch2 %build %suse_update_config CFLAGS="$RPM_OPT_FLAGS -Wall" \ ./configure \ --prefix=%{_prefix} \ --bindir=/bin \ --sysconfdir=%{_sysconfdir} \ --mandir=%{_mandir} make %install mkdir -p ${RPM_BUILD_ROOT}/bin mkdir -p ${RPM_BUILD_ROOT}/etc/init.d mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8 mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} make install DESTDIR="$RPM_BUILD_ROOT" STRIP=: install %SOURCE1 ${RPM_BUILD_ROOT}/etc/init.d/setserial ln -sf /etc/init.d/setserial ${RPM_BUILD_ROOT}%{_sbindir}/rcsetserial %clean rm -rf $RPM_BUILD_ROOT %postun %{insserv_cleanup} %files %defattr(-,root,root) %doc README setserial.lsm rc.serial %doc %{_mandir}/man?/* %config %{_sysconfdir}/init.d/setserial /bin/* %{_sbindir}/* %changelog * Mon Sep 29 2008 anicka@suse.cz - disable init script by default (bnc#429523) * Sun Aug 17 2008 aj@suse.de - Fix initscript. * Fri Jul 28 2006 olh@suse.de - setserial bootscript depends on $local_fs and boot.loadmodules (#181972) * Mon May 22 2006 schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu Sep 08 2005 mjancar@suse.cz - add rcsetserial symlink (#63594) * Thu Mar 04 2004 ro@suse.de - rcscript: remain silent in "stop" case * Sun Jan 11 2004 adrian@suse.de - add %%defattr * Thu Oct 23 2003 mjancar@suse.cz - implement status in rcscript * Wed Sep 10 2003 mjancar@suse.cz - don't try to setup nonexistent serial ports in rcscript (#30361) - fix missing function prototypes * Fri Sep 05 2003 mjancar@suse.cz - return 1 on error (#30152) * Sat Mar 15 2003 olh@suse.de - run post script on all archs, dummy script for some archs change logic to 'run if needed' * Wed Aug 14 2002 nadvornik@suse.cz - added PreReq: %%insserv_prereq [bug #17698] * Thu Jul 11 2002 nadvornik@suse.cz - renamed init script to setserial - do not source /etc/rc.config - stop and status return correct value * Thu Jun 13 2002 ro@suse.de - use new macro for insserv * Thu Mar 22 2001 ro@suse.de - added split-aliases as provides * Wed Feb 14 2001 kukuk@suse.de - Add init.d/serial script moved from aaa_base, fix setserial location and output messages [Bug #5420] * Sat Oct 21 2000 kukuk@suse.de - Fix typo in spec file * Fri Oct 20 2000 kukuk@suse.de - Initial version, split from util package
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