]> git.pld-linux.org Git - packages/hesiod.git/blame - hesiod.spec
- updated to 3.2.1
[packages/hesiod.git] / hesiod.spec
CommitLineData
d8005fc0 1Summary: Hesiod libraries and sample programs
8c09da95 2Summary(pl.UTF-8): Biblioteki i programy przykładowe do hesiod
d8005fc0 3Name: hesiod
ecd1c769
JB
4Version: 3.2.1
5Release: 1
6License: BSD
96f57b5c 7Group: Libraries
d8005fc0 8Source0: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/%{name}-%{version}.tar.gz
ecd1c769
JB
9# Source0-md5: d8fe6d7d081c9c14d5d3d8a466998eeb
10BuildRequires: libidn-devel
11BuildRequires: sed >= 4.0
af5faa84 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57e4b13d 13
14%description
d8005fc0
JB
15Hesiod is a system which uses existing DNS functionality to provide
16access to databases of information that changes infrequently. It is
17often used to distribute information kept in the /etc/passwd,
18/etc/group, and /etc/printcap files over a network, eliminating the
19need to ensure synchronize the files among multiple hosts.
20
f28e5399
JR
21%description -l pl.UTF-8
22Hesiod jest systemem używającym istniejącej funkcjonalności DNS do
23zapewniania dostępu do baz informacji zmieniających się niezbyt
24często. Jest przeważnie używany do rozprowadzania informacji
d8005fc0 25trzymanych w /etc/passwd, /etc/group, /etc/printcap i podobnych po
f28e5399 26sieci, eliminując potrzebę synchronizacji plików między wieloma
d8005fc0 27komputerami.
57e4b13d 28
29%package devel
d8005fc0 30Summary: Headers and development documentation for Hesiod
8c09da95 31Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja programisty do hesiod
d8005fc0 32Group: Development/Libraries
d8005fc0 33Requires: %{name} = %{version}-%{release}
ecd1c769 34Requires: libidn-devel
57e4b13d 35
36%description devel
d8005fc0
JB
37This package contains the header files required for building programs
38which use Hesiod and some devolopment documentation.
39
f28e5399
JR
40%description devel -l pl.UTF-8
41Ten pakiet zawiera pliki nagłówkowe potrzebne do budowania programów
42używających Hesiod oraz dokumentację programisty.
d8005fc0
JB
43
44%package static
45Summary: Hesiod static library
8c09da95 46Summary(pl.UTF-8): Biblioteka statyczna Hesiod
d8005fc0 47Group: Development/Libraries
d8005fc0
JB
48Requires: %{name}-devel = %{version}-%{release}
49
50%description static
51This package contains static version of Hesiod library.
52
f28e5399
JR
53%description static -l pl.UTF-8
54Ten pakiet zawiera statyczną wersję biblioteki Hesiod.
57e4b13d 55
56%prep
57%setup -q
ecd1c769
JB
58
59grep -l '^\.so man3/' man/*.3 | xargs %{__sed} -i -e '1s,man3/,,;2,$d'
57e4b13d 60
61%build
96f57b5c 62%configure
d8005fc0 63%{__make}
57e4b13d 64
65%install
d8005fc0 66rm -rf $RPM_BUILD_ROOT
ecd1c769
JB
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
71# obsoleted by pkg-config
72%{__rm} $RPM_BUILD_ROOT%{_libdir}/libhesiod.la
57e4b13d 73
d8005fc0
JB
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%post -p /sbin/ldconfig
78%postun -p /sbin/ldconfig
79
57e4b13d 80%files
d8005fc0 81%defattr(644,root,root,755)
ecd1c769 82%doc COPYING NEWS README
d8005fc0 83%attr(755,root,root) %{_bindir}/hesinfo
ecd1c769
JB
84%attr(755,root,root) %{_libdir}/libhesiod.so.*.*.*
85%attr(755,root,root) %ghost %{_libdir}/libhesiod.so.0
86%{_mandir}/man1/hesinfo.1*
87%{_mandir}/man5/hesiod.conf.5*
57e4b13d 88
89%files devel
d8005fc0 90%defattr(644,root,root,755)
146df0ef 91%attr(755,root,root) %{_libdir}/libhesiod.so
57e4b13d 92%{_includedir}/hesiod.h
ecd1c769
JB
93%{_pkgconfigdir}/hesiod.pc
94%{_mandir}/man3/hesiod*.3*
d8005fc0
JB
95
96%files static
97%defattr(644,root,root,755)
98%{_libdir}/libhesiod.a
This page took 0.087038 seconds and 4 git commands to generate.