]>
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 |
dcc755cb | 7 | Version: 1.2.9 |
2f42b5a3 | 8 | Release: 3 |
65e29aa8 | 9 | License: LGPL |
10 | Group: Libraries | |
11 | Source0: http://libspf2.org/spf/%{name}-%{version}.tar.gz | |
dcc755cb | 12 | # Source0-md5: 3305df4d1b13ca964d80b23bb5e4e2b6 |
f7945713 | 13 | Patch0: %{name}-link.patch |
2f42b5a3 | 14 | URL: http://www.libspf2.org/ |
65e29aa8 | 15 | BuildRequires: autoconf >= 2.59 |
16 | BuildRequires: automake | |
17 | BuildRequires: libtool | |
47928301 | 18 | Obsoletes: libspf_alt |
65e29aa8 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | Libspf2 is an implementation of the SPF specification as found at | |
2f42b5a3 | 23 | <http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>. |
65e29aa8 | 24 | |
d11e078d JR |
25 | %description -l pl.UTF-8 |
26 | Libspf2 jest implementacją specyfikacji SPF, która znajduje się pod | |
2f42b5a3 ER |
27 | <adresem |
28 | http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>. | |
65e29aa8 | 29 | |
1100577e | 30 | %package tools |
31 | Summary: Tools distributed with libspf2 | |
73967574 | 32 | Summary(pl.UTF-8): Programy narzędziowe, dystrybuowane z libspf2 |
1100577e | 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 | ||
d11e078d JR |
40 | %description tools -l pl.UTF-8 |
41 | Programy narzędziowe, dystrybuowane z libspf2; w momencie pisania tego | |
1100577e | 42 | opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest. |
43 | ||
65e29aa8 | 44 | %package devel |
45 | Summary: Header files for libspf2 library | |
73967574 | 46 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspf2 |
65e29aa8 | 47 | Group: Development/Libraries |
48 | Requires: %{name} = %{version}-%{release} | |
47928301 | 49 | Obsoletes: libspf_alt-devel |
65e29aa8 | 50 | |
51 | %description devel | |
52 | Header files for libspf2 library. | |
53 | ||
d11e078d JR |
54 | %description devel -l pl.UTF-8 |
55 | Pliki nagłówkowe biblioteki libspf2. | |
65e29aa8 | 56 | |
57 | %package static | |
58 | Summary: Static libspf2 library | |
73967574 | 59 | Summary(pl.UTF-8): Statyczna biblioteka libspf2 |
65e29aa8 | 60 | Group: Development/Libraries |
61 | Requires: %{name}-devel = %{version}-%{release} | |
47928301 | 62 | Obsoletes: libspf_alt-static |
65e29aa8 | 63 | |
64 | %description static | |
65 | Static libspf2 library. | |
66 | ||
d11e078d | 67 | %description static -l pl.UTF-8 |
65e29aa8 | 68 | Statyczna biblioteka libspf2. |
69 | ||
70 | %prep | |
71 | %setup -q | |
f7945713 | 72 | %patch0 -p1 |
65e29aa8 | 73 | |
74 | %build | |
75 | %{__libtoolize} | |
76 | %{__aclocal} | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
2f42b5a3 | 79 | %{__automake} |
65e29aa8 | 80 | %configure |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
65e29aa8 | 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) | |
dcc755cb | 96 | %doc README TODO LICENSES INSTALL |
2f42b5a3 ER |
97 | %attr(755,root,root) %{_libdir}/libspf2.so.*.*.* |
98 | %ghost %{_libdir}/libspf2.so.2 | |
65e29aa8 | 99 | |
1100577e | 100 | %files tools |
101 | %defattr(644,root,root,755) | |
2f42b5a3 ER |
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 | |
1100577e | 110 | |
65e29aa8 | 111 | %files devel |
112 | %defattr(644,root,root,755) | |
2f42b5a3 ER |
113 | %attr(755,root,root) %{_libdir}/libspf2.so |
114 | %{_libdir}/libspf2.la | |
65e29aa8 | 115 | %dir %{_includedir}/spf2 |
116 | %{_includedir}/spf2/*.h | |
117 | ||
118 | %files static | |
119 | %defattr(644,root,root,755) | |
2f42b5a3 | 120 | %{_libdir}/libspf2.a |