5c0851d4f541788a4308780b1cd56ddd59241fe2
[packages/libspf2.git] / libspf2.spec
1 Summary:        Implementation of the SPF specification
2 Summary(pl):    Implementacja specyfikacji SPF
3 Name:           libspf2
4 Version:        1.0.4
5 Release:        3
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://libspf2.org/spf/%{name}-%{version}.tar.gz
9 # Source0-md5:  5fe69ba13bf35d505b733247032a8a64
10 Patch0:         %{name}-link.patch
11 Patch1:         %{name}-ac.patch
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 Obsoletes:      libspf_alt
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Libspf2 is an implementation of the SPF specification as found at
20 http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt .
21
22 %description -l pl
23 Libspf2 jest implementacj± specyfikacji SPF, która znajduje siê pod
24 adresem
25 http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt .
26
27 %package tools
28 Summary:        Tools distributed with libspf2
29 Summary(pl):    Programy narzêdziowe, dystrybuowane z libspf2
30 Group:          Networking/Utilities
31 Requires:       %{name} = %{version}-%{release}
32
33 %description tools
34 Tools distributed with libspf2; at the time of writing: spf_example,
35 spf_example_2mx, spfd, spfquery and spftest.
36
37 %description tools -l pl
38 Programy narzêdziowe, dystrybuowane z libspf2; w momencie pisania tego
39 opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest.
40
41 %package devel
42 Summary:        Header files for libspf2 library
43 Summary(pl):    Pliki nag³ówkowe biblioteki libspf2
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Obsoletes:      libspf_alt-devel
47
48 %description devel
49 Header files for libspf2 library.
50
51 %description devel -l pl
52 Pliki nag³ówkowe biblioteki libspf2.
53
54 %package static
55 Summary:        Static libspf2 library
56 Summary(pl):    Statyczna biblioteka libspf2
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59 Obsoletes:      libspf_alt-static
60
61 %description static
62 Static libspf2 library.
63
64 %description static -l pl
65 Statyczna biblioteka libspf2.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -p1
71
72 %build
73 cp -f /usr/share/automake/config.{guess,sub} .
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake} 
79 %configure
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc README TODO LICENSES INSTALL Changelog docs/API docs/draft-mengwong-spf-00.txt
97 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
98
99 %files tools
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/lib*.so
106 %{_libdir}/lib*.la
107 %dir %{_includedir}/spf2
108 %{_includedir}/spf2/*.h
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/lib*.a
This page took 0.070788 seconds and 2 git commands to generate.