<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: MongoDB 1.2.2 for CentOS 5</title>
	<atom:link href="http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/</link>
	<description>because i totally have enough free time to be blogging...</description>
	<lastBuildDate>Mon, 26 Jul 2010 05:45:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Steve</title>
		<link>http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/comment-page-1/#comment-403</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 13 Mar 2010 18:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/#comment-403</guid>
		<description>Updated spec for 1.2.4. If you can get this work into Fedora/EPEL then I&#039;ll be able to submit my pymongo spec.

========



Name: mongo
Version: 1.2.4
Release: 1%{?dist}
Summary: mongo client shell and tools
License: AGPL 3.0
URL: http://www.mongodb.org
Group: Applications/Databases

Source0: %{name}db-src-r%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: js-devel, readline-devel, boost-devel &gt;= 1.35, pcre-devel
BuildRequires: gcc-c++, scons
Requires: boost &gt;= 1.35

%description
Mongo (from &quot;huMONGOus&quot;) is a schema-free document-oriented database.
It features dynamic profileable queries, full indexing, replication
and fail-over support, efficient storage of large binary data objects,
and auto-sharding.

This package provides the mongo shell, import/export tools, and other
client utilities.

%package server
Summary: mongo server, sharding server, and support scripts
Group: Applications/Databases

%description server
Mongo (from &quot;huMONGOus&quot;) is a schema-free document-oriented database.

This package provides the mongo server software, mongo sharding server
softwware, default configuration files, and init.d scripts.

%package devel
Summary: Headers and libraries for mongo development.
Group: Applications/Databases

%description devel
Mongo (from &quot;huMONGOus&quot;) is a schema-free document-oriented database.

This package provides the mongo static library and header files needed
to develop mongo client software.

%prep
%setup -n %{name}db-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/usr/share/man/man1
cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
cp rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod
mkdir -p $RPM_BUILD_ROOT/etc
cp rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf
mkdir -p $RPM_BUILD_ROOT/var/lib/mongo
mkdir -p $RPM_BUILD_ROOT/var/log
touch $RPM_BUILD_ROOT/var/log/mongo

%clean
scons -c
rm -rf $RPM_BUILD_ROOT

%pre server
#/usr/sbin/useradd -M -o -r -d /var/mongo -s /bin/bash \
#       -c &quot;mongod&quot; mongod &gt; /dev/null 2&gt;&amp;1 &#124;&#124; :

%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 &gt;/dev/null 2&gt;&amp;1 &#124;&#124; :
fi

%files
%defattr(-,root,root,-)
%doc README GNU-AGPL-3.0.txt
%{_bindir}/mongo
%{_bindir}/mongodump
%{_bindir}/mongoexport
%{_bindir}/mongofiles
%{_bindir}/mongoimport
%{_bindir}/mongorestore

%{_mandir}/man1/mongo.1*
%{_mandir}/man1/mongodump.1*
%{_mandir}/man1/mongoexport.1*
%{_mandir}/man1/mongofiles.1*
%{_mandir}/man1/mongoimport.1*
%{_mandir}/man1/mongorestore.1*
%{_mandir}/man1/mongos.1*

%files server
%defattr(-,root,root,-)
%config(noreplace) /etc/mongod.conf
%{_bindir}/mongod
%{_bindir}/mongos
%{_mandir}/man1/mongod.1*
%{_mandir}/man1/mongos.1*
%{_mandir}/man1/mongosniff.1.gz
/etc/rc.d/init.d/mongod
#/etc/sysconfig/mongod
#/etc/rc.d/init.d/mongos
%attr(0755,root,root) %dir /var/lib/mongo
%attr(0640,root,root) %config(noreplace) %verify(not md5 size mtime) /var/log/mongo

%files devel
/usr/include/mongo
%{_libdir}/libmongoclient.a
#%{_libdir}/libmongotestfiles.a

