]> git.pld-linux.org Git - packages/libspf2.git/blobdiff - libspf2.spec
Rel 3; small fixes from debian
[packages/libspf2.git] / libspf2.spec
index 1315802b6ffd763b88a1917e9e412d2e7c9d61e3..4fdba22b6416910a5cb450d5e3b847da2c3dc4d4 100644 (file)
@@ -1,13 +1,23 @@
+# TODO
+# ./configure[3000]: AX_WITH_PERL: not found - needed after regeneration
+
 Summary:       Implementation of the SPF specification
-Summary(pl):   Implementacja specyfikacji SPF
+Summary(pl.UTF-8):     Implementacja specyfikacji SPF
 Name:          libspf2
-Version:       1.2.5
-Release:       1
+Version:       1.2.11
+Release:       3
 License:       LGPL
 Group:         Libraries
-Source0:       http://libspf2.org/spf/%{name}-%{version}.tar.gz
-# Source0-md5: 06ed6a3b0b54c8590679315ae2d28ad9
+# Source0:     http://www.libspf2.org/spf/%{name}-%{version}.tar.gz
+Source0:       https://github.com/shevek/libspf2/tarball/4915c30#/%{name}.tar.gz
+# Source0-md5: ad5f1b48e4f2b5561df99ca7cbf30e92
 Patch0:                %{name}-link.patch
+Patch1:                0001-remove-libreplace-unneeded-on-Linux.patch
+# https://github.com/shevek/libspf2/pull/44
+Patch2:         integer-underflow.patch
+Patch3:         spf_dns-include-std-headers.patch
+Patch4:         abolish-spf-rrtype.patch
+URL:           http://www.libspf2.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
 BuildRequires: libtool
@@ -16,16 +26,16 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Libspf2 is an implementation of the SPF specification as found at
-http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt .
+<http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>.
 
-%description -l pl
-Libspf2 jest implementacj± specyfikacji SPF, która znajduje siê pod
-adresem
-http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt .
+%description -l pl.UTF-8
+Libspf2 jest implementacją specyfikacji SPF, która znajduje się pod
+<adresem
+http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>.
 
 %package tools
 Summary:       Tools distributed with libspf2
-Summary(pl):   Programy narzêdziowe, dystrybuowane z libspf2
+Summary(pl.UTF-8):     Programy narzędziowe, dystrybuowane z libspf2
 Group:         Networking/Utilities
 Requires:      %{name} = %{version}-%{release}
 
@@ -33,13 +43,13 @@ Requires:   %{name} = %{version}-%{release}
 Tools distributed with libspf2; at the time of writing: spf_example,
 spf_example_2mx, spfd, spfquery and spftest.
 
-%description tools -l pl
-Programy narzêdziowe, dystrybuowane z libspf2; w momencie pisania tego
+%description tools -l pl.UTF-8
+Programy narzędziowe, dystrybuowane z libspf2; w momencie pisania tego
 opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest.
 
 %package devel
 Summary:       Header files for libspf2 library
-Summary(pl):   Pliki nag³ówkowe biblioteki libspf2
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libspf2
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     libspf_alt-devel
@@ -47,12 +57,12 @@ Obsoletes:  libspf_alt-devel
 %description devel
 Header files for libspf2 library.
 
-%description devel -l pl
-Pliki nag³ówkowe biblioteki libspf2.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libspf2.
 
 %package static
 Summary:       Static libspf2 library
-Summary(pl):   Statyczna biblioteka libspf2
+Summary(pl.UTF-8):     Statyczna biblioteka libspf2
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Obsoletes:     libspf_alt-static
@@ -60,25 +70,29 @@ Obsoletes:  libspf_alt-static
 %description static
 Static libspf2 library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka libspf2.
 
 %prep
-%setup -q
+#%%setup -q
+%setup -q -n shevek-libspf2-4915c30
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
-%{__automake} 
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -90,20 +104,28 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README TODO LICENSES INSTALL Changelog docs/API docs/draft-mengwong-spf-00.txt
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%doc README TODO LICENSES INSTALL
+%attr(755,root,root) %{_libdir}/libspf2.so.*.*.*
+%ghost %{_libdir}/libspf2.so.2
 
 %files tools
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/spf_example
+%attr(755,root,root) %{_bindir}/spf_example_static
+%attr(755,root,root) %{_bindir}/spfd
+%attr(755,root,root) %{_bindir}/spfd_static
+%attr(755,root,root) %{_bindir}/spfquery
+%attr(755,root,root) %{_bindir}/spfquery_static
+%attr(755,root,root) %{_bindir}/spftest
+%attr(755,root,root) %{_bindir}/spftest_static
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libspf2.so
+%{_libdir}/libspf2.la
 %dir %{_includedir}/spf2
 %{_includedir}/spf2/*.h
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libspf2.a
This page took 0.062158 seconds and 4 git commands to generate.