-
Notifications
You must be signed in to change notification settings - Fork 19
/
ser2net.spec.in
57 lines (49 loc) · 1.63 KB
/
ser2net.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Name: ser2net
Version: @VERSION@
Release: 1
License: GPL
Summary: Serial to network proxy
Group: System Environment/Daemons
Packager: Ivan F. Martinez <[email protected]>
Source0: http://prdownloads.sourceforge.net/ser2net/ser2net-%{version}.tar.gz
URL: http://sourceforge.net/projects/ser2net/
BuildRoot: /var/tmp/%{name}-%{version}-root
AutoReqProv: no
%description
Make serial ports available to network via TCP/IP connection.
%prep
%setup
%build
./configure --prefix="/usr" --mandir="/usr/share/man"
make
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install ser2net.conf $RPM_BUILD_ROOT/etc
install ser2net.init $RPM_BUILD_ROOT/etc/rc.d/init.d/ser2net
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(0644,root,root)
%attr(0755,root,root) /etc/rc.d/init.d/ser2net
%config(noreplace) /etc/ser2net.conf
%doc README NEWS ChangeLog COPYING INSTALL AUTHORS
%attr(0755,root,root) /usr/sbin/*
/usr/share/man/man8/*
%changelog
* Tue Dec 5 2003 Corey Minyard <[email protected]>
- Moved to version 2.1.
* Tue Oct 14 2003 Corey Minyard <[email protected]>
- Moved to version 2.0.
* Tue Apr 22 2003 Corey Minyard <[email protected]>
- Moved to version 1.9.
* Fri Oct 10 2001 Corey Minyard <[email protected]>
- Applied patches from Przemyslaw Czerpak ([email protected]), which added init
and cleaned up a few other problems.
* Tue Jul 3 2001 Corey Minyard <[email protected]>
- Fixed everything to install in the right place.
- Updated to 1.4
* Fri Jun 29 2001 Corey Minyard <[email protected]>
- Updated to 1.3
- Set the prefix to "/usr" to install at root.
* Tue Jun 19 2001 Ivan F. Martinez <[email protected]>
- package created