]> git.pld-linux.org Git - packages/libspf2.git/blob - libspf2.spec
- release 3
[packages/libspf2.git] / libspf2.spec
1 Summary:        Implementation of the SPF specification
2 Summary(pl.UTF-8):      Implementacja specyfikacji SPF
3 Name:           libspf2
4 Version:        1.2.5
5 Release:        3
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://libspf2.org/spf/%{name}-%{version}.tar.gz
9 # Source0-md5:  06ed6a3b0b54c8590679315ae2d28ad9
10 Patch0:         %{name}-link.patch
11 Patch1:         %{name}-include.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.UTF-8
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.UTF-8):      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.UTF-8
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.UTF-8):      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.UTF-8
52 Pliki nagłówkowe biblioteki libspf2.
53
54 %package static
55 Summary:        Static libspf2 library
56 Summary(pl.UTF-8):      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.UTF-8
65 Statyczna biblioteka libspf2.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 %patch1 -p1
71
72 %build
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake} 
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %doc README TODO LICENSES INSTALL Changelog docs/API docs/draft-mengwong-spf-00.txt
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
97
98 %files tools
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106 %dir %{_includedir}/spf2
107 %{_includedir}/spf2/*.h
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/lib*.a
This page took 0.059222 seconds and 4 git commands to generate.