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