Package rpm-macros-apache2: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | # vim: set ft=spec: -*- rpm-spec -*- # hey Emacs, its -*- rpm-spec -*- # %%branch_switch set %%branch_release use #%%define branch_switch Mxx %define macrosname apache2 # do we need to co-exist with apache-ru ? %def_enable apache_ru_compat Name: rpm-macros-%macrosname Version: 3.12 Release: %branch_release alt2 Summary: RPM macros to Apache2 Web server Summary(ru_RU.UTF-8): RPM макросы для веб-сервера Apache2 License: %asl Group: Development/Other Packager: Aleksey Avdeev <solo@altlinux.ru> BuildArch: noarch # rpm macro definitions Source1: %macrosname.rpm-macros Source2: %macrosname-compat.rpm-macros BuildRequires(pre): rpm-macros-branch BuildPreReq: rpm-build-licenses BuildPreReq: rpm >= 4.0.4-alt96.13 BuildPreReq: rpm-macros-webserver-common >= 1.3 Conflicts: rpm-macros-webserver-common < 1.4 Conflicts: apache2-devel <= 2.2.16-alt1 Requires: rpm-macros-webserver-common >= 1.4 %description The package provide a set of macros for packaging Web applications according to the ALT Linux Web Packaging Policy. %description -l ru_RU.UTF-8 Макросы для обеспечения сборки пакетов веб серверов и приложений в соответствии с ALT Linux Web Packaging Policy. %package compat Summary: RPM macros to Apache2 Web server Summary(ru_RU.UTF-8): RPM макросы для веб-сервера Apache2 Group: Development/Other Conflicts: apache-devel <= 1.3.41rusPL30.23-alt4.2 Conflicts: apache2-devel <= 2.2.9-alt2 Conflicts: rpm-macros-apache Requires: %name >= %version %description compat The package provide a set of macros for packaging Web applications according to the ALT Linux Web Packaging Policy. %description compat -l ru_RU.UTF-8 Макросы для обеспечения сборки пакетов веб серверов и приложений в соответствии с ALT Linux Web Packaging Policy. %install install -pD -m644 %SOURCE1 %buildroot%_rpmmacrosdir/%macrosname install -pD -m644 %SOURCE2 %buildroot%_rpmmacrosdir/%macrosname-compat %if_disabled apache_ru_compat find %buildroot%_rpmmacrosdir/ -type f -print0 \ | xargs -r0 sed -ri " /^[[:space:]]*%%apache2_branch[[:space:]]/s/^([[:space:]]*%%apache2_branch[[:space:]]+)[^[:space:]].*$/\1%%nil/ " %endif %files %_rpmmacrosdir/%macrosname %files compat %_rpmmacrosdir/%macrosname-compat %changelog * Thu Mar 31 2016 Sergey Alembekov <rt@altlinux.ru> 3.12-alt2 - fix apxs path - fix htcacheclean binary name - fix htcacheclean_cachepath * Tue Feb 05 2013 Aleksey Avdeev <solo@altlinux.ru> 3.12-alt1 - Add new macros: + %%apache2_docdir_prefix + %%apache2_libapr_name + %%apache2_libapr_evr + %%apache2_libaprutil_name + %%apache2_libaprutil_evr * Sat Jan 26 2013 Aleksey Avdeev <solo@altlinux.ru> 3.11-alt1 - Fix macros %%apache2_libssl_soname - Add new macros: + %%apache2_ssldir + %%apache2_sslcertsdir + %%apache2_sslkeysdir + %%apache2_sslcertname + %%apache2_sslcertext + %%apache2_sslcertificatefile + %%apache2_sslcertificatekeyfile + %%apache2_sslrootcertfilename + %%apache2_sslcertsh + %%apache2_sslcertshfunctions * Fri Jan 11 2013 Aleksey Avdeev <solo@altlinux.ru> 3.10-alt1 - Add new macros %%post_apache2_rpmrenamevarinconfig * Thu Oct 11 2012 Aleksey Avdeev <solo@altlinux.ru> 3.9-alt1 - Add new macros: + %%apache2_create_rpmfiletriggerdir + %%post_apache2_rpmhttpdrestartfile + %%post_apache2_rpmhtcachecleanrestartfile + %%post_apache2_rpma2chkconfigfile * Wed Oct 03 2012 Aleksey Avdeev <solo@altlinux.ru> 3.8-alt2 - Fix macros %%post_apache2conf and %%postun_apache2conf: use /sbin/service * Tue Aug 14 2012 Aleksey Avdeev <solo@altlinux.ru> 3.8-alt1 - Remove repocop-unittest-data-%%name subpackage (Closes: #26076) - Add new macros: + %%apache2_apachectl_name + %%apache2_apachectl + %%apache2_apxs_name + %%apache2_envconf * Fri Jul 15 2011 Aleksey Avdeev <solo@altlinux.ru> 3.7-alt1 - Add new macros %%apache2_rpmhtcachecleanrestartfile * Wed Jul 06 2011 Aleksey Avdeev <solo@altlinux.ru> 3.6-alt1 - Add new macros: + %%apache2_htcacheclean_dname + %%apache2_htcacheclean_cachepath + %%apache2_htcacheclean_lockdir + %%apache2_htcacheclean_piddir * Sun Jun 05 2011 Aleksey Avdeev <solo@altlinux.ru> 3.5-alt1 - Add new macros %%triggerun_apache2_rpmhttpdstartfile * Fri Jun 03 2011 Aleksey Avdeev <solo@altlinux.ru> 3.4-alt1 - Add new macros %%apache2_httpdlockfile * Fri Jun 03 2011 Aleksey Avdeev <solo@altlinux.ru> 3.3-alt1 - Add new macros %%apache2_rpmhttpdstartfile * Fri May 27 2011 Aleksey Avdeev <solo@altlinux.ru> 3.2-alt1 - Add new macros: + %%apache2_rpmfiletriggerdir + %%apache2_rpmhttpdrestartfile + %%apache2_rpma2chkconfigfile * Wed Oct 20 2010 Aleksey Avdeev <solo@altlinux.ru> 3.1-alt1 - Add new macros %%apache2_confdir_inc * Wed Oct 20 2010 Aleksey Avdeev <solo@altlinux.ru> 3.0-alt1 - Remove %%apache2_distr_switch macros - Set Conflicts: apache2-devel <= 2.2.16-alt1 - Add new macros: + %%apache2_uploadsdir + %%apache2_uploadslink + %%apache2_lockdir + %%apache2_locklink * Wed Dec 10 2008 Aleksey Avdeev <solo@altlinux.ru> 2.1-alt1 - Fix %%apache2_apr_buildreq sets (Closes: #18167) * Wed Nov 12 2008 Aleksey Avdeev <solo@altlinux.ru> 2.0-alt1 - Remove %%name-%%apache2_libdb_name provides and %%apache2_libdb* macros - Add Conflicts: apache2-devel < 2.2.9-alt12.1 * Fri Aug 15 2008 Aleksey Avdeev <solo@altlinux.ru> 1.1-alt2 - Use libdb4.4-devel by default * Thu Aug 14 2008 Aleksey Avdeev <solo@altlinux.ru> 1.1-alt1 - Fix %%apache2_libssl* macros sets * Thu Aug 14 2008 Aleksey Avdeev <solo@altlinux.ru> 1-alt1 - Add libdb and distr switchers (%%nil by default) - Add new macros: + %%apache2_libdb* + %%apache2_distr_switch + %%apache2_libdb_soname - Add new provides: %%name-%%apache2_libdb_name = %%apache2_libdb_soname - Turn back conditional libdb4-devel default, libdb4.4-devel (for M40 and M41), libdb4.3-devel (for M30) or libdb4.2-devel (for M24) build * Tue Aug 05 2008 Aleksey Avdeev <solo@altlinux.ru> 0.3-alt2 - Fix Requires/Conflicts * Tue Aug 05 2008 Aleksey Avdeev <solo@altlinux.ru> 0.3-alt1 - Create repocop-unittest-data-%%name subpackage for repocop tests - Add new macros: + %%apache2_manualaddonsdir + %%apache2_compat_manualaddonsdir - Remove %%apache2_compat_htdocsaddondir macros (move to %%name-compat subpackage) * Sat Aug 02 2008 Aleksey Avdeev <solo@altlinux.ru> 0.2-alt2 - Add conflict with the package rpm-macros-apache * Sat Aug 02 2008 Aleksey Avdeev <solo@altlinux.ru> 0.2-alt1 - Add macros for pid file * Fri Aug 01 2008 Aleksey Avdeev <solo@altlinux.ru> 0.1-alt1 - Add apache_ru_compat switcher (enabled by default) * Tue Jul 15 2008 Aleksey Avdeev <solo@altlinux.ru> 0.1-alt0.1 - First build for ALT Linux |