1 |
|
# $Id: smeserver-dar2.spec,v 1.5 2008/04/21 03:15:09 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 6 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: dar => 2.3.1 |
Requires: dar => 2.3.1 |
22 |
Requires: smeserver-release => 7.0 |
Requires: smeserver-release => 7.0 |
23 |
Requires: perl-CGI-FormMagick => 0.92-08 |
Requires: perl-CGI-FormMagick => 0.92-08 |
24 |
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
%description |
%description |
26 |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
SME Server implementation of Disk ARchive (http://dar.linux.free.fr) |
27 |
based on smeserver-backup2. |
based on smeserver-backup2. |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-6 |
31 |
|
- Remove scripts (not needed anymore) |
32 |
|
|
33 |
|
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 0.0.1-5 |
34 |
|
- Clean up translations to work with pootle |
35 |
|
- Apply Mar 20 2008 translation patches |
36 |
|
|
37 |
* 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 |
38 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
39 |
- Update to new release naming. No functional changes. |
- Update to new release naming. No functional changes. |
118 |
|
|
119 |
%patch0 -p1 |
%patch0 -p1 |
120 |
%patch1 -p1 |
%patch1 -p1 |
121 |
|
%patch2 -p1 |
122 |
|
%patch3 -p1 |
123 |
|
|
124 |
%build |
%build |
125 |
/usr/bin/perl createlinks |
/usr/bin/perl createlinks |
137 |
%clean |
%clean |
138 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
139 |
|
|
|
%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 |
|