1 |
# $Id: smeserver-ddclient.spec,v 1.6 2008/04/28 23:21:44 slords Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-ddclient |
6 |
%define version 1.0.0 |
7 |
%define release 5 |
8 |
|
9 |
Summary: ddclient panel for SME Server |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GNU GPL version 2 |
14 |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-ddclient-1.0.0-locale-2008-04-23.patch |
17 |
Patch1: smeserver-ddclient-1.0.0-locale-2008-04-26.patch |
18 |
Patch2: smeserver-ddclient-1.0.0-dos2unix.patch |
19 |
Patch3: smeserver-ddclient-1.0.0-add2general.patch |
20 |
Patch4: smeserver-ddclient-1.0.0-locale-2008-05-05.patch |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildRequires: e-smith-devtools |
23 |
Obsoletes: sme7-ddclient |
24 |
BuildArchitectures: noarch |
25 |
Requires: SMEServer >= 7 |
26 |
Requires: ddclient >= 3.7 |
27 |
Requires: e-smith-formmagick >= 1.4.0-12 |
28 |
AutoReqProv: no |
29 |
|
30 |
%changelog |
31 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-5 |
32 |
- Apply 5 May 2008 locale patch |
33 |
|
34 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-4 |
35 |
- Added 26 April 2008 locale patch |
36 |
- Add common <base> tags to e-smith-formmagick's general |
37 |
|
38 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-3 |
39 |
- Added 23 April 2008 locale patch |
40 |
- Removed version number from spec file |
41 |
|
42 |
* Wed Apr 23 2008 Stephen Noble <support@dungog.net> 1.0.0-2 |
43 |
- prepare for import to smecontribs |
44 |
- links moved to createlinks |
45 |
- en lexicon split from function |
46 |
- fr and de lexicons removed, add back in pootle |
47 |
|
48 |
* Sat Jan 20 2007 Paul Floor <paul@smeserver.us> |
49 |
- ver 1.0 rel 1: split into smeserver-ddclient and ddclient |
50 |
- removed heartbeat |
51 |
|
52 |
* Sun Nov 12 2006 Filali-Ansary Vincent <filali.v@free.fr> |
53 |
- ver 3.7 rel 1: change for the new ddclient client |
54 |
|
55 |
* Sat Aug 19 2006 Filali-Ansary Vincent <filali.v@free.fr> |
56 |
- rel 8: change checkip.sjc.dyndns.org by checkip.dyndns.org |
57 |
|
58 |
* Mon Aug 7 2006 Filali-Ansary Vincent <filali.v@free.fr> |
59 |
- rel 7: repair the custom eurodyndns options on ddclient.conf. |
60 |
|
61 |
* Mon Jul 31 2006 Filali-Ansary Vincent <filali.v@free.fr> |
62 |
- rel 6: repair the custom dyndns options on ddclient.conf. |
63 |
|
64 |
* Fri Jun 30 2006 Filali-Ansary Vincent <filali.v@free.fr> |
65 |
- rel 5: change checkip.dyndns.org by checkip.sjc.dyndns.org |
66 |
|
67 |
* Tue May 09 2006 Filali-Ansary Vincent <filali.v@free.fr> |
68 |
- initial release |
69 |
|
70 |
%description |
71 |
ddclient panel and config files for SME7. |
72 |
|
73 |
%prep |
74 |
%setup |
75 |
%patch0 -p1 |
76 |
%patch1 -p1 |
77 |
%patch2 -p1 |
78 |
%patch3 -p1 |
79 |
%patch4 -p1 |
80 |
|
81 |
%build |
82 |
perl createlinks |
83 |
|
84 |
%install |
85 |
rm -rf $RPM_BUILD_ROOT |
86 |
(cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) |
87 |
rm -f %{name}-%{version}-filelist |
88 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
89 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
90 |
|
91 |
%clean |
92 |
rm -rf $RPM_BUILD_ROOT |
93 |
|
94 |
%files -f %{name}-%{version}-filelist |
95 |
%defattr(-,root,root) |