]>
Commit | Line | Data |
---|---|---|
42ff9e9b | 1 | %define name cyrus-sasl |
2 | %define version 1.5.3 | |
3 | %define release 2 | |
4 | %define prefix /usr | |
5 | ||
6 | Summary: The SASL library API for the Cyrus mail system. | |
7 | Name: %{name} | |
8 | Version: %{version} | |
9 | Release: %{release} | |
10 | Copyright: distributable | |
11 | Group: System Environment/Libraries | |
12 | Source: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-1.5.3.tar.gz | |
13 | URL: http://asg.web.cmu.edu/cyrus/imapd/ | |
14 | Buildroot:/var/tmp/%{name}-root | |
15 | Provides: libsasl | |
16 | ||
17 | %description | |
18 | The cyrus-sasl package contains the SASL library API implementation | |
19 | for the Cyrus mail system. | |
20 | ||
21 | %prep | |
22 | %setup -n %{name}-%{version} | |
23 | ||
24 | %build | |
25 | (cd $RPM_BUILD_DIR/cyrus-sasl-1.5.3 | |
26 | ./configure --prefix=%{prefix} | |
27 | make) | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | (cd $RPM_BUILD_DIR/cyrus-sasl-1.5.3 | |
32 | make prefix=$RPM_BUILD_ROOT%{prefix} install ) | |
33 | ||
34 | strip -s $RPM_BUILD_ROOT%{prefix}/sbin/* || : | |
35 | chmod 755 $RPM_BUILD_ROOT%{prefix}/lib/sasl/* | |
36 | chmod 755 $RPM_BUILD_ROOT%{prefix}/lib/libsasl.la | |
37 | chmod 755 $RPM_BUILD_ROOT%{prefix}/lib/libsasl.so.5.1.0 | |
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %post | |
42 | /sbin/ldconfig | |
43 | ||
44 | %postun | |
45 | /sbin/ldconfig | |
46 | ||
47 | ||
48 | %files | |
49 | %defattr(-,root,root) | |
50 | %{prefix}/include/*.h | |
51 | %{prefix}/lib/sasl/* | |
52 | %{prefix}/lib/libsasl* | |
53 | %dir %{prefix}/lib/sasl | |
54 | %{prefix}/man/man1/sasl_client.1 | |
55 | %{prefix}/man/man1/sasl_server.1 | |
56 | %{prefix}/man/man8/saslpasswd.8 | |
57 | %{prefix}/sbin/saslpasswd | |
58 | ||
59 | %changelog | |
60 | * Mon Aug 30 1999 Tim Powers <timp@redhat.com> | |
61 | - changed group | |
62 | ||
63 | * Fri Aug 13 1999 Tim Powers <timp@redhat.com> | |
64 | - first build for Powertools |