6:028fce11f8e3 | 7:5d51b46cdbc9 |
---|---|
38 License: JOSL/GPL | 38 License: JOSL/GPL |
39 Version: %{V_major}.%{V_minor} | 39 Version: %{V_major}.%{V_minor} |
40 Release: 20120800 | 40 Release: 20120800 |
41 | 41 |
42 # package options | 42 # package options |
43 %option with_sqlite no | 43 %option with_sqlite yes |
44 %option with_mysql no | 44 %option with_mysql no |
45 %option with_pgsql no | 45 %option with_pgsql no |
46 %option with_pam no | 46 %option with_pam no |
47 %option with_mucon yes | 47 %option with_mucon yes |
48 | 48 |
98 } | 98 } |
99 | 99 |
100 %prep | 100 %prep |
101 %setup -q -n jabberd-%{version} | 101 %setup -q -n jabberd-%{version} |
102 %setup -q -D -T -a 1 | 102 %setup -q -D -T -a 1 |
103 %{l_sed} <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b | |
103 %{l_shtool} subst \ | 104 %{l_shtool} subst \ |
104 -e 's;exec perl;exec %{l_prefix}/bin/perl;' \ | 105 -e 's;exec perl;exec %{l_prefix}/bin/perl;' \ |
105 tools/jabberd.in | 106 tools/jabberd.in |
106 %{l_shtool} subst \ | 107 %{l_shtool} subst \ |
107 -e 's;\$(initdir);;g' \ | 108 -e 's;\$(initdir);;g' \ |