source: projects/specs/trunk/s/sliplogin/sliplogin-vl.spec @ 521

Revision 521, 3.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: A login program for SLIP connections.
2Name: sliplogin
3Version: 2.1.1
4Release: 11%{?_dist_release}
5License: BSD
6Group: Applications/Communications
7Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/serial/sliplogin-%{version}.tar.gz
8Patch0: sliplogin-2.1.0-misc.patch
9Patch1: sliplogin-2.1.1-modes.patch
10Patch2: sliplogin-2.1.0-path.patch
11Patch4: sliplogin-2.1.0-glibc.patch
12Patch5: sliplogin-2.1.1-includes.patch
13Patch6: sliplogin-2.1.1-netdev.patch
14Patch7: sliplogin-2.1.1-kernel24.patch
15BuildRoot: %{_tmppath}/sliplogin-root
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20The sliplogin utility turns the terminal line on standard input into a
21SLIP (Serial Line Internet Protocol) link to a remote host. Sliplogin
22is usually used to allow dial-in SLIP connections.
23
24Install the sliplogin package if you need to support dial-in SLIP
25connections.
26
27%prep
28%setup -q
29%patch0 -p1
30%patch1 -p1 -b .modes
31%patch2 -p1 -b .path
32%patch4 -p1 -b .glibc
33%patch5 -p1 -b .includes
34%patch6 -p1 -b .netdev
35%patch7 -p1 -b .kernel24
36
37%build
38make clean
39rm -f sliplogin
40make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS" access
41make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS"
42
43%install
44[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
45mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir}/slip,%{_sbindir},%{_mandir}/man8}
46
47make    SLIP=$RPM_BUILD_ROOT%{_sysconfdir}/slip \
48        SBIN=$RPM_BUILD_ROOT%{_sbindir} \
49        MAN=$RPM_BUILD_ROOT%{_mandir} \
50        install
51
52install -m644 slip.tty $RPM_BUILD_ROOT%{_sysconfdir}/slip/
53install -m644 slip.hosts $RPM_BUILD_ROOT%{_sysconfdir}/slip/
54install -m644 slip.route $RPM_BUILD_ROOT%{_sysconfdir}/slip/
55install -m644 slip.passwd $RPM_BUILD_ROOT%{_sysconfdir}/slip/
56
57%clean
58[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(-,root,root)
62%doc README README.dynamic README.nis CHANGES TROUBLE_SHOOTING TODO
63%config %{_sysconfdir}/slip/slip.tty
64%config %{_sysconfdir}/slip/slip.login
65%config %{_sysconfdir}/slip/slip.logout
66%config %{_sysconfdir}/slip/slip.hosts
67%config %{_sysconfdir}/slip/slip.passwd
68%config %{_sysconfdir}/slip/slip.route
69%{_sbindir}/sliplogin
70%{_mandir}/man8/sliplogin.8*
71
72%changelog
73* Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-11vl5
74- applied new versioning policy
75
76* Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 2.1.1-10vl1
77- rebuild for %%{_mandir}
78
79* Tue Jul 25 2000 Jakub Jelinek <jakub@redhat.com>
80- fix /proc/net/dev parsing
81- make it compile with 2.4.0-test3 kernels
82
83* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
84- automatic rebuild
85
86* Sat Jun  3 2000 Nalin Dahyabhai <nalin@redhat.com>
87- FHS fixes.
88
89* Tue Mar  7 2000 Jeff Johnson <jbj@redhat.com>
90- rebuild for sparc baud rates > 38400.
91
92* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
93- auto rebuild in the new build environment (release 6)
94
95* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
96- auto rebuild in the new build environment (release 5)
97
98* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
99- build against glibc 2.1
100
101* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
102- translations modified for de, fr, tr
103
104* Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
105- upgraded to 2.1.1
106- struct password needs <pwd.h>
107
108* Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
109- removed excludearch for alpha
110
111* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
112- built against glibc
Note: See TracBrowser for help on using the repository browser.