1 |
|
# $Id: smeserver-dar2.spec,v 1.7 2008/04/22 08:55:44 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 8 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: dar => 2.3.1 |
Requires: dar => 2.3.1 |
24 |
Requires: smeserver-release => 7.0 |
Requires: smeserver-release => 7.0 |
25 |
Requires: perl-CGI-FormMagick => 0.92-08 |
Requires: perl-CGI-FormMagick => 0.92-08 |
26 |
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
%description |
%description |
28 |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
29 |
based on smeserver-backup2. |
based on smeserver-backup2. |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Tue Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-8 |
33 |
|
- Apply Mar 23 2008 translation patch |
34 |
|
|
35 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.1-7 |
36 |
|
- Apply Mar 22 2008 translation patch |
37 |
|
|
38 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-6 |
39 |
|
- Remove scripts (not needed anymore) |
40 |
|
|
41 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-5 |
42 |
|
- Clean up translations to work with pootle |
43 |
|
- Apply Mar 20 2008 translation patches |
44 |
|
|
45 |
* 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 |
46 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
47 |
- Update to new release naming. No functional changes. |
- Update to new release naming. No functional changes. |
126 |
|
|
127 |
%patch0 -p1 |
%patch0 -p1 |
128 |
%patch1 -p1 |
%patch1 -p1 |
129 |
|
%patch2 -p1 |
130 |
|
%patch3 -p1 |
131 |
|
%patch4 -p1 |
132 |
|
%patch5 -p1 |
133 |
|
|
134 |
%build |
%build |
135 |
/usr/bin/perl createlinks |
/usr/bin/perl createlinks |
147 |
%clean |
%clean |
148 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
149 |
|
|
|
%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 |
|