1 |
|
# $Id: smeserver-dar2.spec,v 1.14 2008/05/05 18:53:35 snetram Exp $ |
2 |
|
# Authority: darrellmay |
3 |
|
# Name: Darrell May |
4 |
|
|
5 |
Summary: Disk ARchive for SME Server |
Summary: Disk ARchive for SME Server |
6 |
%define name smeserver-dar2 |
%define name smeserver-dar2 |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.0.1 |
%define version 0.0.1 |
9 |
%define release 4 |
%define release 13 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-dar2-0.0.1-2.patch |
Patch0: smeserver-dar2-0.0.1-2.patch |
16 |
Patch1: smeserver-dar2-0.0.1-3.patch |
Patch1: smeserver-dar2-0.0.1-3.patch |
17 |
|
Patch2: smeserver-dar2-0.0.1-transfix.patch |
18 |
|
Patch3: smeserver-dar2-0.0.1-locale-2008-04-20.patch |
19 |
|
Patch4: smeserver-dar2-0.0.1-locale-2008-04-22.patch |
20 |
|
Patch5: smeserver-dar2-0.0.1-locale-2008-04-23.patch |
21 |
|
Patch6: smeserver-dar2-0.0.1-add2general.patch |
22 |
|
Patch7: smeserver-dar2-0.0.1-locale-2008-04-26.patch |
23 |
|
Patch8: smeserver-dar2-0.0.1-locale-2008-05-05.patch |
24 |
|
Patch9: smeserver-dar2-0.0.1-locale-2008-05-21.patch |
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Requires: dar => 2.3.1 |
Requires: dar => 2.3.1 |
28 |
Requires: smeserver-release => 7.0 |
Requires: smeserver-release => 7.0 |
29 |
Requires: perl-CGI-FormMagick => 0.92-08 |
Requires: e-smith-formmagick >= 1.4.0-12 |
30 |
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
31 |
%description |
%description |
32 |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
33 |
based on smeserver-backup2. |
based on smeserver-backup2. |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-13 |
37 |
|
- Apply 21 May 2008 locale patch |
38 |
|
|
39 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-12 |
40 |
|
- Apply 5 May 2008 locale patch |
41 |
|
- Updated e-smith-formmagick requirement |
42 |
|
|
43 |
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 0.0.1-11 |
44 |
|
- Bump release to rebuild |
45 |
|
|
46 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-10 |
47 |
|
- Take common <base> entries from e-smith-formmagick's general |
48 |
|
|
49 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-9 |
50 |
|
- Fix changelog day |
51 |
|
|
52 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-8 |
53 |
|
- Apply Mar 23 2008 translation patch |
54 |
|
|
55 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-7 |
56 |
|
- Apply Mar 22 2008 translation patch |
57 |
|
|
58 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-6 |
59 |
|
- Remove scripts (not needed anymore) |
60 |
|
|
61 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-5 |
62 |
|
- Clean up translations to work with pootle |
63 |
|
- Apply Mar 20 2008 translation patches |
64 |
|
|
65 |
* Wed Aug 22 2007 Shad L. Lords <slords@mail.com> 0.0.1-4 |
* Wed Aug 22 2007 Shad L. Lords <slords@mail.com> 0.0.1-4 |
66 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
67 |
- Update to new release naming. No functional changes. |
- Update to new release naming. No functional changes. |
146 |
|
|
147 |
%patch0 -p1 |
%patch0 -p1 |
148 |
%patch1 -p1 |
%patch1 -p1 |
149 |
|
%patch2 -p1 |
150 |
|
%patch3 -p1 |
151 |
|
%patch4 -p1 |
152 |
|
%patch5 -p1 |
153 |
|
%patch6 -p1 |
154 |
|
%patch7 -p1 |
155 |
|
%patch8 -p1 |
156 |
|
%patch9 -p1 |
157 |
|
|
158 |
%build |
%build |
159 |
/usr/bin/perl createlinks |
/usr/bin/perl createlinks |
171 |
%clean |
%clean |
172 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
173 |
|
|
|
%pre |
|
|
|
|
|
%post |
|
|
/etc/e-smith/events/actions/initialize-default-databases > /dev/null 2>&1 |
|
|
/etc/e-smith/events/actions/navigation-conf > /dev/null 2>&1 |
|
|
|
|
|
%preun |
|
|
|
|
|
%postun |
|