File: ser2net.spec

package info (click to toggle)
ser2net 4.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,284 kB
  • sloc: ansic: 10,349; sh: 4,865; python: 2,386; makefile: 57
file content (57 lines) | stat: -rw-r--r-- 1,667 bytes parent folder | download | duplicates (3)
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:	3.5
Release:	1
License:	GPL
Summary:	Serial to network proxy
Group:		System Environment/Daemons
Packager:	Ivan F. Martinez <ivanfm@ecodigit.com.br>
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 <minyard@acm.org>
- Moved to version 2.1.
* Tue Oct 14 2003 Corey Minyard <minyard@acm.org>
- Moved to version 2.0.
* Tue Apr 22 2003 Corey Minyard <minyard@acm.org>
- Moved to version 1.9.
* Fri Oct 10 2001 Corey Minyard <minyard@acm.org>
- Applied patches from Przemyslaw Czerpak (druzus@polbox.com), which added init
  and cleaned up a few other problems.
* Tue Jul  3 2001 Corey Minyard <minyard@acm.org>
- Fixed everything to install in the right place.
- Updated to 1.4
* Fri Jun 29 2001 Corey Minyard <minyard@acm.org>
- Updated to 1.3
- Set the prefix to "/usr" to install at root.
* Tue Jun 19 2001 Ivan F. Martinez <ivanfm@ecodigit.com.br>
- package created