1 |
|
# $Id: smeserver-dar2.spec,v 1.13 2008/04/28 23:28:49 slords 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 12 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
Requires: dar => 2.3.1 |
Requires: dar => 2.3.1 |
27 |
Requires: smeserver-release => 7.0 |
Requires: smeserver-release => 7.0 |
28 |
Requires: perl-CGI-FormMagick => 0.92-08 |
Requires: e-smith-formmagick >= 1.4.0-12 |
29 |
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
%description |
%description |
31 |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
32 |
based on smeserver-backup2. |
based on smeserver-backup2. |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-12 |
36 |
|
- Apply 5 May 2008 locale patch |
37 |
|
- Updated e-smith-formmagick requirement |
38 |
|
|
39 |
|
* Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 0.0.1-11 |
40 |
|
- Bump release to rebuild |
41 |
|
|
42 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-10 |
43 |
|
- Take common <base> entries from e-smith-formmagick's general |
44 |
|
|
45 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-9 |
46 |
|
- Fix changelog day |
47 |
|
|
48 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-8 |
49 |
|
- Apply Mar 23 2008 translation patch |
50 |
|
|
51 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-7 |
52 |
|
- Apply Mar 22 2008 translation patch |
53 |
|
|
54 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-6 |
55 |
|
- Remove scripts (not needed anymore) |
56 |
|
|
57 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-5 |
58 |
|
- Clean up translations to work with pootle |
59 |
|
- Apply Mar 20 2008 translation patches |
60 |
|
|
61 |
* 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 |
62 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
63 |
- Update to new release naming. No functional changes. |
- Update to new release naming. No functional changes. |
142 |
|
|
143 |
%patch0 -p1 |
%patch0 -p1 |
144 |
%patch1 -p1 |
%patch1 -p1 |
145 |
|
%patch2 -p1 |
146 |
|
%patch3 -p1 |
147 |
|
%patch4 -p1 |
148 |
|
%patch5 -p1 |
149 |
|
%patch6 -p1 |
150 |
|
%patch7 -p1 |
151 |
|
%patch8 -p1 |
152 |
|
|
153 |
%build |
%build |
154 |
/usr/bin/perl createlinks |
/usr/bin/perl createlinks |
166 |
%clean |
%clean |
167 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
168 |
|
|
|
%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 |
|