]>
Commit | Line | Data |
---|---|---|
1 | Summary: Implementation of the SPF specification | |
2 | Summary(pl.UTF-8): Implementacja specyfikacji SPF | |
3 | Name: libspf2 | |
4 | Version: 1.2.9 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: Libraries | |
8 | Source0: http://libspf2.org/spf/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 3305df4d1b13ca964d80b23bb5e4e2b6 | |
10 | Patch0: %{name}-link.patch | |
11 | BuildRequires: autoconf >= 2.59 | |
12 | BuildRequires: automake | |
13 | BuildRequires: libtool | |
14 | Obsoletes: libspf_alt | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Libspf2 is an implementation of the SPF specification as found at | |
19 | http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt . | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | Libspf2 jest implementacją specyfikacji SPF, która znajduje się pod | |
23 | adresem | |
24 | http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt . | |
25 | ||
26 | %package tools | |
27 | Summary: Tools distributed with libspf2 | |
28 | Summary(pl.UTF-8): Programy narzędziowe, dystrybuowane z libspf2 | |
29 | Group: Networking/Utilities | |
30 | Requires: %{name} = %{version}-%{release} | |
31 | ||
32 | %description tools | |
33 | Tools distributed with libspf2; at the time of writing: spf_example, | |
34 | spf_example_2mx, spfd, spfquery and spftest. | |
35 | ||
36 | %description tools -l pl.UTF-8 | |
37 | Programy narzędziowe, dystrybuowane z libspf2; w momencie pisania tego | |
38 | opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest. | |
39 | ||
40 | %package devel | |
41 | Summary: Header files for libspf2 library | |
42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspf2 | |
43 | Group: Development/Libraries | |
44 | Requires: %{name} = %{version}-%{release} | |
45 | Obsoletes: libspf_alt-devel | |
46 | ||
47 | %description devel | |
48 | Header files for libspf2 library. | |
49 | ||
50 | %description devel -l pl.UTF-8 | |
51 | Pliki nagłówkowe biblioteki libspf2. | |
52 | ||
53 | %package static | |
54 | Summary: Static libspf2 library | |
55 | Summary(pl.UTF-8): Statyczna biblioteka libspf2 | |
56 | Group: Development/Libraries | |
57 | Requires: %{name}-devel = %{version}-%{release} | |
58 | Obsoletes: libspf_alt-static | |
59 | ||
60 | %description static | |
61 | Static libspf2 library. | |
62 | ||
63 | %description static -l pl.UTF-8 | |
64 | Statyczna biblioteka libspf2. | |
65 | ||
66 | %prep | |
67 | %setup -q | |
68 | %patch0 -p1 | |
69 | ||
70 | %build | |
71 | %{__libtoolize} | |
72 | %{__aclocal} | |
73 | %{__autoconf} | |
74 | %{__autoheader} | |
75 | %{__automake} | |
76 | %configure | |
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %post -p /sbin/ldconfig | |
89 | %postun -p /sbin/ldconfig | |
90 | ||
91 | %files | |
92 | %defattr(644,root,root,755) | |
93 | %doc README TODO LICENSES INSTALL | |
94 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
95 | ||
96 | %files tools | |
97 | %defattr(644,root,root,755) | |
98 | %attr(755,root,root) %{_bindir}/* | |
99 | ||
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %attr(755,root,root) %{_libdir}/lib*.so | |
103 | %{_libdir}/lib*.la | |
104 | %dir %{_includedir}/spf2 | |
105 | %{_includedir}/spf2/*.h | |
106 | ||
107 | %files static | |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/lib*.a |