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