]> git.pld-linux.org Git - packages/setserial.git/blob - setserial.spec
fixed Group && compressed documentation
[packages/setserial.git] / setserial.spec
1 Summary:        Serial interface configuration program
2 Summary(de):    Konfigurationsprogramm für die serielle Schnittstelle
3 Summary(fr):    Programme de configuration de l'interface série
4 Summary(pl):    Program konfiguruj±cy interfejsy szeregowe
5 Summary(tr):    Seri arayüz ayarlama programý
6 Name:           setserial
7 Version:        2.15
8 Release:        4d
9 Copyright:      GPL
10 Group:          Utilities/System
11 Group(pl):      Narzêdzia/System
12 URL:            ftp://sunsite.unc.edu/pub/Linux/system/serial
13 Source:         %{name}-%{version}.tar.gz
14 Patch0:         %{name}.patch
15 Prereq:         /sbin/chkconfig
16 Buildroot:      /tmp/%{name}-%{version}-root
17
18 %description
19 Setserial is a program which allows you to look at and change various
20 attributes of a serial device, including its port, its IRQ, and other
21 serial port options.
22
23 %description -l de
24 Setserial ist ein Programm zum Einsehen und Ändern verschiedener
25 Attribute eines seriellen Geräts, z.B. Port, IRQ und andere 
26 Optionen des seriellen Ports.
27
28 %description -l fr
29 setserial est un programme permettant de consulter et de modifier les
30 différents attributs d"un périphérique série, dont son port, son IRQ et
31 autres options du port série.
32
33 %description -l pl
34 Setserial umo¿liwia odczytanie i zmianê wielu parametrów portu
35 szeregowego (adres, przerwanie itp.)
36
37 %description -l tr
38 Setserial, bir seri aygýtýn baðlantý noktasý, kesme numarasý gibi
39 özelliklerini denetlemenizi ve deðiþtirmenizi saðlayan bir programdýr.
40
41 %prep
42 %setup -q
43 %patch -p1
44
45 %build
46 autoconf
47 CFLAGS=$RPM_OPT_FLAGS LDFLAGS=-s \
48     ./configure \
49         --prefix=/usr
50 make   
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 install -d $RPM_BUILD_ROOT/{bin,usr/man/man8,etc/{rc.d/init.d,sysconfig}}
56
57 install setserial $RPM_BUILD_ROOT/bin
58 install setserial.8 $RPM_BUILD_ROOT/usr/man/man8
59 install serial.conf $RPM_BUILD_ROOT/etc/sysconfig/serial
60
61 gzip -9fn $RPM_BUILD_ROOT/usr/man/man8/*
62 bzip2 -9  README 
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc README.bz2 
70
71 %attr(755,root,root) /bin/setserial
72 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/*
73 %attr(644,root, man) /usr/man/man8/*
74
75 %changelog
76 * Thu Feb 18 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
77   [2.15-4d]
78 - compressed documentation,
79 - fixed Group.
80
81 * Thu Feb 18 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
82   [2.15-3d]
83 - configuration file in new location
84
85 * Thu Dec 24 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
86   [2.15-2d]
87 - removed /etc/rc.d/init.d/serial (this is now done by rc-scripts).
88
89 * Sat Nov 07 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
90   [2.15-1d]
91 - new upstream release (2.15),
92 - added /etc/rc.d/init.d/serial and /etc/serial.conf,
93 - added Group(pl),
94 - added %post and %preun.
95
96 * Mon Oct 26 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
97   [2.14-1d]
98 - updated to 2.14,
99 - minor changes.
100
101 * Sun Oct 18 1998 Marcin Korzonek <mkorz@shadow.eu.org>
102   [2.12-5d]
103 - translations modified for pl,
104 - defined files permission,
105 - simplifications in %build and %install section.
106
107 * Thu Jul 23 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
108   [2.12-5]
109 - build against GNU libc-2.1.
This page took 0.035373 seconds and 3 git commands to generate.