rpms/soprano/F-10 soprano-2.2.69-cmake_DATA_INSTALL_DIR.patch, NONE, 1.1 soprano-svn_checkout.sh, NONE, 1.1 .cvsignore, 1.15, 1.16 soprano.spec, 1.26, 1.27 sources, 1.16, 1.17

Lukas Tinkl ltinkl at fedoraproject.org
Thu Jul 30 20:05:56 UTC 2009


Author: ltinkl

Update of /cvs/extras/rpms/soprano/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13320/F-10

Modified Files:
	.cvsignore soprano.spec sources 
Added Files:
	soprano-2.2.69-cmake_DATA_INSTALL_DIR.patch 
	soprano-svn_checkout.sh 
Log Message:
sync Soprano 2.3.0 with devel


soprano-2.2.69-cmake_DATA_INSTALL_DIR.patch:
 CMakeLists.txt |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

--- NEW FILE soprano-2.2.69-cmake_DATA_INSTALL_DIR.patch ---
diff -up soprano-2.2.69/cmake/modules/CMakeLists.txt.cmake_DATA_INSTALL_DIR soprano-2.2.69/cmake/modules/CMakeLists.txt
--- soprano-2.2.69/cmake/modules/CMakeLists.txt.cmake_DATA_INSTALL_DIR	2009-06-23 14:45:40.000000000 -0500
+++ soprano-2.2.69/cmake/modules/CMakeLists.txt	2009-06-26 09:32:48.946251752 -0500
@@ -1,5 +1,14 @@
+
+
+# Doesn't work, needs love (remove?) -- Rex
+FIND_PACKAGE(KDE4Internal)
+
+IF (NOT DATA_INSTALL_DIR)
+SET( DATA_INSTALL_DIR share/apps)
+ENDIF (NOT DATA_INSTALL_DIR)
+
 install(FILES
   SopranoAddOntology.cmake
   DESTINATION
-  share/apps/cmake/modules
+  ${DATA_INSTALL_DIR}/cmake/modules
 )


--- NEW FILE soprano-svn_checkout.sh ---
#/bin/sh

DATE=$(date +%Y%m%d)
EXPORT_DIR=soprano

set -x
rm -rf $EXPORT_DIR
# app
svn export svn://anonsvn.kde.org/home/kde/trunk/kdesupport/soprano $EXPORT_DIR/

tar cjf $EXPORT_DIR-${DATE}svn.tar.bz2 $EXPORT_DIR

# cleanup
rm -rf $EXPORT_DIR



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/soprano/F-10/.cvsignore,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- .cvsignore	29 Jan 2009 16:57:58 -0000	1.15
+++ .cvsignore	30 Jul 2009 20:05:52 -0000	1.16
@@ -1 +1 @@
-soprano-2.2.1.tar.bz2
+soprano-2.3.0.tar.bz2


Index: soprano.spec
===================================================================
RCS file: /cvs/extras/rpms/soprano/F-10/soprano.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -r1.26 -r1.27
--- soprano.spec	2 Mar 2009 16:31:56 -0000	1.26
+++ soprano.spec	30 Jul 2009 20:05:55 -0000	1.27
@@ -2,25 +2,31 @@
 # fedora review: http://bugzilla.redhat.com/248120
 
 # set this to 0 to disable -apidocs for a faster build
-%define apidocs 1
+%define apidocs 1 
 
 Summary: Qt wrapper API to different RDF storage solutions
 Name:    soprano
-Version: 2.2.3
-Release: 1%{?dist}
+Version: 2.3.0
+Release: 2%{?dist}
 
 Group:   System Environment/Libraries
 License: LGPLv2+
 URL:     http://sourceforge.net/projects/soprano
 Source0: http://downloads.sf.net/soprano/soprano-%{version}.tar.bz2
+Source1: soprano-svn_checkout.sh 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+## upstreamable patches
+Patch50: soprano-2.2.69-cmake_DATA_INSTALL_DIR.patch
+
+BuildRequires: clucene-core-devel >= 0.9.20-2
 BuildRequires: cmake
+BuildRequires: kde-filesystem
+# for backends/virtuoso
+#BuildRequires: libiodbc-devel
+BuildRequires: qt4-devel
 BuildRequires: redland-devel >= 1.0.6
 BuildRequires: raptor-devel >= 1.4.15
