]> git.pld-linux.org Git - packages/libspf2.git/blob - libspf2.spec
5d1f41f0cb195996d0b5e7907cc2124e7394c48a
[packages/libspf2.git] / libspf2.spec
1 # TODO
2 # ./configure[3000]: AX_WITH_PERL: not found - needed after regeneration
3
4 Summary:        Implementation of the SPF specification
5 Summary(pl.UTF-8):      Implementacja specyfikacji SPF
6 Name:           libspf2
7 Version:        1.2.11
8 Release:        2
9 License:        LGPL
10 Group:          Libraries
11 # Source0:      http://www.libspf2.org/spf/%{name}-%{version}.tar.gz
12 Source0:        https://github.com/shevek/libspf2/tarball/4915c30#/%{name}.tar.gz
13 # Source0-md5:  ad5f1b48e4f2b5561df99ca7cbf30e92
14 Patch0:         %{name}-link.patch
15 Patch1:         0001-remove-libreplace-unneeded-on-Linux.patch
16 # https://github.com/shevek/libspf2/pull/44
17 Patch2:         integer-underflow.patch
18 URL:            http://www.libspf2.org/
19 BuildRequires:  autoconf >= 2.59
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 Obsoletes:      libspf_alt
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Libspf2 is an implementation of the SPF specification as found at
27 <http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>.
28
29 %description -l pl.UTF-8
30 Libspf2 jest implementacją specyfikacji SPF, która znajduje się pod
31 <adresem
32 http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt>.
33
34 %package tools
35 Summary:        Tools distributed with libspf2
36 Summary(pl.UTF-8):      Programy narzędziowe, dystrybuowane z libspf2
37 Group:          Networking/Utilities
38 Requires:       %{name} = %{version}-%{release}
39
40 %description tools
41 Tools distributed with libspf2; at the time of writing: spf_example,
42 spf_example_2mx, spfd, spfquery and spftest.
43
44 %description tools -l pl.UTF-8
45 Programy narzędziowe, dystrybuowane z libspf2; w momencie pisania tego
46 opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest.
47
48 %package devel
49 Summary:        Header files for libspf2 library
50 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libspf2
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53 Obsoletes:      libspf_alt-devel
54
55 %description devel
56 Header files for libspf2 library.
57
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki libspf2.
60
61 %package static
62 Summary:        Static libspf2 library
63 Summary(pl.UTF-8):      Statyczna biblioteka libspf2
64 Group:          Development/Libraries
65 Requires:       %{name}-devel = %{version}-%{release}
66 Obsoletes:      libspf_alt-static
67
68 %description static
69 Static libspf2 library.
70
71 %description static -l pl.UTF-8
72 Statyczna biblioteka libspf2.
73
74 %prep
75 #%%setup -q
76 %setup -q -n shevek-libspf2-4915c30
77 %patch0 -p1
78 %patch1 -p1
79 %patch2 -p1
80
81 %build
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files
102 %defattr(644,root,root,755)
103 %doc README TODO LICENSES INSTALL
104 %attr(755,root,root) %{_libdir}/libspf2.so.*.*.*
105 %ghost %{_libdir}/libspf2.so.2
106
107 %files tools
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/spf_example
110 %attr(755,root,root) %{_bindir}/spf_example_static
111 %attr(755,root,root) %{_bindir}/spfd
112 %attr(755,root,root) %{_bindir}/spfd_static
113 %attr(755,root,root) %{_bindir}/spfquery
114 %attr(755,root,root) %{_bindir}/spfquery_static
115 %attr(755,root,root) %{_bindir}/spftest
116 %attr(755,root,root) %{_bindir}/spftest_static
117
118 %files devel
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libspf2.so
121 %{_libdir}/libspf2.la
122 %dir %{_includedir}/spf2
123 %{_includedir}/spf2/*.h
124
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/libspf2.a
This page took 0.099749 seconds and 2 git commands to generate.