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