From 90a4259857016c78f78055e9e5b103ea6839d9f3 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 24 Oct 2016 16:39:42 +0300 Subject: [PATCH] Make MyDNS backend rpm --- build-scripts/build-auth-rpm | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/build-scripts/build-auth-rpm b/build-scripts/build-auth-rpm index 01bc17575..e014fa6a1 100755 --- a/build-scripts/build-auth-rpm +++ b/build-scripts/build-auth-rpm @@ -370,6 +370,15 @@ BuildRequires: sqlite-devel %description backend-sqlite This package contains the SQLite backend for %{name} +%package backend-mydns +Summary: MyDNS backend for %{name} +Group: System Environment/Daemons +Requires: %{name}%{?_isa} = %{version}-%{release} +%global backends %{backends} mydns + +%description backend-mydns +This package contains the MyDNS backend for %{name} + %prep %setup -q -n %{name}-${TARBALLVERSION} @@ -505,6 +514,10 @@ fi %doc %{_defaultdocdir}/%{name}/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql %doc %{_defaultdocdir}/%{name}/dnssec-3.x_to_3.4.0_schema.sqlite3.sql %{_libdir}/%{name}/libgsqlite3backend.so + +%files backend-mydns +%doc %{_defaultdocdir}/%{name}/schema.mydns.sql +%{_libdir}/%{name}/libmydnsbackend.so EOF ;; CentOS\ Linux\ *\ 7*) @@ -651,6 +664,15 @@ BuildRequires: tinycdb-devel %description backend-tinydns This package contains the TinyDNS backend for %{name} +%package backend-mydns +Summary: MyDNS backend for %{name} +Group: System Environment/Daemons +Requires: %{name}%{?_isa} = %{version}-%{release} +%global backends %{backends} mydns + +%description backend-mydns +This package contains the MyDNS backend for %{name} + %prep %setup -q -n %{name}-${TARBALLVERSION} @@ -806,6 +828,10 @@ exit 0 %files backend-tinydns %{_libdir}/%{name}/libtinydnsbackend.so + +%files backend-mydns +%doc modules/mydnsbackend/schema.mydns.sql +%{_libdir}/%{name}/libmydnsbackend.so EOF ;; SLES\ 12*) @@ -913,6 +939,15 @@ BuildRequires: sqlite-devel %description backend-sqlite This package contains the SQLite backend for %{name} +%package backend-mydns +Summary: MyDNS backend for %{name} +Group: System Environment/Daemons +Requires: %{name}%{?_isa} = %{version}-%{release} +%global backends %{backends} mydns + +%description backend-mydns +This package contains the MyDNS backend for %{name} + %prep %setup -q -n %{name}-${TARBALLVERSION} @@ -1057,6 +1092,10 @@ exit 0 %doc modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql %doc modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql %{_libdir}/%{name}/libgsqlite3backend.so + +%files backend-mydns +%doc modules/mydnsbackend/schema.mydns.sql +%{_libdir}/%{name}/libmydnsbackend.so EOF ;; *) -- 2.40.0