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