Revision: | 1.9 |
Committed: | Wed May 23 16:26:06 2007 UTC (17 years, 11 months ago) by elmer |
Branch: | MAIN |
CVS Tags: | pe20070626c-ports, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, pe20070607a-ports |
Changes since 1.8: | +5 -2 lines |
Log Message: | o Updates to use %realversion from rpm-preamble o Versions all updated to -XXXX (we can choose the actual rebuild naming convention in a second pass) |
# | User | Rev | Content |
---|---|---|---|
1 | elmer | 1.9 | ### RPM external openssl 0.9.7d-XXXX |
2 | Source: http://www.openssl.org/source/%n-%realversion.tar.gz | ||
3 | |||
4 | %prep | ||
5 | %setup -n %n-%{realversion} | ||
6 | argiro | 1.1 | |
7 | %build | ||
8 | ./config --prefix=%i shared | ||
9 | elmer | 1.5 | case $(uname)-$(uname -m) in |
10 | Darwin*) | ||
11 | perl -p -i -e 's|-compatibility_version.*|-compatibility_version \${SHLIB_MAJOR}.\${SHLIB_MINOR} \\|' Makefile.ssl | ||
12 | esac | ||
13 | |||
14 | argiro | 1.1 | make |
15 | eulisse | 1.3 | %install |
16 | make install | ||
17 | perl -p -i -e "s|^#!.*perl|#!/usr/bin/env perl|" %{i}/ssl/misc/CA.pl %{i}/ssl/misc/der_chop %{i}/bin/c_rehash | ||
18 | eulisse | 1.6 | # |