summaryrefslogtreecommitdiffstats
path: root/mentohust/F-13/mentohust.spec
blob: 8096b9f06385cd9e8e185effeb80e368c573e3c6 (plain)
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
Name:           mentohust
Version:        0.3.4
Release:        1%{?dist}
Summary:        A Ruijie and Cernet supplicant
Summary(zh_CN.UTF-8): 锐捷和塞尔认证

Group:          Applications/Internet
License:        BSD
URL:            http://code.google.com/p/mentohust/
Source0:        http://mentohust.googlecode.com/files/mentohust-%{version}.tar.gz
Patch0:         mentohust-0.3.4-missing-header-file.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:       libpcap

%description
This package contains a Ruijie and Cernet supplicant from HustMoon Studio.

See %{_defaultdocdir}/%{name}-%{version}/README for more information.

%description -l zh_CN.UTF-8
mentohust是用来进行锐捷和塞尔认证的。因为官方没有Linux版本或者Linux版本很不好用
^_^

详见 %{_defaultdocdir}/%{name}-%{version}/README


%prep
%setup -q
%patch0 -p1 -b .fix


%build
%configure --docdir=%{_defaultdocdir}/%{name}-%{version}
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/mentohust
%config %{_sysconfdir}/mentohust.conf
%{_mandir}/man1/mentohust*
%doc %{_defaultdocdir}/%{name}-%{version}/*

%changelog