]> git.pld-linux.org Git - packages/libspf2.git/blobdiff - libspf2.spec
- -ac.patch: fixed configure.ac: don't use AC_CONFIG_AUX_DIR[config] macro,
[packages/libspf2.git] / libspf2.spec
index f73be100bb843eb66dedddc1abf84bd322bf74af..5c0851d4f541788a4308780b1cd56ddd59241fe2 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Implementation of the SPF specification
 Summary(pl):   Implementacja specyfikacji SPF
 Name:          libspf2
 Version:       1.0.4
-Release:       2
+Release:       3
 License:       LGPL
 Group:         Libraries
 Source0:       http://libspf2.org/spf/%{name}-%{version}.tar.gz
 # Source0-md5: 5fe69ba13bf35d505b733247032a8a64
 Patch0:                %{name}-link.patch
+Patch1:                %{name}-ac.patch
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
 BuildRequires: libtool
@@ -23,6 +24,20 @@ Libspf2 jest implementacj
 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
+Group:         Networking/Utilities
+Requires:      %{name} = %{version}-%{release}
+
+%description tools
+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
+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
@@ -52,14 +67,15 @@ Statyczna biblioteka libspf2.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
+cp -f /usr/share/automake/config.{guess,sub} .
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake} 
-cp -f /usr/share/automake/config.sub .
 %configure
 %{__make}
 
@@ -78,13 +94,12 @@ 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) %{_bindir}/spf_example
-%attr(755,root,root) %{_bindir}/spf_example_2mx
-%attr(755,root,root) %{_bindir}/spfd
-%attr(755,root,root) %{_bindir}/spfquery
-%attr(755,root,root) %{_bindir}/spftest
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
This page took 0.077649 seconds and 4 git commands to generate.