Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
564cc98feb | ||
| 78c7ff61ac | |||
| bb2e7d22ff | |||
|
|
300fe6553a |
6 changed files with 303 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
virtuoso-opensource-6.1.2.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
2016-05-19: Retired orphaned package, because it was orphaned for
|
||||
more than six weeks.
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
0519e1f104428e0c8b25fad89e3c57ef virtuoso-opensource-6.1.2.tar.gz
|
||||
42
virtuoso-opensource-6.1.0-external_iodbc.patch
Normal file
42
virtuoso-opensource-6.1.0-external_iodbc.patch
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
diff -up virtuoso-opensource-6.1.0/configure.external_iodbc virtuoso-opensource-6.1.0/configure
|
||||
--- virtuoso-opensource-6.1.0/configure.external_iodbc 2010-02-03 14:54:32.000000000 -0600
|
||||
+++ virtuoso-opensource-6.1.0/configure 2010-02-04 08:16:53.058591521 -0600
|
||||
@@ -26773,7 +26773,7 @@ _ACEOF
|
||||
#
|
||||
if test "x$virt_do_iodbc" = "xyes"
|
||||
then
|
||||
- iodbc_CPPFLAGS="-I$virt_iodbc_dir/include"
|
||||
+ iodbc_CPPFLAGS=`pkg-config --cflags libiodbc`
|
||||
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$iodbc_CPPFLAGS $CPPFLAGS"
|
||||
@@ -26936,7 +26936,7 @@ done
|
||||
|
||||
ccincl="$iodbc_CPPFLAGS $ccincl"
|
||||
|
||||
- iodbc_LDFLAGS="-L$virt_iodbc_dir/lib -liodbc -liodbcinst $LIBDL"
|
||||
+ iodbc_LDFLAGS=`pkg-config --libs libiodbc`
|
||||
{ $as_echo "$as_me:$LINENO: checking for SQLTables in -liodbc" >&5
|
||||
$as_echo_n "checking for SQLTables in -liodbc... " >&6; }
|
||||
if test "${ac_cv_lib_iodbc_SQLTables+set}" = set; then
|
||||
diff -up virtuoso-opensource-6.1.0/configure.in.external_iodbc virtuoso-opensource-6.1.0/configure.in
|
||||
--- virtuoso-opensource-6.1.0/configure.in.external_iodbc 2010-02-03 14:49:18.000000000 -0600
|
||||
+++ virtuoso-opensource-6.1.0/configure.in 2010-02-04 08:16:51.265605024 -0600
|
||||
@@ -1833,7 +1833,7 @@ AC_DEFINE(NO_UDBC_SDK,1, [Define if usin
|
||||
#
|
||||
if test "x$virt_do_iodbc" = "xyes"
|
||||
then
|
||||
- iodbc_CPPFLAGS="-I$virt_iodbc_dir/include"
|
||||
+ iodbc_CPPFLAGS=`pkg-config --cflags libiodbc`
|
||||
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$iodbc_CPPFLAGS $CPPFLAGS"
|
||||
@@ -1842,7 +1842,7 @@ then
|
||||
|
||||
ccincl="$iodbc_CPPFLAGS $ccincl"
|
||||
|
||||
- iodbc_LDFLAGS="-L$virt_iodbc_dir/lib -liodbc -liodbcinst $LIBDL"
|
||||
+ iodbc_LDFLAGS=`pkg-config --libs libiodbc`
|
||||
AC_CHECK_LIB(iodbc, SQLTables,
|
||||
[
|
||||
virt_do_iodbc="yes"
|
||||
38
virtuoso-opensource-6.1.0-nodemos_buildfix.patch
Normal file
38
virtuoso-opensource-6.1.0-nodemos_buildfix.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
diff -up virtuoso-opensource-6.1.0/binsrc/samples/demo/Makefile.am.nodemos_buildfix virtuoso-opensource-6.1.0/binsrc/samples/demo/Makefile.am
|
||||
--- virtuoso-opensource-6.1.0/binsrc/samples/demo/Makefile.am.nodemos_buildfix 2009-08-31 03:08:47.000000000 -0500
|
||||
+++ virtuoso-opensource-6.1.0/binsrc/samples/demo/Makefile.am 2010-02-04 11:51:33.650603771 -0600
|
||||
@@ -164,6 +164,7 @@ install-data-local:
|
||||
chmod +x install_ini.sh
|
||||
mkdir -p "$(DESTDIR)$(dbdir)"
|
||||
$(SHELL) install_ini.sh database
|
||||
+if WITH_DEMO_VAD
|
||||
if WITH_HTMLDOC
|
||||
mkdir -p "$(DESTDIR)$(htmldocdir)"
|
||||
$(INSTALL_DATA) $(top_srcdir)/docsrc/html_virt/*.html "$(DESTDIR)$(htmldocdir)"
|
||||
@@ -173,6 +174,7 @@ if WITH_HTMLDOC
|
||||
(cd $(top_srcdir)/docsrc/images; find . -name \*.png -print | cpio -dump "$(DESTDIR)$(htmldocdir)/../images")
|
||||
(cd $(top_srcdir)/docsrc/images; find . -name \*.ico -print | cpio -dump "$(DESTDIR)$(htmldocdir)/../images")
|
||||
endif
|
||||
+endif
|
||||
|
||||
uninstall-local:
|
||||
rm -f "$(DESTDIR)$(dbdir)/virtuoso.ini"
|
||||
diff -up virtuoso-opensource-6.1.0/binsrc/vsp/Makefile.am.nodemos_buildfix virtuoso-opensource-6.1.0/binsrc/vsp/Makefile.am
|
||||
--- virtuoso-opensource-6.1.0/binsrc/vsp/Makefile.am.nodemos_buildfix 2008-04-15 16:47:43.000000000 -0500
|
||||
+++ virtuoso-opensource-6.1.0/binsrc/vsp/Makefile.am 2010-02-04 11:57:45.894591421 -0600
|
||||
@@ -24,6 +24,7 @@
|
||||
#dist_httproot_DATA = *.html *.css *.txt
|
||||
|
||||
install-data-local:
|
||||
+if WITH_DEMO_VAD
|
||||
@echo Installing in "$(httprootdir)"
|
||||
mkdir -p "$(DESTDIR)$(httprootdir)"
|
||||
mkdir -p "$(DESTDIR)$(httprootdir)"/images
|
||||
@@ -37,6 +38,7 @@ install-data-local:
|
||||
$(INSTALL_DATA) images/*.png "$(DESTDIR)$(httprootdir)"/images
|
||||
$(INSTALL_DATA) images/*.jpg "$(DESTDIR)$(httprootdir)"/images
|
||||
$(INSTALL_DATA) vsmx/*.* "$(DESTDIR)$(httprootdir)"/vsmx
|
||||
+endif
|
||||
|
||||
|
||||
uninstall-local:
|
||||
221
virtuoso-opensource.spec
Normal file
221
virtuoso-opensource.spec
Normal file
|
|
@ -0,0 +1,221 @@
|
|||
|
||||
# set to omit demos
|
||||
%define _disable_all_vads --disable-all-vads
|
||||
|
||||
Name: virtuoso-opensource
|
||||
Version: 6.1.2
|
||||
Release: 1%{?dist}
|
||||
Summary: A high-performance object-relational SQL database
|
||||
|
||||
Group: Applications/Databases
|
||||
# see LICENSE for exception details
|
||||
License: GPLv2 with exceptions
|
||||
URL: http://virtuoso.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/virtuoso/virtuoso-opensource-%{version}.tar.gz
|
||||
#Source0: ftp://download.openlinksw.com/support/vos/virtuoso-opensource-%{snap}.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
## Upstreamable patches
|
||||
# based on http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/virtuoso-opensource/current/SOURCES/virtuoso-opensource-6.1.0-extern-iodbc.patch
|
||||
Patch51: virtuoso-opensource-6.1.0-external_iodbc.patch
|
||||
Patch52: virtuoso-opensource-6.1.0-nodemos_buildfix.patch
|
||||
|
||||
BuildRequires: automake libtool
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: gperf
|
||||
BuildRequires: htmldoc
|
||||
## when/if we ever decide to ship .jar's
|
||||
#BuildRequires: java-devel
|
||||
BuildRequires: openldap-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: libiodbc-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
Provides: virtuoso = %{version}-%{release}
|
||||
|
||||
%if 0%{?_disable_all_vads:1}
|
||||
Obsoletes: virtuoso-opensource-apps < 6.1.0
|
||||
Obsoletes: virtuoso-opensource-conductor < 6.1.0
|
||||
Obsoletes: virtuoso-opensource-doc < 6.1.1
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Virtuoso is a scalable cross-platform server that combines SQL/RDF/XML
|
||||
Data Management with Web Application Server and Web Services Platform
|
||||
functionality.
|
||||
|
||||
%package apps
|
||||
Summary: Applications
|
||||
Group: Applications/Databases
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description apps
|
||||
%{summary}.
|
||||
|
||||
%package conductor
|
||||
Summary: Server pages
|
||||
Group: Applications/Databases
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description conductor
|
||||
%{summary}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation
|
||||
Group: Documentation
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description doc
|
||||
%{summary}.
|
||||
|
||||
%package utils
|
||||
Summary: Utilities
|
||||
Group: Applications/Databases
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description utils
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n virtuoso-opensource%{!?snap:-%{version}}%{?snap:-%{snap}}
|
||||
|
||||
%patch51 -p1 -b .external_iodbc
|
||||
%patch52 -p1 -b .nodemos_buildfix
|
||||
|
||||
./autogen.sh
|
||||
|
||||
|
||||
%build
|
||||
# --with-debug avoids useless -debuginfo
|
||||
%configure \
|
||||
--with-layout=redhat \
|
||||
--enable-shared --disable-static \
|
||||
--without-internal-zlib \
|
||||
--with-debug \
|
||||
--with-iodbc \
|
||||
--enable-openssl \
|
||||
--disable-imagemagick \
|
||||
%{?_disable_all_vads}
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# silly that both binaries with internal vs. external libiodbc get built
|
||||
mv %{buildroot}%{_bindir}/virtuoso-iodbc-t %{buildroot}%{_bindir}/virtuoso-t
|
||||
mv %{buildroot}%{_bindir}/isql-iodbc %{buildroot}%{_bindir}/isql
|
||||
mv %{buildroot}%{_bindir}/isqlw-iodbc %{buildroot}%{_bindir}/isqlw
|
||||
mv %{buildroot}%{_bindir}/odbc_mail %{buildroot}%{_bindir}/virt_mail
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/virtuoso
|
||||
mv %{buildroot}%{_var}/lib/virtuoso/db/virtuoso.ini %{buildroot}%{_sysconfdir}/virtuoso/
|
||||
ln -s ../../../..%{_sysconfdir}/virtuoso/virtuoso.ini %{buildroot}%{_var}/lib/virtuoso/db/virtuoso.ini
|
||||
|
||||
# generic'ish binaries, hide them away safely
|
||||
mkdir -p %{buildroot}%{_libexecdir}/virtuoso/
|
||||
mv %{buildroot}%{_bindir}/{inifile,isql,isqlw} \
|
||||
%{buildroot}%{_libexecdir}/virtuoso/
|
||||
|
||||
## unpackaged files
|
||||
# iodbc-ized version of virt_mail, meh.
|
||||
rm -vf %{buildroot}%{_bindir}/odbc_mail
|
||||
rm -vf %{buildroot}%{_libdir}/*.{la,a}
|
||||
rm -vf %{buildroot}%{_libdir}/virtuoso/hosting/*.la
|
||||
%if 0%{?_disable_all_vads:1}
|
||||
rm -rvf %{buildroot}%{_docdir}/virtuoso/
|
||||
rm -rvf %{buildroot}%{_libdir}/sesame/
|
||||
rm -vf %{buildroot}%{_libdir}/{hibernate,jdbc-?.?,jena,sesame}/*.jar
|
||||
%endif
|
||||
|
||||
|
||||
%check
|
||||
## these take a very long time
|
||||
#make check
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING CREDITS LICENSE
|
||||
%dir %{_sysconfdir}/virtuoso/
|
||||
%config(noreplace) %{_sysconfdir}/virtuoso/virtuoso.ini
|
||||
%{_bindir}/virtuoso-t
|
||||
%{_libdir}/virt*.so
|
||||
%dir %{_datadir}/virtuoso/
|
||||
%dir %{_datadir}/virtuoso/vad/
|
||||
%dir %{_libdir}/virtuoso/
|
||||
%dir %{_libexecdir}/virtuoso/
|
||||
%dir %{_var}/lib/virtuoso
|
||||
%{_var}/lib/virtuoso/db/
|
||||
|
||||
%if ! 0%{?_disable_all_vads:1}
|
||||
%files apps
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/virtuoso/hosting/
|
||||
%{_datadir}/virtuoso/vad/*.vad
|
||||
%exclude %{_datadir}/virtuoso/vad/conductor_dav.vad
|
||||
|
||||
%files conductor
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/virtuoso/vad/conductor_dav.vad
|
||||
%{_var}/lib/virtuoso/vsp/
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%{_docdir}/virtuoso/
|
||||
%endif
|
||||
|
||||
%files utils
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/virt_mail
|
||||
%{_libexecdir}/virtuoso/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 21 2010 Rex Dieter <rdieter@fedoraproject.org> 6.1.2-1
|
||||
- virtuoso-opensource-6.1.2
|
||||
|
||||
* Mon May 10 2010 Rex Dieter <rdieter@fedoraproject.org> 6.1.1-1
|
||||
- virtuoso-opensource-6.1.1
|
||||
- Obsoletes: -doc
|
||||
|
||||
* Tue Feb 09 2010 Rex Dieter <rdieter@fedoraproject.org> 6.1.0-2
|
||||
- fix Obsoletes: -apps,-conductor
|
||||
|
||||
* Thu Feb 04 2010 Rex Dieter <rdieter@fedoraproject.org> 6.1.0-1
|
||||
- virtuoso-opensource-6.1.0
|
||||
- build only what we need for nepomuk, Obsoletes: -apps,-conductor
|
||||
|
||||
* Sat Jan 09 2010 Rex Dieter <rdieter@fedoraproject.org> 6.0.0-1
|
||||
- virtuoso-opensource-6.0.0
|
||||
|
||||
* Tue Oct 20 2009 Rex Dieter <rdieter@fedoraproject.org> 5.0.12-1
|
||||
- virtuoso-opensource-5.0.12
|
||||
|
||||
* Sun Oct 11 2009 Rex Dieter <rdieter@fedoraproject.rog> 5.0.12-0.1.rc9.20090916
|
||||
- virtuoso-opensource-20090916 (5.0.12-rc9)
|
||||
|
||||
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 5.0.11-4
|
||||
- rebuilt with new openssl
|
||||
|
||||
* Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> 5.0.11-3
|
||||
- BR: htmldoc
|
||||
- -doc subpkg
|
||||
|
||||
* Sun Jun 07 2009 Rex Dieter <rdieter@fedoraproject.org> 5.0.11-2
|
||||
- omit remaining .la files
|
||||
- fix %%changelog
|
||||
- fix virtuoso.ini dangling symlink
|
||||
|
||||
* Fri May 22 2009 Rex Dieter <rdieter@fedoraproject.org> 5.0.11-1
|
||||
- virtuoso-opensource-5.0.11
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue