source: spec/trunk/SPECS/noip.spec@ 433

Last change on this file since 433 was 412, checked in by Yuri Dario, 12 years ago

spec : noip, initial build.

File size: 1.5 KB
Line 
1Name: noip
2Version: 2.1.9
3Release: 1%{?dist}
4Summary: A dynamic DNS update client
5Group: System Environment/Daemons
6License: GPLv2+
7URL: http://www.no-ip.com
8Source0: http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
9# Patch for Fedora specifics
10Patch0: noip-2.1.9-1.patch
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13
14%description
15Keep your current IP address in sync with your No-IP host or domain with
16this Dynamic Update Client (DUC). The client continually checks for IP
17address changes in the background and automatically updates the DNS at
18No-IP whenever it changes.
19
20N.B. You need to run
21 %# noip2 -C
22before starting the service.
23
24%package debug
25Summary: HLL debug data for exception handling support.
26
27%description debug
28HLL debug data for exception handling support.
29
30%prep
31%setup -q -n %{name}-%{version}-1
32%patch0 -p1
33
34%build
35export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
36make %{?_smp_mflags} CFLAGS="%{optflags}"
37
38%install
39rm -rf %{buildroot}
40install -D -p -m 755 noip2.exe %{buildroot}/%{_sbindir}/noip2.exe
41
42# Make dummy config file
43mkdir -p %{buildroot}/%{_sysconfdir}
44touch %{buildroot}/%{_sysconfdir}/no-ip2.conf
45
46%clean
47rm -rf %{buildroot}
48
49%files
50%defattr(-,root,root,-)
51%doc COPYING README.FIRST
52%{_sbindir}/noip2.exe
53%attr(600,noip,noip) %config(noreplace) %{_sysconfdir}/no-ip2.conf
54
55%files debug
56%defattr(-,root,root)
57%{_sbindir}/*.dbg
58
59%changelog
60* Thu Apr 10 2014 yd
61- initial public build.
Note: See TracBrowser for help on using the repository browser.