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