summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2020-06-02 15:13:49 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-04 19:34:41 +0000
commitf0077c360158023ebd259c80429c19c42619bceb (patch)
treeae88a7ff11b11799ba568364140c695fed1106f6 /rpm
parent00b9d54bfc7f8fc442b55ca5a55625bddd59c8da (diff)
downloadmongo-f0077c360158023ebd259c80429c19c42619bceb.tar.gz
SERVER-48547 Don't glob mongoldap man page in to community builds
Diffstat (limited to 'rpm')
-rw-r--r--rpm/mongo.mdv.spec166
-rw-r--r--rpm/mongodb-enterprise-init.spec2
-rw-r--r--rpm/mongodb-enterprise-unstable-init.spec2
-rw-r--r--rpm/mongodb-enterprise-unstable.spec2
-rw-r--r--rpm/mongodb-enterprise.spec2
-rw-r--r--rpm/mongodb-org-init.spec2
-rw-r--r--rpm/mongodb-org-unstable-init.spec2
-rw-r--r--rpm/mongodb-org-unstable.spec2
-rw-r--r--rpm/mongodb-org.spec2
9 files changed, 8 insertions, 174 deletions
diff --git a/rpm/mongo.mdv.spec b/rpm/mongo.mdv.spec
deleted file mode 100644
index b6b67419005..00000000000
--- a/rpm/mongo.mdv.spec
+++ /dev/null
@@ -1,166 +0,0 @@
-%define name mongodb
-%define version %{dynamic_version}
-%define release %{dynamic_release}
-
-Name: %{name}
-Version: %{version}
-Release: %{release}
-Summary: MongoDB client shell and tools
-License: SSPL
-URL: http://www.mongodb.org
-Group: Databases
-
-Source0: http://downloads.mongodb.org/src/%{name}-src-r%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: js-devel, readline-devel, boost-devel, pcre-devel
-BuildRequires: gcc-c++, scons
-
-%description
-MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDB’s native replication and automated failover enable enterprise-grade reliability and operational flexibility.
-
-MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of applications. It is an agile database that allows schemas to change quickly as applications evolve, while still providing the functionality developers expect from traditional databases, such as secondary indexes, a full query language and strict consistency.
-
-MongoDB has a rich client ecosystem including hadoop integration, officially supported drivers for 10 programming languages and environments, as well as 40 drivers supported by the user community.
-
-MongoDB features:
-* JSON Data Model with Dynamic Schemas
-* Auto-Sharding for Horizontal Scalability
-* Built-In Replication for High Availability
-* Rich Secondary Indexes, including geospatial
-* TTL indexes
-* Text Search
-* Aggregation Framework & Native MapReduce
-
-This package contains the mongo shell, import/export tools, and other client utilities.
-
-
-%package server
-Summary: MongoDB server, sharding server, and support scripts
-Group: Databases
-Requires: mongodb
-
-%description server
-MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDB’s native replication and automated failover enable enterprise-grade reliability and operational flexibility.
-
-MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of applications. It is an agile database that allows schemas to change quickly as applications evolve, while still providing the functionality developers expect from traditional databases, such as secondary indexes, a full query language and strict consistency.
-
-MongoDB has a rich client ecosystem including hadoop integration, officially supported drivers for 10 programming languages and environments, as well as 40 drivers supported by the user community.
-
-MongoDB features:
-* JSON Data Model with Dynamic Schemas
-* Auto-Sharding for Horizontal Scalability
-* Built-In Replication for High Availability
-* Rich Secondary Indexes, including geospatial
-* TTL indexes
-* Text Search
-* Aggregation Framework & Native MapReduce
-
-This package contains the MongoDB server software, MongoDB sharded cluster query router, default configuration files, and init.d scripts.
-
-
-%package devel
-Summary: Headers and libraries for MongoDB development
-Group: Databases
-
-%description devel
-MongoDB is built for scalability, performance and high availability, scaling from single server deployments to large, complex multi-site architectures. By leveraging in-memory computing, MongoDB provides high performance for both reads and writes. MongoDB’s native replication and automated failover enable enterprise-grade reliability and operational flexibility.
-
-MongoDB is an open-source database used by companies of all sizes, across all industries and for a wide variety of applications. It is an agile database that allows schemas to change quickly as applications evolve, while still providing the functionality developers expect from traditional databases, such as secondary indexes, a full query language and strict consistency.
-
-MongoDB has a rich client ecosystem including hadoop integration, officially supported drivers for 10 programming languages and environments, as well as 40 drivers supported by the user community.
-
-MongoDB features:
-* JSON Data Model with Dynamic Schemas
-* Auto-Sharding for Horizontal Scalability
-* Built-In Replication for High Availability
-* Rich Secondary Indexes, including geospatial
-* TTL indexes
-* Text Search
-* Aggregation Framework & Native MapReduce
-
-This package provides the MongoDB static library and header files needed to develop MongoDB client software.
-
-%prep
-%setup -n %{name}-src-r%{version}
-
-%build
-scons --prefix=$RPM_BUILD_ROOT/usr all
-# XXX really should have shared library here
-
-%install
-scons --prefix=$RPM_BUILD_ROOT%{_usr} install
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-cp debian/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
-cp rpm/init.d-mongod $RPM_BUILD_ROOT%{_sysconfdir}/init.d/mongod
-chmod a+x $RPM_BUILD_ROOT%{_sysconfdir}/init.d/mongod
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
-cp rpm/mongod.conf $RPM_BUILD_ROOT%{_sysconfdir}/mongod.conf
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
-cp rpm/mongod.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/mongod
-mkdir -p $RPM_BUILD_ROOT%{_var}/lib/mongo
-mkdir -p $RPM_BUILD_ROOT%{_var}/log/mongo
-touch $RPM_BUILD_ROOT%{_var}/log/mongo/mongod.log
-
-%clean
-scons -c
-rm -rf $RPM_BUILD_ROOT
-
-%pre server
-%{_sbindir}/useradd -M -r -U -d %{_var}/lib/mongo -s /bin/false \
- -c mongod mongod > /dev/null 2>&1
-
-%post server
-if test $1 = 1
-then
- /sbin/chkconfig --add mongod
-fi
-
-%preun server
-if test $1 = 0
-then
- /sbin/chkconfig --del mongod
-fi
-
-%postun server
-if test $1 -ge 1
-then
- /sbin/service mongod stop >/dev/null 2>&1 || :
-fi
-
-%files
-%defattr(-,root,root,-)
-%doc README
-
-%{_bindir}/install_compass
-%{_bindir}/mongo
-
-%{_mandir}/man1/mongo.1*
-%{_mandir}/man1/mongod.1*
-
-%files server
-%defattr(-,root,root,-)
-%config(noreplace) %{_sysconfdir}/mongod.conf
-%{_bindir}/mongod
-%{_bindir}/mongos
-%{_mandir}/man1/mongos.1*
-%{_sysconfdir}/init.d/mongod
-%{_sysconfdir}/sysconfig/mongod
-%attr(0755,mongod,mongod) %dir %{_var}/lib/mongo
-%attr(0755,mongod,mongod) %dir %{_var}/log/mongo
-%attr(0640,mongod,mongod) %config(noreplace) %verify(not md5 size mtime) %{_var}/log/mongo/mongod.log
-
-%files devel
-%{_includedir}/mongo
-%{_libdir}/libmongoclient.a
-#%{_libdir}/libmongotestfiles.a
-
-%changelog
-* Sun Mar 21 2010 Ludovic Bellière <xrogaan@gmail.com>
-- Update mongo.spec for mandriva packaging
-
-* Thu Jan 28 2010 Richard M Kreuter <richard@10gen.com>
-- Minor fixes.
-
-* Sat Oct 24 2009 Joe Miklojcik <jmiklojcik@shopwiki.com> -
-- Wrote mongo.spec.
diff --git a/rpm/mongodb-enterprise-init.spec b/rpm/mongodb-enterprise-init.spec
index dd1a8dd6fd7..a63c74ee5ab 100644
--- a/rpm/mongodb-enterprise-init.spec
+++ b/rpm/mongodb-enterprise-init.spec
@@ -224,7 +224,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s,ldap}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc/init.d
cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod
chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod
diff --git a/rpm/mongodb-enterprise-unstable-init.spec b/rpm/mongodb-enterprise-unstable-init.spec
index e77c7dbf063..2c1c1fa5027 100644
--- a/rpm/mongodb-enterprise-unstable-init.spec
+++ b/rpm/mongodb-enterprise-unstable-init.spec
@@ -213,7 +213,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s,ldap}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc/init.d
cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod
chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod
diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec
index 4f24bcca2b6..36b07b83e2c 100644
--- a/rpm/mongodb-enterprise-unstable.spec
+++ b/rpm/mongodb-enterprise-unstable.spec
@@ -216,7 +216,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s,ldap}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc
cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
diff --git a/rpm/mongodb-enterprise.spec b/rpm/mongodb-enterprise.spec
index 5d20ecf371d..49a2e19bc36 100644
--- a/rpm/mongodb-enterprise.spec
+++ b/rpm/mongodb-enterprise.spec
@@ -226,7 +226,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s,ldap}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc
cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
diff --git a/rpm/mongodb-org-init.spec b/rpm/mongodb-org-init.spec
index 73db965885e..1776bf7362d 100644
--- a/rpm/mongodb-org-init.spec
+++ b/rpm/mongodb-org-init.spec
@@ -200,7 +200,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc/init.d
cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod
chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod
diff --git a/rpm/mongodb-org-unstable-init.spec b/rpm/mongodb-org-unstable-init.spec
index c2b61376706..387af8258ec 100644
--- a/rpm/mongodb-org-unstable-init.spec
+++ b/rpm/mongodb-org-unstable-init.spec
@@ -188,7 +188,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc/init.d
cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod
chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod
diff --git a/rpm/mongodb-org-unstable.spec b/rpm/mongodb-org-unstable.spec
index 253d3292586..2a9ebbd943e 100644
--- a/rpm/mongodb-org-unstable.spec
+++ b/rpm/mongodb-org-unstable.spec
@@ -190,7 +190,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc
cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
diff --git a/rpm/mongodb-org.spec b/rpm/mongodb-org.spec
index 5636418310a..76fd9bd59ca 100644
--- a/rpm/mongodb-org.spec
+++ b/rpm/mongodb-org.spec
@@ -202,7 +202,7 @@ This package provides the MongoDB static library and header files needed to deve
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv bin $RPM_BUILD_ROOT/usr
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+cp debian/mongo{,d,s}.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc
cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system