1 |
# $Id$ |
2 |
# Authority: darrellmay |
3 |
# Name: Darrell May |
4 |
|
5 |
Summary: Disk ARchive for SME Server |
6 |
%define name smeserver-dar2 |
7 |
Name: %{name} |
8 |
%define version 0.0.1 |
9 |
%define release 4 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SME/addon |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-dar2-0.0.1-2.patch |
16 |
Patch1: smeserver-dar2-0.0.1-3.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
19 |
Requires: dar => 2.3.1 |
20 |
Requires: smeserver-release => 7.0 |
21 |
Requires: perl-CGI-FormMagick => 0.92-08 |
22 |
%description |
23 |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
24 |
based on smeserver-backup2. |
25 |
|
26 |
%changelog |
27 |
* Wed Aug 22 2007 Shad L. Lords <slords@mail.com> 0.0.1-4 |
28 |
- Clean up spec so package can be built by koji/plague |
29 |
- Update to new release naming. No functional changes. |
30 |
- Make Packager generic |
31 |
|
32 |
* Thu Mar 22 2007 Darrell May <dmay@myezserver.com> |
33 |
- updated actions/dar2-backup to separately zip and backup up dbs |
34 |
- updated actions/dar2-mc to require only job name to launch |
35 |
- [0.0.1-3dmay] smeserver-dar2-0.0.1-3.patch |
36 |
* Fri Mar 16 2007 Darrell May <dmay@myezserver.com> |
37 |
- updated dar2 panel text: absolute/relative pathing |
38 |
- updated dar2 panel text: prune wildcard support |
39 |
- [0.0.1-2dmay] smeserver-dar2-0.0.1-2.patch |
40 |
* Sun Jan 07 2007 Darrell May <dmay@myezserver.com> |
41 |
- added dar2-mc action |
42 |
- added dar support files for Midnight Commander |
43 |
- [0.0.1-1dmay] |
44 |
* Fri Oct 19 2006 Darrell May <dmay@myezserver.com> |
45 |
- BT:1988 added disk usage to report |
46 |
- official release |
47 |
- [0.0.1-0dmay] |
48 |
* Mon Oct 16 2006 Darrell May <dmay@myezserver.com> |
49 |
- BT:1979 German language file added |
50 |
- BT:1982 fix navigation-conf generated error |
51 |
- [0.0.1-b8dmay] |
52 |
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com> |
53 |
- BT:1974 verbose prop now controls log file generation, default 'off' |
54 |
- [0.0.1-b7dmay] |
55 |
* Wed Oct 11 2006 Darrell May <dmay@myezserver.com> |
56 |
- major rewrite of dar2-backup/restore templates |
57 |
- minor updates to action scritps adding more echo statements |
58 |
- [0.0.1-b6dmay] |
59 |
* Mon Oct 09 2006 Darrell May <dmay@myezserver.com> |
60 |
- BT:1966 edited Exclude/Prune labels & switched display order |
61 |
- added archive listing to dar2-backup output |
62 |
- [0.0.1-b5dmay] |
63 |
* Sat Oct 07 2006 Darrell May <dmay@myezserver.com> |
64 |
- BT:1964 crontab |
65 |
- [0.0.1-b4dmay] |
66 |
* Fri Oct 06 2006 Darrell May <dmay@myezserver.com> |
67 |
- added dar2-dr-restore, a disaster recovery restore script. |
68 |
- [0.0.1-b3dmay] |
69 |
* Thu Oct 05 2006 Darrell May <dmay@myezserver.com> |
70 |
- added db prop Verbose to control backup output detail |
71 |
- [0.0.1-b2dmay] |
72 |
* Thu Oct 05 2006 Darrell May <dmay@myezserver.com> |
73 |
- update actions dar2-backup/restore to support custom mount points |
74 |
- [0.0.1-b1dmay] |
75 |
* Wed Oct 04 2006 Darrell May <dmay@myezserver.com> |
76 |
- initial beta release |
77 |
- [0.0.1-b0dmay] |
78 |
* Mon Oct 02 2006 Darrell May <dmay@myezserver.com> |
79 |
- drop db backup2 defaults |
80 |
- edit panel name to Disk ARchive |
81 |
- [0.0.1-a7dmay] |
82 |
* Sun Oct 01 2006 Darrell May <dmay@myezserver.com> |
83 |
- initial public alpha release |
84 |
- [0.0.1-a6dmay] |
85 |
* Sun Oct 01 2006 Darrell May <dmay@myezserver.com> |
86 |
- initial rebuild on Restore panel |
87 |
- [0.0.1-a5dmay] |
88 |
* Fri Sep 29 2006 Darrell May <dmay@myezserver.com> |
89 |
- initial rebuild on View/Modify, Backup, Remove panels |
90 |
- added Expiry to dar2-backup script |
91 |
- [0.0.1-a4dmay] |
92 |
* Thu Sep 28 2006 Darrell May <dmay@myezserver.com> |
93 |
- server-manager panel debugging |
94 |
- [0.0.1-a3dmay] |
95 |
* Thu Sep 28 2006 Darrell May <dmay@myezserver.com> |
96 |
- server-manager panel debugging |
97 |
- [0.0.1-a2dmay] |
98 |
* Wed Sep 27 2006 Darrell May <dmay@myezserver.com> |
99 |
- initial server-manager panel build |
100 |
- [0.0.1-a1dmay] |
101 |
* Wed Sep 27 2006 Darrell May <dmay@myezserver.com> |
102 |
- initial internal alpha release |
103 |
- [0.0.1-a0dmay] |
104 |
|
105 |
%prep |
106 |
|
107 |
%setup |
108 |
|
109 |
%patch0 -p1 |
110 |
%patch1 -p1 |
111 |
|
112 |
%build |
113 |
/usr/bin/perl createlinks |
114 |
|
115 |
%install |
116 |
/bin/rm -rf $RPM_BUILD_ROOT |
117 |
|
118 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
119 |
/bin/rm -f %{name}-%{version}-filelist |
120 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
121 |
%files -f %{name}-%{version}-filelist |
122 |
|
123 |
%defattr(-,root,root) |
124 |
|
125 |
%clean |
126 |
/bin/rm -rf $RPM_BUILD_ROOT |
127 |
|
128 |
%pre |
129 |
|
130 |
%post |
131 |
/etc/e-smith/events/actions/initialize-default-databases > /dev/null 2>&1 |
132 |
/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 |
133 |
|
134 |
%preun |
135 |
|
136 |
%postun |