- up to 1.2.10 (security fix -- IPv6-related buffer overflow)
[packages/libspf2.git] / libspf2.spec
CommitLineData
2f42b5a3
ER
1# TODO
2# ./configure[3000]: AX_WITH_PERL: not found - needed after regeneration
3
65e29aa8 4Summary: Implementation of the SPF specification
73967574 5Summary(pl.UTF-8): Implementacja specyfikacji SPF
65e29aa8 6Name: libspf2
480eb924
AO
7Version: 1.2.10
8Release: 1
65e29aa8 9License: LGPL
10Group: Libraries
480eb924
AO
11Source0: http://www.libspf2.org/spf/%{name}-%{version}.tar.gz
12# Source0-md5: 7bb9937d0705649eaa8646de66dc3562
f7945713 13Patch0: %{name}-link.patch
2f42b5a3 14URL: http://www.libspf2.org/
65e29aa8 15BuildRequires: autoconf >= 2.59
16BuildRequires: automake
17BuildRequires: libtool
47928301 18Obsoletes: libspf_alt
65e29aa8 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Libspf2 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
26Libspf2 jest implementacją specyfikacji SPF, która znajduje się pod
2f42b5a3
ER
27<adresem
28http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>.
65e29aa8 29
1100577e 30%package tools
31Summary: Tools distributed with libspf2
73967574 32Summary(pl.UTF-8): Programy narzędziowe, dystrybuowane z libspf2
1100577e 33Group: Networking/Utilities
34Requires: %{name} = %{version}-%{release}
35
36%description tools
37Tools distributed with libspf2; at the time of writing: spf_example,
38spf_example_2mx, spfd, spfquery and spftest.
39
d11e078d
JR
40%description tools -l pl.UTF-8
41Programy narzędziowe, dystrybuowane z libspf2; w momencie pisania tego
1100577e 42opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest.
43
65e29aa8 44%package devel
45Summary: Header files for libspf2 library
73967574 46Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspf2
65e29aa8 47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
47928301 49Obsoletes: libspf_alt-devel
65e29aa8 50
51%description devel
52Header files for libspf2 library.
53
d11e078d
JR
54%description devel -l pl.UTF-8
55Pliki nagłówkowe biblioteki libspf2.
65e29aa8 56
57%package static
58Summary: Static libspf2 library
73967574 59Summary(pl.UTF-8): Statyczna biblioteka libspf2
65e29aa8 60Group: Development/Libraries
61Requires: %{name}-devel = %{version}-%{release}
47928301 62Obsoletes: libspf_alt-static
65e29aa8 63
64%description static
65Static libspf2 library.
66
d11e078d 67%description static -l pl.UTF-8
65e29aa8 68Statyczna 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
84rm -rf $RPM_BUILD_ROOT
65e29aa8 85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88%clean
89rm -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
This page took 0.076541 seconds and 4 git commands to generate.