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