2 # ./configure[3000]: AX_WITH_PERL: not found - needed after regeneration
4 Summary: Implementation of the SPF specification
5 Summary(pl.UTF-8): Implementacja specyfikacji SPF
11 # Source0: http://www.libspf2.org/spf/%{name}-%{version}.tar.gz
12 Source0: https://github.com/shevek/libspf2/tarball/4915c30#/%{name}.tar.gz
13 # Source0-md5: ad5f1b48e4f2b5561df99ca7cbf30e92
14 Patch0: %{name}-link.patch
15 Patch1: 0001-remove-libreplace-unneeded-on-Linux.patch
16 # https://github.com/shevek/libspf2/pull/44
17 Patch2: integer-underflow.patch
18 Patch3: spf_dns-include-std-headers.patch
19 Patch4: abolish-spf-rrtype.patch
20 URL: http://www.libspf2.org/
21 BuildRequires: autoconf >= 2.59
22 BuildRequires: automake
23 BuildRequires: libtool
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Libspf2 is an implementation of the SPF specification as found at
29 <http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>.
31 %description -l pl.UTF-8
32 Libspf2 jest implementacją specyfikacji SPF, która znajduje się pod
34 http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>.
37 Summary: Tools distributed with libspf2
38 Summary(pl.UTF-8): Programy narzędziowe, dystrybuowane z libspf2
39 Group: Networking/Utilities
40 Requires: %{name} = %{version}-%{release}
43 Tools distributed with libspf2; at the time of writing: spf_example,
44 spf_example_2mx, spfd, spfquery and spftest.
46 %description tools -l pl.UTF-8
47 Programy narzędziowe, dystrybuowane z libspf2; w momencie pisania tego
48 opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest.
51 Summary: Header files for libspf2 library
52 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspf2
53 Group: Development/Libraries
54 Requires: %{name} = %{version}-%{release}
55 Obsoletes: libspf_alt-devel
58 Header files for libspf2 library.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki libspf2.
64 Summary: Static libspf2 library
65 Summary(pl.UTF-8): Statyczna biblioteka libspf2
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
68 Obsoletes: libspf_alt-static
71 Static libspf2 library.
73 %description static -l pl.UTF-8
74 Statyczna biblioteka libspf2.
78 %setup -q -n shevek-libspf2-4915c30
95 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc README TODO LICENSES INSTALL
108 %attr(755,root,root) %{_libdir}/libspf2.so.*.*.*
109 %ghost %{_libdir}/libspf2.so.2
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/spf_example
114 %attr(755,root,root) %{_bindir}/spf_example_static
115 %attr(755,root,root) %{_bindir}/spfd
116 %attr(755,root,root) %{_bindir}/spfd_static
117 %attr(755,root,root) %{_bindir}/spfquery
118 %attr(755,root,root) %{_bindir}/spfquery_static
119 %attr(755,root,root) %{_bindir}/spftest
120 %attr(755,root,root) %{_bindir}/spftest_static
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libspf2.so
125 %{_libdir}/libspf2.la
126 %dir %{_includedir}/spf2
127 %{_includedir}/spf2/*.h
130 %defattr(644,root,root,755)