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

Last change on this file since 1330 was 437, checked in by Yuri Dario, 11 years ago

spec: noip, added icons.

File size: 1.5 KB
Line 
1Name: noip
2Version: 2.1.9
3Release: 1.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
9Source1: noip2.jpg
10Source2: noip2.ico
11
12# Patch for Fedora specifics
13Patch0: noip-2.1.9-1.patch
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16
17%description
18Keep your current IP address in sync with your No-IP host or domain with
19this Dynamic Update Client (DUC). The client continually checks for IP
20address changes in the background and automatically updates the DNS at
21No-IP whenever it changes.
22
23N.B. You need to run
24 %# noip2 -C
25before starting the service.
26
27%package debug
28Summary: HLL debug data for exception handling support.
29
30%description debug
31HLL debug data for exception handling support.
32
33%prep
34%setup -q -n %{name}-%{version}-1
35%patch0 -p1
36
37%build
38export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
39make %{?_smp_mflags} CFLAGS="%{optflags}"
40
41%install
42rm -rf %{buildroot}
43install -D -p -m 755 noip2.exe %{buildroot}/%{_sbindir}/noip2.exe
44
45# Make dummy config file
46mkdir -p %{buildroot}/%{_sysconfdir}
47touch %{buildroot}/%{_sysconfdir}/no-ip2.conf
48
49%clean
50rm -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.