50 Source4: davical-setup.sh |
50 Source4: davical-setup.sh |
51 Source5: rc.davical |
51 Source5: rc.davical |
52 Patch0: davical.patch |
52 Patch0: davical.patch |
53 |
53 |
54 # build information |
54 # build information |
55 BuildPreReq: OpenPKG, openpkg >= 20100101 |
55 Prefix: %{l_prefix} |
56 PreReq: OpenPKG, openpkg >= 20100101 |
56 BuildRoot: %{l_buildroot} |
|
57 BuildPreReq: OpenPKG, openpkg >= 20060823 |
|
58 PreReq: OpenPKG, openpkg >= 20060823 |
57 PreReq: pcre, pcre::with_utf8 |
59 PreReq: pcre, pcre::with_utf8 |
58 PreReq: apache |
60 PreReq: apache |
59 %if "%{with_ssl}" == "yes" |
61 %if "%{with_ssl}" == "yes" |
60 PreReq: apache::with_mod_ssl = yes, x509 |
62 PreReq: apache::with_mod_ssl = yes, x509 |
61 %endif |
63 %endif |
149 '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/davical/*' |
151 '%attr(-,%{l_rusr},%{l_rgrp}) %{l_prefix}/var/davical/*' |
150 |
152 |
151 %files -f files |
153 %files -f files |
152 |
154 |
153 %clean |
155 %clean |
|
156 rm -rf $RPM_BUILD_ROOT |
154 |
157 |
155 %post |
158 %post |
156 if [ $1 -eq 1 ]; then |
159 if [ $1 -eq 1 ]; then |
157 # display final hints on initial installation |
160 # display final hints on initial installation |
158 ( echo "1. To complete this installation of Drupal please start PostgreSQL" |
161 ( echo "1. To complete this installation of Drupal please start PostgreSQL" |