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