]> git.pld-linux.org Git - packages/pdns.git/blobdiff - pdns.spec
- updated to 3.1
[packages/pdns.git] / pdns.spec
index 71e1691e83ab76852bc2eff30c771a9f16f3bf85..87f29abdef1d709c9821a1a1aca2f0e317952823 100644 (file)
--- a/pdns.spec
+++ b/pdns.spec
@@ -1,33 +1,37 @@
 Summary:       PowerDNS is a Versatile Database Driven Nameserver
 Summary(pl.UTF-8):     PowerDNS to wielofunkcyjny serwer nazw korzystający z relacyjnych baz danych
 Name:          pdns
-Version:       2.9.21.1
+Version:       3.1
 Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://downloads.powerdns.com/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 27fd39029a80cb9c0bc3037420515d1a
+# Source0-md5: 7dedae65403b31a795b2d53a512947fd
 Source1:       http://downloads.powerdns.com/documentation/%{name}.pdf
-# Source1-md5: 920b1660258fa2f6d6f949f0c60857b4
+# Source1-md5: cb69cd9655e4cb319c66adb2c733314d
 Source2:       http://downloads.powerdns.com/documentation/%{name}.txt
 Source3:       %{name}.init
 Source4:       %{name}.conf
 Source5:       %{name}.sysconfig
-Patch0:                %{name}-configure.patch
+Patch0:                configure.ac.patch
 Patch1:                %{name}-int16.patch
 Patch2:                %{name}-openldap-2.3.patch
-Patch3:                %{name}-strerror.patch
-Patch4:                %{name}-stdlib.patch
+Patch3:                gcc4.patch
 URL:           http://www.powerdns.com/
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake
 BuildRequires: bison
 BuildRequires: boost-devel >= 1.35.0
 BuildRequires: flex
 BuildRequires: libpq++-devel
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: lua51-devel
 BuildRequires: mysql-devel
-BuildRequires: sqlite3-devel
 BuildRequires: openldap-devel >= 2.4.6
 BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: sed >= 4.0
+BuildRequires: sqlite3-devel
 BuildRequires: zlib-devel
 Requires(post):        sed >= 4.0
 Requires(post,preun):  /sbin/chkconfig
@@ -57,7 +61,7 @@ i przełączania w wypadku awarii.
 
 %package backend-pipe
 Summary:       PowerDNS support for custom pipe backend
-Summary(pl.UTF-8):     Wsparcie PowerDNS dla własnego mechanizmu przechowywania stref
+Summary(pl.UTF-8):     Obsługa własnego mechanizmu przechowywania stref dla PowerDNS-a
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -73,7 +77,7 @@ Perlu został dołączony do dokumentacji pakietu.
 
 %package backend-gpgsql
 Summary:       PowerDNS support for PostgreSQL
-Summary(pl.UTF-8):     Wsparcie PowerDNS dla baz PostgresQL
+Summary(pl.UTF-8):     Obsługa baz PostgreSQL dla PowerDNS-a
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -86,7 +90,7 @@ relacyjnej bazy danych PostgreSQL.
 
 %package backend-gmysql
 Summary:       PowerDNS support for MySQL
-Summary(pl.UTF-8):     Wsparcie PowerDNS dla baz MySQL
+Summary(pl.UTF-8):     Obsługa baz MySQL dla PowerDNS-a
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -98,21 +102,21 @@ Ten pakiet pozwala na przechowywanie danych o strefach w tabelach
 relacyjnej bazy danych MySQL.
 
 %package backend-gsqlite3
-Summary:       PowerDNS support for Sqlite3
-Summary(pl.UTF-8):     Wsparcie PowerDNS dla baz Sqlite3
+Summary:       PowerDNS support for SQLite 3
+Summary(pl.UTF-8):     Obsługa baz SQLite 3 dla PowerDNS-a
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
 %description backend-gsqlite3
-This package allows zone storage in Sqlite3 relational db tables.
+This package allows zone storage in SQLite 3 relational db tables.
 
 %description backend-gsqlite3 -l pl.UTF-8
 Ten pakiet pozwala na przechowywanie danych o strefach w tabelach
-relacyjnej bazy danych Sqlite3.
+relacyjnej bazy danych SQLite 3.
 
 %package backend-ldap
 Summary:       PowerDNS support for LDAP
-Summary(pl.UTF-8):     Wsparcie PowerDNS dla baz LDAP
+Summary(pl.UTF-8):     Obsługa LDAP dla PowerDNS-a
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -129,34 +133,32 @@ LDAP.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 cp %{SOURCE1} .
 cp %{SOURCE2} .
 cp %{SOURCE4} .
 
-%if "%{_lib}" == "lib64"
-%{__sed} -i -e 's/module-dir=\/usr\/lib\/pdns/module-dir=\/usr\/lib64\/pdns/' pdns.conf
+%if "%{_lib}" != "lib"
+%{__sed} -i -e 's/module-dir=\/usr\/lib\/pdns/module-dir=\/usr\/%{_lib}\/pdns/' pdns.conf
 %endif
 
 %build
 CPPFLAGS="-DHAVE_NAMESPACE_STD -DHAVE_CXX_STRING_HEADER -DDLLIMPORT=\"\""
+%{__libtoolize}
+%{__aclocal} -I .
+%{__autoconf}
+%{__automake}
 %configure \
        --libdir=%{_libdir}/%{name} \
        --sysconfdir=%{_sysconfdir}/%{name} \
-       --with-socketdir=/var/run \
-       --with-dynmodules="gsqlite3 gmysql gpgsql pipe ldap" \
-       --with-modules="" \
-       --enable-mysql \
-       --enable-pgsql \
-       --enable-sqlite3 \
-       --with-pgsql-lib=%{_libdir} \
+       --disable-static \
+       --with-lua \
        --with-pgsql-includes=%{_includedir} \
-       --with-mysql-lib=%{_libdir} \
+       --with-pgsql-lib=%{_libdir} \
        --with-mysql-includes=%{_includedir} \
-       --with-sqlite3-lib=%{_libdir} \
-       --with-sqlite3-includes=%{_includedir} \
-       --enable-ldap \
-       --disable-static
+       --with-mysql-lib=%{_libdir} \
+       --with-dynmodules="gsqlite3 gmysql gpgsql pipe ldap" \
+       --with-modules="" \
+       --with-socketdir=/var/run
 
 %{__make}
 
This page took 0.101617 seconds and 4 git commands to generate.