-BuildRequires: qt4-devel
-# older packages had clucene-config.h in the wrong place
-BuildRequires: clucene-core-devel >= 0.9.20-2
 
 %if "%{?apidocs}" == "1"
 BuildRequires: doxygen
@@ -43,7 +49,12 @@ Requires: pkgconfig
 %package apidocs
 Group: Development/Documentation
 Summary: Soprano API documentation
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}
+Requires: %{name} = %{version}
+%if 0%{?fedora} > 9
+# help workaround yum bug http://bugzilla.redhat.com/502401
+Obsoletes: soprano-apidocs < 2.2.3-2 
+BuildArch: noarch
+%endif
 
 %description apidocs
 This package includes the Soprano API documentation in HTML
@@ -53,17 +64,28 @@ format for easy browsing.
 %prep
 %setup -q -n soprano-%{version}
 
+%patch50 -p1 -b .cmake_DATA_INSTALL_DIR
+
 
 %build
 
-%cmake . -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` -DSOPRANO_BUILD_API_DOCS:BOOL=%{?apidocs}
-make %{?_smp_mflags}
+
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake} \
+  -DDATA_INSTALL_DIR:PATH=%{_kde4_appsdir} \
+  -DQT_DOC_DIR=`pkg-config --variable=docdir Qt` \
+  -DSOPRANO_BUILD_API_DOCS:BOOL=%{?apidocs} \
+  .. 
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
 
 
 %clean
@@ -81,16 +103,18 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/sopranocmd
 %{_bindir}/sopranod
 %{_bindir}/onto2vocabularyclass
-%{_libdir}/lib*.so.*
+%{_libdir}/libsoprano.so.4*
+%{_libdir}/libsopranoclient.so.1*
+%{_libdir}/libsopranoindex.so.1*
+%{_libdir}/libsopranoserver.so.1*
 %{_libdir}/soprano/
 %{_datadir}/soprano/
-# Own this one here for lack of a better place (see also #334681)
-%dir %{_datadir}/dbus-1/interfaces
-%{_datadir}/dbus-1/interfaces/org.soprano.*
+%{_datadir}/dbus-1/interfaces/org.soprano.*.xml
 
 %files devel
 %defattr(-,root,root,-)
-%{_libdir}/lib*.so
+%{_kde4_appsdir}/cmake/modules/SopranoAddOntology.cmake
+%{_libdir}/libsoprano*.so
 %{_libdir}/pkgconfig/soprano.pc
 %{_includedir}/soprano/
 %{_includedir}/Soprano/
@@ -98,11 +122,32 @@ rm -rf $RPM_BUILD_ROOT
 %if "%{?apidocs}" == "1"
 %files apidocs
 %defattr(-,root,root,-)
-%doc docs/html
+%doc %{_target_platform}/docs/html
 %endif
 
 
 %changelog
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Jul 16 2009 Rex Dieter <rdieter at fedoraproject.org> - 2.3.0-1
+- soprano-2.3.0
+- upstream dropped virtuoso backend  ):
+
+* Fri Jun 26 2009 Rex Dieter <rdieter at fedoraproject.org> - 2.2.69-1
+- soprano-2.2.69
+
+* Tue Jun 09 2009 Rex Dieter <rdieter at fedoraproject.org> - 2.2.67-2
+- upstream soprano-2.2.67 tarball
+
+* Wed Jun 03 2009 Rex Dieter <rdieter at fedoraproject.org> - 2.2.67-1
+- soprano-2.2.67, 20090603 snapshot from kdesupport 
+
+* Wed May  6 2009 Rex Dieter <rdieter at fedoraproject.org> - 2.2.3-2
+- %%files: drop ownership of %%_datadir/dbus-1.0/interfaces (#334681)
+- %%files: track shlib sonames
+- make -apidocs noarch
+
 * Mon Mar  2 2009 Lukáš Tinkl <ltinkl at redhat.com> - 2.2.3-1
 - update to 2.2.3, fix apidox building
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/soprano/F-10/sources,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- sources	2 Mar 2009 16:31:56 -0000	1.16
+++ sources	30 Jul 2009 20:05:55 -0000	1.17
@@ -1 +1 @@
-22c992a252144ae0a3a964ba2f6f1933  soprano-2.2.3.tar.bz2
+286d5d37c1d4f070527758e79706d1a7  soprano-2.3.0.tar.bz2




More information about the fedora-extras-commits mailing list