SPECS: ldns.spec (NEW) - new, added
twittner
twittner at pld-linux.org
Sat Aug 13 20:45:18 CEST 2005
Author: twittner Date: Sat Aug 13 18:45:18 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new, added
---- Files affected:
SPECS:
ldns.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ldns.spec
diff -u /dev/null SPECS/ldns.spec:1.1
--- /dev/null Sat Aug 13 20:45:18 2005
+++ SPECS/ldns.spec Sat Aug 13 20:45:13 2005
@@ -0,0 +1,99 @@
+# $Revision$, $Date$
+Summary: ldns is a library with the aim to simplify DNS programing in C
+Summary(pl): ldns jest biblioteką mającą na celu uproszczenie programowania DNS w C
+Name: ldns
+Version: 0.70
+Release: 0.1
+License: GPL
+Group: Libraries
+Source0: http://www.nlnetlabs.nl/downloads/%{name}-%{version}.tar.gz
+# Source0-md5: d94b88a090aaba2e6b79d02b4eb4752f
+Patch0: %{name}-DESTDIR.patch
+URL: http://www.nlnetlabs.nl/ldns/
+BuildRequires: autoconf
+BuildRequires: libtool
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ldns is a library with the aim to simplify DNS programing in C. It is
+heavily based upon the Net::DNS module from perl.
+
+%description -l pl
+ldns jest biblioteka mającą na celu uproszczenie programowania w C.
+Jest w dużym stopniu oparta na module Perla Net::DNS.
+
+%package devel
+Summary: Header files for ldns library
+Summary(pl): Pliki nagłówkowe biblioteki ldns
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for ldns library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki ldns.
+
+%package static
+Summary: Static ldns library
+Summary(pl): Statyczna biblioteka ldns
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static ldns library.
+
+%description static -l pl
+Statyczna biblioteka ldns.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%configure
+%{__make}
+%{__make} doc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc Changelog COMPILE DEADJOE ProgrammingPhilosophy README ROADMAP TODO
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/%{name}
+# don't remove `.gz' (because you'll get plenty of dead symlinks)
+%{_mandir}/man3/*.gz
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/08/13 18:45:13 twittner
+- new, added
+
================================================================
More information about the pld-cvs-commit
mailing list