]>
Commit | Line | Data |
---|---|---|
9ae646a2 AF |
1 | Summary: - |
2 | Summary(de): - | |
3 | Summary(fr): - | |
4 | Summary(pl): - | |
5 | Summary(tr): - | |
6 | Name: stunnel | |
7 | Version: 3.2 | |
8 | Release: 1 | |
9 | Group: Networking/Daemons | |
10 | Group(pl): Sieciowe/Serwery | |
11 | Copyright: GPL | |
12 | Source0: http://mike.daewoo.com.pl/computer/stunnel/%{name}-%{version}.tar.gz | |
13 | Patch0: stunnel-Makefile.patch | |
14 | Patch1: - | |
15 | Patch2: - | |
16 | URL: http://mike.daewoo.com.pl/computer/stunnel/ | |
17 | BuildPrereq: openssl | |
18 | BuildRoot: /tmp/%{name}-%{version}-root | |
19 | ||
20 | %description | |
21 | ||
22 | %description -l de | |
23 | ||
24 | %description -l fr | |
25 | ||
26 | %description -l pl | |
27 | ||
28 | %description -l tr | |
29 | ||
30 | %prep | |
31 | %setup -q -n %{name} | |
32 | %patch0 -p1 | |
33 | #%patch1 -p1 | |
34 | #%patch2 -p1 | |
35 | ||
36 | %build | |
37 | #(autoheader/autoconf/automake) | |
38 | CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ | |
39 | ./configure \ | |
40 | --prefix=/usr \ | |
41 | --target=%{_target_platform} \ | |
42 | --host=%{_host} \ | |
43 | ||
44 | make \ | |
45 | SSLLIBS="-lssl -lsslcrypto" \ | |
f4e35ac1 | 46 | SSLINCDIR="%{_includedir}/ssl" |
9ae646a2 AF |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | make install \ | |
52 | DESTDIR="$RPM_BUILD_ROOT/usr" \ | |
53 | CERTDIR="$RPM_BUILD_ROOT/var/state/ssl/certs" | |
54 | ||
2e3db10d | 55 | gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \ |
1402d762 | 56 | FAQ HISTORY README BUGS |
9ae646a2 AF |
57 | |
58 | %pre | |
59 | ||
60 | %preun | |
61 | ||
62 | %post | |
63 | ||
64 | %postun | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
1402d762 AF |
71 | %doc {FAQ,HISTORY,README,BUGS}.gz |
72 | %doc %lang(pl) doc.polish/* | |
f4e35ac1 | 73 | %attr(755,root,root) %{_sbindir}/* |
2e3db10d | 74 | %{_mandir}/man8/* |
9ae646a2 AF |
75 | /var/state/ssl/certs/stunnel.pem |
76 | ||
77 | %changelog | |
78 | * Thu May 13 1999 Artur Frysiak <wiget@pld.org.pl> | |
79 | [3.2-1] | |
80 | - initial release |