1 |
%define name smeserver-mod_dav |
%define name smeserver-mod_dav |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 5 |
%define release 6 |
4 |
|
|
5 |
Summary: SME Server mod_dav implementation |
Summary: SME Server mod_dav implementation |
6 |
Name: %{name} |
Name: %{name} |
9 |
License: GPL |
License: GPL |
10 |
Group: Applications/Internet |
Group: Applications/Internet |
11 |
Source: %{name}-%{version}-2.tgz |
Source: %{name}-%{version}-2.tgz |
12 |
|
Patch1: smeserver-mod_dav-0.1-initdb.patch |
13 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
15 |
Requires: smeserver-release >= 7 httpd >= 2 |
Requires: smeserver-release >= 7 httpd >= 2 |
19 |
Implementation of mod_dav for SME Server 7. |
Implementation of mod_dav for SME Server 7. |
20 |
|
|
21 |
%changelog |
%changelog |
22 |
|
* Mon Feb 25 2008 Shad L. Lords <slords@mail.com> 0.1-6 |
23 |
|
- Remove scripts and move db initialition to package |
24 |
|
|
25 |
* Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
* Fri Feb 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> |
26 |
- 0.1-5 |
- 0.1-5 |
27 |
- Removed initialize-default-database from %post macro |
- Removed initialize-default-database from %post macro |
45 |
%prep |
%prep |
46 |
|
|
47 |
%setup |
%setup |
48 |
|
%patch1 -p1 |
49 |
|
|
50 |
%build |
%build |
51 |
|
|
|
DEFAULTS=root/etc/e-smith/db/configuration/defaults/modDAV |
|
|
mkdir -p $DEFAULTS |
|
|
|
|
|
echo "service" > $DEFAULTS/type |
|
|
echo "enabled" > $DEFAULTS/status |
|
|
|
|
52 |
%install |
%install |
53 |
rm -rf %buildroot |
rm -rf %buildroot |
54 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
58 |
%clean |
%clean |
59 |
rm -rf %buildroot |
rm -rf %buildroot |
60 |
|
|
|
%post |
|
|
/etc/e-smith/events/actions/navigation-conf |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
|
|
/usr/bin/sv t httpd-e-smith |
|
|
|
|
|
%postun |
|
|
/sbin/e-smith/db configuration delete modDAV |
|
|
/etc/e-smith/events/actions/navigation-conf |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
|
|
/usr/bin/sv t httpd-e-smith |
|
|
|
|
61 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
62 |
%defattr(-,root,root) |
%defattr(-,root,root) |