davical/davical.spec

changeset 291
52571005077f
parent 290
731574048d85
child 292
935d512fd6bd
equal deleted inserted replaced
0:8d4fe56b6c91 1:a211d27a011a
35 Distribution: OpenPKG Community 35 Distribution: OpenPKG Community
36 Class: EVAL 36 Class: EVAL
37 Group: Network 37 Group: Network
38 License: GPL 38 License: GPL
39 Version: %{V_opkg} 39 Version: %{V_opkg}
40 Release: 20100926 40 Release: 20101120
41 41
42 # package options 42 # package options
43 %define with_ssl no 43 %define with_ssl no
44 44
45 # list of sources 45 # list of sources
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"

mercurial