summaryrefslogtreecommitdiffstats
path: root/ruijieclient/F-13/ruijieclient.spec
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2010-06-14 10:22:47 +0800
committerRobin Lee <robinlee.sysu@gmail.com>2010-06-14 10:22:47 +0800
commitac169ea8afd36ba8378485656e5ae247586f2e57 (patch)
tree29ebc01a558cf106b552de339d3ccc96398ca3f4 /ruijieclient/F-13/ruijieclient.spec
parent2fabbba2bfe2ef6cb510239e2b5dcddfebe4d6dd (diff)
downloadrpm-ac169ea8afd36ba8378485656e5ae247586f2e57.tar.gz
rpm-ac169ea8afd36ba8378485656e5ae247586f2e57.tar.xz
rpm-ac169ea8afd36ba8378485656e5ae247586f2e57.zip
ruijieclient 0.8.2 from upstream
Diffstat (limited to 'ruijieclient/F-13/ruijieclient.spec')
-rw-r--r--ruijieclient/F-13/ruijieclient.spec52
1 files changed, 52 insertions, 0 deletions
diff --git a/ruijieclient/F-13/ruijieclient.spec b/ruijieclient/F-13/ruijieclient.spec
new file mode 100644
index 0000000..535c60e
--- /dev/null
+++ b/ruijieclient/F-13/ruijieclient.spec
@@ -0,0 +1,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