%changelog
* Sat Mar 13 2010 Steve &#039;Ashcrow&#039; Milner  - 1.2.4-1
- Upgrade for upstream release.

* Tue Feb 02 2010 Chris Lea  - 1.2.2
- Depend on boost &gt;= 1.35

* Thu Jan 28 2010 Chris Lea  - 1.2.2
- Bump to 1.2.2

* Sat Jan 02 2010 Chris Lea  - 1.2.1
- Bump to 1.2.1

* Sat Oct 24 2009 Joe Miklojcik  -
- Wrote mongo.spec.</description>
		<content:encoded><![CDATA[<p>Updated spec for 1.2.4. If you can get this work into Fedora/EPEL then I&#8217;ll be able to submit my pymongo spec.</p>
<p>========</p>
<p>Name: mongo<br />
Version: 1.2.4<br />
Release: 1%{?dist}<br />
Summary: mongo client shell and tools<br />
License: AGPL 3.0<br />
URL: <a href="http://www.mongodb.org" rel="nofollow">http://www.mongodb.org</a><br />
Group: Applications/Databases</p>
<p>Source0: %{name}db-src-r%{version}.tar.gz<br />
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root<br />
BuildRequires: js-devel, readline-devel, boost-devel &gt;= 1.35, pcre-devel<br />
BuildRequires: gcc-c++, scons<br />
Requires: boost &gt;= 1.35</p>
<p>%description<br />
Mongo (from &#8220;huMONGOus&#8221;) is a schema-free document-oriented database.<br />
It features dynamic profileable queries, full indexing, replication<br />
and fail-over support, efficient storage of large binary data objects,<br />
and auto-sharding.</p>
<p>This package provides the mongo shell, import/export tools, and other<br />
client utilities.</p>
<p>%package server<br />
Summary: mongo server, sharding server, and support scripts<br />
Group: Applications/Databases</p>
<p>%description server<br />
Mongo (from &#8220;huMONGOus&#8221;) is a schema-free document-oriented database.</p>
<p>This package provides the mongo server software, mongo sharding server<br />
softwware, default configuration files, and init.d scripts.</p>
<p>%package devel<br />
Summary: Headers and libraries for mongo development.<br />
Group: Applications/Databases</p>
<p>%description devel<br />
Mongo (from &#8220;huMONGOus&#8221;) is a schema-free document-oriented database.</p>
<p>This package provides the mongo static library and header files needed<br />
to develop mongo client software.</p>
<p>%prep<br />
%setup -n %{name}db-src-r%{version}<br />
%build<br />
scons &#8211;prefix=$RPM_BUILD_ROOT/usr all<br />
# XXX really should have shared library here</p>
<p>%install<br />
scons &#8211;prefix=$RPM_BUILD_ROOT/usr install<br />
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1<br />
cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/<br />
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d<br />
cp rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod<br />
chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod<br />
mkdir -p $RPM_BUILD_ROOT/etc<br />
cp rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf<br />
mkdir -p $RPM_BUILD_ROOT/var/lib/mongo<br />
mkdir -p $RPM_BUILD_ROOT/var/log<br />
touch $RPM_BUILD_ROOT/var/log/mongo</p>
<p>%clean<br />
scons -c<br />
rm -rf $RPM_BUILD_ROOT</p>
<p>%pre server<br />
#/usr/sbin/useradd -M -o -r -d /var/mongo -s /bin/bash \<br />
#       -c &#8220;mongod&#8221; mongod &gt; /dev/null 2&gt;&amp;1 || :</p>
<p>%post server<br />
if test $1 = 1<br />
then<br />
  /sbin/chkconfig &#8211;add mongod<br />
fi</p>
<p>%preun server<br />
if test $1 = 0<br />
then<br />
  /sbin/chkconfig &#8211;del mongod<br />
fi</p>
<p>%postun server<br />
if test $1 -ge 1<br />
then<br />
  /sbin/service mongod stop &gt;/dev/null 2&gt;&amp;1 || :<br />
fi</p>
<p>%files<br />
%defattr(-,root,root,-)<br />
%doc README GNU-AGPL-3.0.txt<br />
%{_bindir}/mongo<br />
%{_bindir}/mongodump<br />
%{_bindir}/mongoexport<br />
%{_bindir}/mongofiles<br />
%{_bindir}/mongoimport<br />
%{_bindir}/mongorestore</p>
<p>%{_mandir}/man1/mongo.1*<br />
%{_mandir}/man1/mongodump.1*<br />
%{_mandir}/man1/mongoexport.1*<br />
%{_mandir}/man1/mongofiles.1*<br />
%{_mandir}/man1/mongoimport.1*<br />
%{_mandir}/man1/mongorestore.1*<br />
%{_mandir}/man1/mongos.1*</p>
<p>%files server<br />
%defattr(-,root,root,-)<br />
%config(noreplace) /etc/mongod.conf<br />
%{_bindir}/mongod<br />
%{_bindir}/mongos<br />
%{_mandir}/man1/mongod.1*<br />
%{_mandir}/man1/mongos.1*<br />
%{_mandir}/man1/mongosniff.1.gz<br />
/etc/rc.d/init.d/mongod<br />
#/etc/sysconfig/mongod<br />
#/etc/rc.d/init.d/mongos<br />
%attr(0755,root,root) %dir /var/lib/mongo<br />
%attr(0640,root,root) %config(noreplace) %verify(not md5 size mtime) /var/log/mongo</p>
<p>%files devel<br />
/usr/include/mongo<br />
%{_libdir}/libmongoclient.a<br />
#%{_libdir}/libmongotestfiles.a</p>
<p>%changelog<br />
* Sat Mar 13 2010 Steve &#8216;Ashcrow&#8217; Milner  &#8211; 1.2.4-1<br />
- Upgrade for upstream release.</p>
<p>* Tue Feb 02 2010 Chris Lea  &#8211; 1.2.2<br />
- Depend on boost &gt;= 1.35</p>
<p>* Thu Jan 28 2010 Chris Lea  &#8211; 1.2.2<br />
- Bump to 1.2.2</p>
<p>* Sat Jan 02 2010 Chris Lea  &#8211; 1.2.1<br />
- Bump to 1.2.1</p>
<p>* Sat Oct 24 2009 Joe Miklojcik  -<br />
- Wrote mongo.spec.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/comment-page-1/#comment-402</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 13 Mar 2010 17:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/#comment-402</guid>
		<description>Are you going to send it up to Fedora/CentOS proper? I could see this being very helpful!</description>
		<content:encoded><![CDATA[<p>Are you going to send it up to Fedora/CentOS proper? I could see this being very helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Howto Install MongoDB on CentOS Linux and Red Hat (RHEL) Linux &#124; if not true then false</title>
		<link>http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/comment-page-1/#comment-390</link>
		<dc:creator>Howto Install MongoDB on CentOS Linux and Red Hat (RHEL) Linux &#124; if not true then false</dc:creator>
		<pubDate>Wed, 03 Mar 2010 22:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://chrislea.com/2010/02/07/mongodb-1-2-2-for-centos-5/#comment-390</guid>
		<description>[...] systems (which provide structured schemas and powerful queries).This guide uses EPEL-repository and Chris Lea&#8217;s Yum Repository where you can find MongoDB RPM packages for CentOS and Red Hat (RHE....Install MongoDB on Fedora, CentOS and Red Hat (RHEL) LinuxChange to root Usersu - ## OR ## sudo [...]</description>
		<content:encoded><![CDATA[<p>[...] systems (which provide structured schemas and powerful queries).This guide uses EPEL-repository and Chris Lea&#8217;s Yum Repository where you can find MongoDB RPM packages for CentOS and Red Hat (RHE&#8230;.Install MongoDB on Fedora, CentOS and Red Hat (RHEL) LinuxChange to root Usersu &#8211; ## OR ## sudo [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
