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