From c5414c14572a6ba67e1962058744b6e427871ea1 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Tue, 3 Dec 2013 11:13:43 +0100 Subject: [PATCH] testbuild spec files for rawhide --- build-scripts/pdns-recursor.test | 33 +++++++++++++++++++++ build-scripts/pdns-server.test | 51 ++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 build-scripts/pdns-recursor.test create mode 100644 build-scripts/pdns-server.test diff --git a/build-scripts/pdns-recursor.test b/build-scripts/pdns-recursor.test new file mode 100644 index 000000000..dfb4c5fd5 --- /dev/null +++ b/build-scripts/pdns-recursor.test @@ -0,0 +1,33 @@ +# +# PowerDNS recursor buildtest spec file +# Don't use this spec for regular builds +# +Summary: PowerDNS +Name: pdns-recursor +Version: 0.0 +Release: 1 +Epoch: 0 +Group: System Environment/Daemons +License: GPL +Source: http://downloads.powerdns.com/releases/#FILENAME# + +BuildRequires: boost-devel >= 1.39.0 +BuildRequires: lua-devel >= 5.2 + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +PowerDNS recursor + +%prep +%setup -q -n #SOURCE_PATH# + +%build +%configure + +LUA=1 LUA_LIBS_CONFIG=-llua-5.2 %{__make} + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +%{__make} DESTDIR=$RPM_BUILD_ROOT install +rm -rf $RPM_BUILD_ROOT/* diff --git a/build-scripts/pdns-server.test b/build-scripts/pdns-server.test new file mode 100644 index 000000000..1fc1eb904 --- /dev/null +++ b/build-scripts/pdns-server.test @@ -0,0 +1,51 @@ +# +# PowerDNS server buildtest spec file +# Don't use this spec for regular builds +# +Summary: PowerDNS +Name: pdns-server +Version: 0.0 +Release: 1 +Epoch: 0 +License: GPL +Group: System/Servers +URL: http://www.powerdns.com/ +Source0: http://downloads.powerdns.com/releases/#FILENAME# + +BuildRequires: autoconf automake +BuildRequires: gcc gcc-c++ +BuildRequires: zlib-devel +BuildRequires: lua-devel +BuildRequires: boost-devel >= 1.34.0 +BuildRequires: sqlite-devel >= 3.0.0 +BuildRequires: libcurl-devel >= 7.17.1 +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: openldap-devel +BuildRequires: tinycdb-devel + +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PowerDNS testbuild + +%prep +%setup -q -n #SOURCE_PATH# + +%build +%configure \ + --libdir=%{_libdir} \ + --with-sqlite3 \ + --with-socketdir=/var/run/pdns-server \ + --with-modules="bind gmysql gpgsql gsqlite3 mydns tinydns remote random pipe geo ldap" \ + --with-dynmodules="" \ + --enable-unit-tests \ + --enable-tools \ + --enable-remotebackend-http + +%{__make} + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +%{__make} DESTDIR=$RPM_BUILD_ROOT install +rm -rf $RPM_BUILD_ROOT/* -- 2.40.0