]> git.pld-linux.org Git - packages/firedns.git/blame - firedns.spec
- tabs in preamble
[packages/firedns.git] / firedns.spec
CommitLineData
3560865f 1Summary: FireDNS - library for handling asynchronous DNS requests
beee4c52 2Summary(pl.UTF-8): FireDNS - biblioteka do obsługi asynchronicznych zapytań DNS
3560865f
JB
3Name: firedns
4Version: 0.1.30
5Release: 1
6License: GPL v2
7Group: Libraries
8Source0: http://messagewall.org/download/%{name}-%{version}.tar.gz
9# Source0-md5: 0e18e14615036555183ee01b43fffd3c
10URL: http://messagewall.org/firedns.html
11BuildRequires: firestring-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15libfiredns is a library for handling asynchronous DNS requests. It
16provides a very simple interface for sending requests and parsing
17reponses, as well as low-timeout blocking functions. It can also be
18compiled to override the BIND/LIBC functions with its alternative
19implementations. libfiredns functions have much lower timeouts than
20the stock functions and tend to be faster because they send requests
21to all configured system nameservers at the same time.
22
80e18cee
JR
23%description -l pl.UTF-8
24libfiredns to biblioteka do obsługi asynchronicznych zapytań DNS.
25Dostarcza bardzo prosty interfejs do wysyłania zapytań oraz
26przetwarzania odpowiedzi, a także funkcje blokujące z małym timeoutem.
27Może być także skompilowana tak, aby przykrywać funkcje BIND/LIBC
28własnymi, alternatywnymi implementacjami. Funkcje libfiredns mają dużo
29mniejsze timeouty niż standardowe funkcje i powinny być szybsze,
30ponieważ wysyłają zapytania do wszystkich skonfigurowanych serwerów
31nazw jednocześnie.
3560865f
JB
32
33%package devel
34Summary: Header files for firedns library
beee4c52 35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki firedns
3560865f 36Group: Development/Libraries
989047f4 37Requires: %{name} = %{version}-%{release}
3560865f
JB
38
39%description devel
40Header files for firedns library.
41
80e18cee
JR
42%description devel -l pl.UTF-8
43Pliki nagłówkowe biblioteki firedns.
3560865f
JB
44
45%package static
46Summary: Static firedns library
beee4c52 47Summary(pl.UTF-8): Statyczna biblioteka firedns
3560865f 48Group: Development/Libraries
989047f4 49Requires: %{name}-devel = %{version}-%{release}
3560865f
JB
50
51%description static
52Static firedns library.
53
80e18cee 54%description static -l pl.UTF-8
3560865f
JB
55Statyczna biblioteka firedns.
56
57%package utils
58Summary: FireDNS utilities
beee4c52 59Summary(pl.UTF-8): Narzędzia FireDNS
3560865f 60Group: Networking/Utilities
989047f4 61Requires: %{name} = %{version}-%{release}
3560865f
JB
62
63%description utils
64FireDNS utilities: fdnsip, fdnsname, fdnstxt.
65
80e18cee
JR
66%description utils -l pl.UTF-8
67Narzędzia FireDNS: fdnsip, fdnsname, fdnstxt.
3560865f
JB
68
69%prep
70%setup -q -n %{name}
71
72%build
73# it's FireMake, not autoconf-generated configure
74export CC="%{__cc}"
75export CFLAGS="%{rpmcflags}"
76./configure
77
78%{__make} \
79 SHAREDFLAGS="-shared -Wl,-soname=libfiredns.so"
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
86 MANDIR=$RPM_BUILD_ROOT%{_mandir} \
87 INSTALL_USER="`id -u`" \
88 INSTALL_GROUP="`id -g`"
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
96%files
97%defattr(644,root,root,755)
98%doc CREDITS README
99%attr(755,root,root) %{_libdir}/libfiredns.so
100
101%files devel
102%defattr(644,root,root,755)
103%{_includedir}/firedns.h
104%{_mandir}/man3/*
105
106%files static
107%defattr(644,root,root,755)
108%{_libdir}/libfiredns.a
109
110%files utils
111%defattr(644,root,root,755)
112%attr(755,root,root) %{_bindir}/fdns*
This page took 0.094759 seconds and 4 git commands to generate.