Package webserver-cgi-bin-control: 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 | # hey Emacs, its -*- rpm-spec -*- %define rpm_masrosdir %_sysconfdir/rpm/macros.d # for distr selected %def_without M40 %def_without M41 # for set release %define release_pre alt %define release_base_num 1 %define release_base_num2 %nil %define release_suff %nil # for set distr %define release_distr_num 1 # set distr %define distr_switch %nil %if_with M40 %define distr_switch M40 %endif %if_with M41 %define distr_switch M41 %endif %if "%distr_switch" == "" %if "%release_base_num2" == "" %define release_num %release_base_num %else %define release_num %release_base_num.%release_base_num2 %endif %define release_distr %nil %else %if "%release_base_num2" == "" %define release_num %(expr %release_base_num - 1) %else %define release_num %release_base_num.%(expr %release_base_num2 - 1) %endif %define release_distr .%distr_switch.%release_distr_num %endif # release_base set %define release_base %release_pre%release_num%release_distr # set package_release %define package_release %release_base%release_suff Name: webserver-cgi-bin-control Version: 0.4 Release: %package_release Summary: The base cgi-bin control facility Summary(ru_RU.KOI8-R): \xef\xd3\xce\xcf\xd7\xc1 control \xc4\xcc\xd1 cgi-bin License: %gpl2plus Group: System/Servers Packager: Aleksey Avdeev <solo@altlinux.ru> Source0: webserver-cgi-bin-functions Source10: webserver-cgi-bin-control.rpm-macros BuildArch: noarch BuildPreReq: rpm-build-licenses BuildPreReq: rpm-macros-webserver-common BuildPreReq: %_datadir/rpm-build-rpm-eval/rpm-eval.sh Provides: %_sysconfdir/control.d/webserver-cgi-bin-functions %description This package contains webserver-cgi-bin-functions for cgi-bin control facility. %description -l ru_RU.KOI8-R \xfc\xd4\xcf\xd4 \xd0\xc1\xcb\xc5\xd4 \xd3\xcf\xc4\xc5\xd2\xd6\xc9\xd4 webserver-cgi-bin-functions \xc4\xcc\xd1 \xd0\xd2\xc1\xd7\xc9\xcc \xd5\xd0\xd2\xc1\xd7\xcc\xc5\xce\xc9\xd1 cgi-bin \xd3\xcb\xd2\xc9\xd0\xd4\xc1\xcd\xc9. %package -n rpm-macros-%name Summary: RPM macros to rebuild Web servers and apps packages Summary(ru_RU.KOI8-R): RPM \xcd\xc1\xcb\xd2\xcf\xd3\xd9 \xc4\xcc\xd1 \xd3\xc2\xcf\xd2\xcb\xc9 \xd0\xc1\xcb\xc5\xd4\xcf\xd7 \xd7\xc5\xc2-\xd3\xc5\xd2\xd7\xc5\xd2\xcf\xd7 \xc9 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca Group: Development/Other %description -n rpm-macros-%name The package provide a set of macros for packaging Web applications according to the ALT Linux Web Packaging Policy. %description -n rpm-macros-%name -l ru_RU.KOI8-R \xed\xc1\xcb\xd2\xcf\xd3\xd9 \xc4\xcc\xd1 \xcf\xc2\xc5\xd3\xd0\xc5\xde\xc5\xce\xc9\xd1 \xd3\xc2\xcf\xd2\xcb\xc9 \xd0\xc1\xcb\xc5\xd4\xcf\xd7 \xd7\xc5\xc2 \xd3\xc5\xd2\xd7\xc5\xd2\xcf\xd7 \xc9 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca \xd7 \xd3\xcf\xcf\xd4\xd7\xc5\xd4\xd3\xd4\xd7\xc9\xc9 \xd3 ALT Linux Web Packaging Policy. %install install -D -m644 %SOURCE0 %buildroot%_sysconfdir/control.d/webserver-cgi-bin-functions # Substitute the real paths in files find %buildroot%_sysconfdir -type f -print0 \ | xargs -r0i %_datadir/rpm-build-rpm-eval/rpm-eval.sh "{}" install -pD -m644 %SOURCE10 \ %buildroot%rpm_masrosdir/%name %files %_sysconfdir/control.d/webserver-cgi-bin-functions %files -n rpm-macros-%name %rpm_masrosdir/%name %changelog * Tue Oct 14 2008 Aleksey Avdeev <solo@altlinux.ru> 0.4-alt1 - Fix symlink_* status and sets - Add build rpm-macros-%%name subpackage for ALT Linux RPM Packaging Policy * Sat Sep 27 2008 Aleksey Avdeev <solo@altlinux.ru> 0.3-alt1 - Fix const use * Mon Sep 22 2008 Aleksey Avdeev <solo@altlinux.ru> 0.2-alt1 - Add none status * Wed Aug 27 2008 Aleksey Avdeev <solo@altlinux.ru> 0.1-alt1 - Initial build |