1 Summary: FireDNS - library for handling asynchronous DNS requests
2 Summary(pl.UTF-8): FireDNS - biblioteka do obsługi asynchronicznych zapytań DNS
8 Source0: http://messagewall.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5: 0e18e14615036555183ee01b43fffd3c
10 URL: http://messagewall.org/firedns.html
11 BuildRequires: firestring-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 libfiredns is a library for handling asynchronous DNS requests. It
16 provides a very simple interface for sending requests and parsing
17 reponses, as well as low-timeout blocking functions. It can also be
18 compiled to override the BIND/LIBC functions with its alternative
19 implementations. libfiredns functions have much lower timeouts than
20 the stock functions and tend to be faster because they send requests
21 to all configured system nameservers at the same time.
23 %description -l pl.UTF-8
24 libfiredns to biblioteka do obsługi asynchronicznych zapytań DNS.
25 Dostarcza bardzo prosty interfejs do wysyłania zapytań oraz
26 przetwarzania odpowiedzi, a także funkcje blokujące z małym timeoutem.
27 Może być także skompilowana tak, aby przykrywać funkcje BIND/LIBC
28 własnymi, alternatywnymi implementacjami. Funkcje libfiredns mają dużo
29 mniejsze timeouty niż standardowe funkcje i powinny być szybsze,
30 ponieważ wysyłają zapytania do wszystkich skonfigurowanych serwerów
34 Summary: Header files for firedns library
35 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki firedns
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Header files for firedns library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki firedns.
46 Summary: Static firedns library
47 Summary(pl.UTF-8): Statyczna biblioteka firedns
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
52 Static firedns library.
54 %description static -l pl.UTF-8
55 Statyczna biblioteka firedns.
58 Summary: FireDNS utilities
59 Summary(pl.UTF-8): Narzędzia FireDNS
60 Group: Networking/Utilities
61 Requires: %{name} = %{version}-%{release}
64 FireDNS utilities: fdnsip, fdnsname, fdnstxt.
66 %description utils -l pl.UTF-8
67 Narzędzia FireDNS: fdnsip, fdnsname, fdnstxt.
73 # it's FireMake, not autoconf-generated configure
75 export CFLAGS="%{rpmcflags}"
79 SHAREDFLAGS="-shared -Wl,-soname=libfiredns.so"
82 rm -rf $RPM_BUILD_ROOT
85 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
86 MANDIR=$RPM_BUILD_ROOT%{_mandir} \
87 INSTALL_USER="`id -u`" \
88 INSTALL_GROUP="`id -g`"
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libfiredns.so
102 %defattr(644,root,root,755)
103 %{_includedir}/firedns.h
107 %defattr(644,root,root,755)
108 %{_libdir}/libfiredns.a
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/fdns*