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