Changeset: 96ec36e7d99a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=96ec36e7d99a
Modified Files:
        
Branch: 
Log Message:

Created a new RPM MonetDB5-server-rdf for the optional MonetDB/RDF module.


diffs (100 lines):

diff -r bfba7f6a1a5d -r 96ec36e7d99a MonetDB5/ChangeLog.Jun2010
--- a/MonetDB5/ChangeLog.Jun2010        Tue May 18 14:16:16 2010 +0200
+++ b/MonetDB5/ChangeLog.Jun2010        Wed May 19 14:33:38 2010 +0200
@@ -1,6 +1,9 @@
 # ChangeLog file for MonetDB5
 # This file is updated with Maddlog
 
+* Wed May 19 2010 Sjoerd Mullender <[email protected]>
+- Created a new RPM MonetDB5-server-rdf for the optional MonetDB/RDF module.
+
 * Sun May  2 2010 Martin Kersten <[email protected]>
 - Added the Z-order module to simplify future manipulation of arrays.
 
diff -r bfba7f6a1a5d -r 96ec36e7d99a MonetDB5/MonetDB-server.spec
--- a/MonetDB5/MonetDB-server.spec      Tue May 18 14:16:16 2010 +0200
+++ b/MonetDB5/MonetDB-server.spec      Wed May 19 14:33:38 2010 +0200
@@ -33,9 +33,6 @@
 
 Requires(pre): shadow-utils
 BuildRequires: pcre-devel
-%if %{?_with_raptor:1}%{!?_with_raptor:0}
-BuildRequires: raptor-devel >= 1.4.16
-%endif
 BuildRequires: libxml2-devel
 
 # when we want MonetDB to run as system daemon, we need this
@@ -63,6 +60,14 @@
 # Contact [email protected] for details and/or 
assistance.
 %endif
 
+%if %{?_with_raptor:1}%{!?_with_raptor:0}
+%package rdf
+Summary: MonetDB RDF interface
+Group: Applications/Databases
+Requires: %{name} = %{version}-%{release}
+BuildRequires: raptor-devel >= 1.4.16
+%endif
+
 %package devel
 Summary: MonetDB development package
 Group: Applications/Databases
@@ -82,6 +87,16 @@
 use the SQL frontend (in which case you need MonetDB-SQL-server5 as
 well).
 
+%if %{?_with_raptor:1}%{!?_with_raptor:0}
+%description rdf
+MonetDB is a database management system that is developed from a
+main-memory perspective with use of a fully decomposed storage model,
+automatic index management, extensibility of data types and search
+accelerators, SQL- and XML- frontends.
+
+This package contains the MonetDB5 RDF module.
+%endif
+
 %description devel
 MonetDB is a database management system that is developed from a
 main-memory perspective with use of a fully decomposed storage model,
@@ -122,6 +137,8 @@
 find $RPM_BUILD_ROOT -name .incs.in -print -o -name \*.la -print | xargs rm -f
 rm -rf $RPM_BUILD_ROOT%{_libdir}/MonetDB5/Tests/*
 
+find $RPM_BUILD_ROOT%{_libdir}/MonetDB5 \( -name \*.mal -o -name \*.so\* \) ! 
-name '*rdf*' -print | sed "s|^$RPM_BUILD_ROOT||" > lib-files
+
 %pre
 getent group monetdb >/dev/null || groupadd -r monetdb
 getent passwd monetdb >/dev/null || \
@@ -153,7 +170,7 @@
 %clean
 rm -fr $RPM_BUILD_ROOT
 
-%files
+%files -f lib-files
 %defattr(-,root,root)
 %{_bindir}/mserver5
 %{_bindir}/Mbeddedmal
@@ -161,8 +178,7 @@
 %{_libdir}/*.so.*
 %dir %{_libdir}/MonetDB5
 %dir %{_libdir}/MonetDB5/lib
-%{_libdir}/MonetDB5/lib/*.so*
-%{_libdir}/MonetDB5/*.mal
+%dir %{_libdir}/MonetDB5/autoload
 
 %attr(770,monetdb,monetdb) %dir %{_localstatedir}/MonetDB
 %attr(770,monetdb,monetdb) %dir %{_localstatedir}/MonetDB5
@@ -170,6 +186,13 @@
 %config(noreplace) %{_sysconfdir}/monetdb5.conf
 %{_mandir}/man5/monetdb5.conf.5.gz
 
+%if %{?_with_raptor:1}%{!?_with_raptor:0}
+%files rdf
+%{_libdir}/MonetDB5/rdf.mal
+%{_libdir}/MonetDB5/lib/lib_rdf.so*
+%{_libdir}/MonetDB5/autoload/*_rdf.mal
+%endif
+
 %files devel
 %defattr(-,root,root)
 %{_bindir}/monetdb5-config
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to