3 Star 3 Fork 1

Gitee 极速下载/WifiDog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/wifidog/wifidog-gateway
克隆/下载
wifidog.spec.in 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
# $Id$
%define name wifidog
%define lib_name libhttpd
%define version @VERSION@
%define release 1mdk
Summary: The WiFi Guard Dog project is a complete and embeedable captive portal solution for wireless community groups or individuals who wish to open a free HotSpot while still preventing abuse of their Internet connection.
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://download.sourceforge.net/wifidog/%{name}-%{version}.tar.gz
Group: Applications/System
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prereq: /sbin/ldconfig
%description
The WiFi Guard Dog project is a complete and embeedable captive portal solution for wireless community groups or individuals who wish to open a free HotSpot while still preventing abuse of their Internet connection.
%prep
%setup -q
%build
%configure
%make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}
# Will this overide previous config file?
mkdir -p $RPM_BUILD_ROOT/etc
cp wifidog.conf $RPM_BUILD_ROOT/etc
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
cp scripts/init.d/wifidog $RPM_BUILD_ROOT/etc/rc.d/init.d
chmod +x $RPM_BUILD_ROOT/etc/rc.d/init.d/wifidog
%makeinstall
%post
/sbin/ldconfig
%_post_service wifidog
%postun
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README FAQ doc/html
%config /etc/wifidog.conf
%config /etc/rc.d/init.d/wifidog
%{_bindir}/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so*
%{_includedir}/*
%changelog
* Sun Aug 29 2004 Guillaume Beaudoin <isf@soli.ca>
- Littles fixes and libofx leftover.
- Prefix changed to /usr to match init.d script (define removed).
* Sat Mar 8 2004 Benoit Grgoire <bock@step.polymtl.ca>
- Created spec file
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/WifiDog.git
git@gitee.com:mirrors/WifiDog.git
mirrors
WifiDog
WifiDog
master

搜索帮助