blob: 535c60e3dd6aa3b16bd454941b0f85cc6bdebf22 (
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
|
%define build_number 1
%define debug_package %{nil}
Name: ruijieclient
Version: 0.8.2
Release: %{build_number}%{?dist}
Summary: a ruijie network supplicant for GNU/Linux
Group: Applications/Internet
License: LGPLv2+
URL: http://code.google.com/p/ruijieclient/
Source0: http://ruijieclient.googlecode.com/files/ruijieclient-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}_%{version}-%{release}-root_%(%{__id_u} -n)
BuildRequires: libpcap-devel glibc-devel libxml2-devel
Requires: libpcap glibc kernel libxml2
%description
RuijieClient is a ruijie network supplicant for GNU/Linux which is based on mystar, but re-writed form scratch.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
chmod 4755 $RPM_BUILD_ROOT/usr/bin/ruijieclient
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database %{_datadir}/applications &>/dev/null || :
%postun
update-desktop-database %{_datadir}/applications &>/dev/null || :
%files
%defattr(-,root,root,-)
%{_prefix}/bin/ruijieclient
%{_docdir}/ruijieclient/README
%changelog
* Sat Jun 13 2009 Gong Han <gong@fedoraproject.org> - 0.8-1
- Creat a spec file
|