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