From c39f12101f3d5c8cfa23ecabd4da2cac550c9b1b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 25 Apr 2013 12:04:43 +0200 Subject: [PATCH] Add MKC configuration PAZ-864 service mkc.xml is in services-available . It uses settings in settings/mkc . --- debian/rules | 2 + etc/mkc.xml | 122 +++++++++++++++++++++++++++++++++++++++ etc/settings/mkc/gutenberg.xml | 4 ++ etc/settings/mkc/hathitrust.xml | 4 ++ etc/settings/mkc/mkc.xml | 31 ++++++++++ pazpar2.spec | 1 + 6 files changed, 164 insertions(+) create mode 100644 etc/mkc.xml create mode 100644 etc/settings/mkc/gutenberg.xml create mode 100644 etc/settings/mkc/hathitrust.xml create mode 100644 etc/settings/mkc/mkc.xml diff --git a/debian/rules b/debian/rules index d440ab6..672ab97 100755 --- a/debian/rules +++ b/debian/rules @@ -76,8 +76,10 @@ binary-arch: build install # pazpar2 package cp $(CURDIR)/etc/server.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/server.xml cp $(CURDIR)/etc/default.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/services-available/ + cp $(CURDIR)/etc/mkc.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/services-available/ cp $(CURDIR)/etc/services/*.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/services-available cp $(CURDIR)/etc/settings/*.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/settings/ + cp -r $(CURDIR)/etc/settings/mkc $(CURDIR)/debian/pazpar2/etc/pazpar2/settings cp $(CURDIR)/etc/*.xsl $(CURDIR)/debian/pazpar2/etc/pazpar2/ # pazpar2-apache2 package cp $(CURDIR)/debian/ap2pazpar2.cfg $(CURDIR)/debian/pazpar2-apache2/etc/pazpar2 diff --git a/etc/mkc.xml b/etc/mkc.xml new file mode 100644 index 0000000..37d4484 --- /dev/null +++ b/etc/mkc.xml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/settings/mkc/gutenberg.xml b/etc/settings/mkc/gutenberg.xml new file mode 100644 index 0000000..d850d5f --- /dev/null +++ b/etc/settings/mkc/gutenberg.xml @@ -0,0 +1,4 @@ + + + + diff --git a/etc/settings/mkc/hathitrust.xml b/etc/settings/mkc/hathitrust.xml new file mode 100644 index 0000000..e1c37f2 --- /dev/null +++ b/etc/settings/mkc/hathitrust.xml @@ -0,0 +1,4 @@ + + + + diff --git a/etc/settings/mkc/mkc.xml b/etc/settings/mkc/mkc.xml new file mode 100644 index 0000000..d5ab7bb --- /dev/null +++ b/etc/settings/mkc/mkc.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pazpar2.spec b/pazpar2.spec index 5f5fbd5..b1bb2f9 100644 --- a/pazpar2.spec +++ b/pazpar2.spec @@ -80,6 +80,7 @@ cp etc/server.xml ${RPM_BUILD_ROOT}/etc/pazpar2/ cp etc/default.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/ cp etc/services/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/ cp etc/settings/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/settings/ +cp -r etc/settings/mkc ${RPM_BUILD_ROOT}/etc/pazpar2/settings cp etc/*.xsl ${RPM_BUILD_ROOT}/etc/pazpar2/ mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d install -m755 rpm/pazpar2.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/pazpar2 -- 1.7.10.4