]> git.pld-linux.org Git - packages/libspf2.git/blobdiff - libspf2.spec
- release 3: moved _bindir/* to the -tools subpackage to resolve
[packages/libspf2.git] / libspf2.spec
index 95685f22a570949dfc84a159f0f739c2f190d847..f9938707db35973624b67f6cc5ae01875dedb03a 100644 (file)
@@ -2,31 +2,47 @@ Summary:      Implementation of the SPF specification
 Summary(pl):   Implementacja specyfikacji SPF
 Name:          libspf2
 Version:       1.0.4
-Release:       0.1
+Release:       3
 License:       LGPL
 Group:         Libraries
 Source0:       http://libspf2.org/spf/%{name}-%{version}.tar.gz
 # Source0-md5: 5fe69ba13bf35d505b733247032a8a64
+Patch0:                %{name}-link.patch
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
 BuildRequires: libtool
-#Obsoletes:    libspf_alt
+Obsoletes:     libspf_alt
 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-00.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-00.txt .
+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
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Obsoletes:     libspf_alt-devel
 
 %description devel
 Header files for libspf2 library.
@@ -39,6 +55,7 @@ Summary:      Static libspf2 library
 Summary(pl):   Statyczna biblioteka libspf2
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
+Obsoletes:     libspf_alt-static
 
 %description static
 Static libspf2 library.
@@ -48,6 +65,7 @@ Statyczna biblioteka libspf2.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -74,13 +92,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.06237 seconds and 4 git commands to generate.