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