]> git.pld-linux.org Git - packages/libspf2.git/blob - libspf2.spec
- rel 1 for Ac
[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:        1
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 devel
27 Summary:        Header files for libspf2 library
28 Summary(pl):    Pliki nag³ówkowe biblioteki libspf2
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Header files for libspf2 library.
34
35 %description devel -l pl
36 Pliki nag³ówkowe biblioteki libspf2.
37
38 %package static
39 Summary:        Static libspf2 library
40 Summary(pl):    Statyczna biblioteka libspf2
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static libspf2 library.
46
47 %description static -l pl
48 Statyczna biblioteka libspf2.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53
54 %build
55 %{__libtoolize}
56 %{__aclocal}
57 %{__autoconf}
58 %{__autoheader}
59 %{__automake} 
60 cp -f /usr/share/automake/config.sub .
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc README TODO LICENSES INSTALL Changelog docs/API docs/draft-mengwong-spf-00.txt
79 %attr(755,root,root) %{_bindir}/spf_example
80 %attr(755,root,root) %{_bindir}/spf_example_2mx
81 %attr(755,root,root) %{_bindir}/spfd
82 %attr(755,root,root) %{_bindir}/spfquery
83 %attr(755,root,root) %{_bindir}/spftest
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %{_libdir}/lib*.la
90 %dir %{_includedir}/spf2
91 %{_includedir}/spf2/*.h
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/lib*.a
This page took 0.052499 seconds and 3 git commands to generate.