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