[getdns] initial package for fedora

Paul Wouters pwouters at fedoraproject.org
Wed May 21 19:37:20 UTC 2014


commit 105648b5dbef31d3cde3add5bdefcae74aeac8e8
Author: Paul Wouters <pwouters at redhat.com>
Date:   Wed May 21 15:37:05 2014 -0400

    initial package for fedora

 .gitignore  |    1 +
 getdns.spec |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a180f0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/getdns-0.1.1.tar.gz
diff --git a/getdns.spec b/getdns.spec
new file mode 100644
index 0000000..33d833e
--- /dev/null
+++ b/getdns.spec
@@ -0,0 +1,65 @@
+Summary: Modern asynchronous API to the DNS
+Name: getdns
+Version: 0.1.1
+Release: 1%{?dist}
+License: BSD
+Url: http://www.getdnsapi.net
+Source: http://www.getdnsapi.net/dist/%{name}-%{version}.tar.gz
+Group: System Environment/Libraries
+BuildRequires: libidn-devel ldns-devel unbound-devel doxygen
+
+%description
+getdns is a modern asynchronous DNS API. It implements DNS entry points
+from a design developed and vetted by application developers, in an API
+specification edited by Paul Hoffman. With the development of this API,
+we intend to offer application developers a modernized and flexible way
+to access DNS security (DNSSEC) and other powerful new DNS features; a
+particular hope is to inspire application developers towards innovative
+security solutions in their applications.
+
+%package devel
+Summary: Development package that includes the header files
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The devel package contains the getdns library and the include files
+
+%prep
+%setup -q 
+
+%build
+%configure --disable-rpath --disable-static \
+  --with-trust-anchor=%{_sharedstatedir}/unbound/root.key 
+make %{?_smp_mflags} 
+
+%install
+make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install 
+
+rm -rf %{buildroot}%{_libdir}/*.la
+rm -rf %{buildroot}%{_docdir}/%{name}
+
+%files 
+%{_libdir}/libgetdns*so.*
+%doc README.md LICENSE NEWS AUTHORS ChangeLog
+
+%files devel
+%{_libdir}/libgetdns*.so
+%{_includedir}/getdns/
+%{_mandir}/*/*.[1358]*
+%doc src/example spec
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%changelog
+* Wed Mar 26 2014 Paul Wouters <pwouters at redhat.com> - 0.1.1-1
+- Updated to 0.1.1
+
+* Fri Mar 21 2014 Paul Wouters <pwouters at redhat.com> - 0.1.0-2
+- Remove cleaning in install
+- Simplify files section and use macro instead of /var/lib
+
+* Thu Feb 27 2014 Paul Wouters <pwouters at redhat.com> - 0.1.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..6dde66c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5ed726aaf6c1ce1a3b7ac41074852e35  getdns-0.1.1.tar.gz


More information about the scm-commits mailing list