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