-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinc.spec.in
49 lines (39 loc) · 1.13 KB
/
linc.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
Summary: A free, multiplatform authentication client for Cyberoam / 24online
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Copyright: GPL
Group: System Environment/Daemons
Source: @PACKAGE@-@[email protected]
BuildRoot: /var/tmp/%{name}-buildroot
URL: http://linc.sourceforge.net
Packager: Mayur R. Naik <[email protected]>
%description
linc is a free, multiplatform authentication client for Cyberoam / 24online.
Cyberoam is an employee management system for corporate networks. 24online is
a subscriber management system for broadband ISPs.
Install linc if your ISP / company uses Cyberoam for controlling internet
access and you need to connect your *nix box.
%prep
%setup -q
%build
./configure --prefix=$RPM_BUILD_ROOT/usr
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
make install
mkdir -p $RPM_BUILD_ROOT/etc/init.d
cp -af linc-srv $RPM_BUILD_ROOT/etc/init.d/linc
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README TODO COPYING AUTHORS ChangeLog sample.lincrc
/usr/bin/linc
/usr/man/man1/linc.1.gz
/usr/man/man5/lincrc.5.gz
/etc/init.d/linc
%post
chkconfig --add linc
chkconfig --level 2345 linc off