- tabs in preamble
[packages/libspf2.git] / libspf2.spec
CommitLineData
65e29aa8 1Summary: Implementation of the SPF specification
73967574 2Summary(pl.UTF-8): Implementacja specyfikacji SPF
65e29aa8 3Name: libspf2
69864fcc 4Version: 1.2.5
1c43c361 5Release: 2
65e29aa8 6License: LGPL
7Group: Libraries
8Source0: http://libspf2.org/spf/%{name}-%{version}.tar.gz
69864fcc 9# Source0-md5: 06ed6a3b0b54c8590679315ae2d28ad9
f7945713 10Patch0: %{name}-link.patch
1c43c361 11Patch1: %{name}-include.patch
65e29aa8 12BuildRequires: autoconf >= 2.59
13BuildRequires: automake
14BuildRequires: libtool
47928301 15Obsoletes: libspf_alt
65e29aa8 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Libspf2 is an implementation of the SPF specification as found at
8696bc0c 20http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt .
65e29aa8 21
d11e078d
JR
22%description -l pl.UTF-8
23Libspf2 jest implementacją specyfikacji SPF, która znajduje się pod
65e29aa8 24adresem
8696bc0c 25http://www.ietf.org/internet-drafts/draft-mengwong-spf-01.txt .
65e29aa8 26
1100577e 27%package tools
28Summary: Tools distributed with libspf2
73967574 29Summary(pl.UTF-8): Programy narzędziowe, dystrybuowane z libspf2
1100577e 30Group: Networking/Utilities
31Requires: %{name} = %{version}-%{release}
32
33%description tools
34Tools distributed with libspf2; at the time of writing: spf_example,
35spf_example_2mx, spfd, spfquery and spftest.
36
d11e078d
JR
37%description tools -l pl.UTF-8
38Programy narzędziowe, dystrybuowane z libspf2; w momencie pisania tego
1100577e 39opisu: spf_example, spf_example_2mx, spfd, spfquery i spftest.
40
65e29aa8 41%package devel
42Summary: Header files for libspf2 library
73967574 43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libspf2
65e29aa8 44Group: Development/Libraries
45Requires: %{name} = %{version}-%{release}
47928301 46Obsoletes: libspf_alt-devel
65e29aa8 47
48%description devel
49Header files for libspf2 library.
50
d11e078d
JR
51%description devel -l pl.UTF-8
52Pliki nagłówkowe biblioteki libspf2.
65e29aa8 53
54%package static
55Summary: Static libspf2 library
73967574 56Summary(pl.UTF-8): Statyczna biblioteka libspf2
65e29aa8 57Group: Development/Libraries
58Requires: %{name}-devel = %{version}-%{release}
47928301 59Obsoletes: libspf_alt-static
65e29aa8 60
61%description static
62Static libspf2 library.
63
d11e078d 64%description static -l pl.UTF-8
65e29aa8 65Statyczna biblioteka libspf2.
66
67%prep
68%setup -q
f7945713 69%patch0 -p1
1c43c361 70%patch1 -p1
65e29aa8 71
72%build
73%{__libtoolize}
74%{__aclocal}
75%{__autoconf}
76%{__autoheader}
77%{__automake}
65e29aa8 78%configure
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(644,root,root,755)
95%doc README TODO LICENSES INSTALL Changelog docs/API docs/draft-mengwong-spf-00.txt
65e29aa8 96%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
97
1100577e 98%files tools
99%defattr(644,root,root,755)
100%attr(755,root,root) %{_bindir}/*
101
65e29aa8 102%files devel
103%defattr(644,root,root,755)
104%attr(755,root,root) %{_libdir}/lib*.so
105%{_libdir}/lib*.la
106%dir %{_includedir}/spf2
107%{_includedir}/spf2/*.h
108
109%files static
110%defattr(644,root,root,755)
111%{_libdir}/lib*.a
This page took 0.05184 seconds and 4 git commands to generate.