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