]>
Commit | Line | Data |
---|---|---|
419f7d26 | 1 | # NOTE: |
65e4f97f | 2 | # - building --with vad requires: |
443beef8 | 3 | # - usable netstat |
65e4f97f | 4 | # - unused port 1111 (used f.e. by virtuoso-t) |
cab3d99f | 5 | # - many unpackaged files which should be removed or included in subpackages |
65e4f97f | 6 | # |
419f7d26 | 7 | %bcond_without vad |
65e4f97f | 8 | # |
298659d3 | 9 | Summary: OpenLink Virtuoso Database System |
7086708c | 10 | Summary(pl.UTF-8): System baz danych OpenLink Virtuoso |
298659d3 | 11 | Name: virtuoso |
8b194356 | 12 | Version: 6.1.6 |
eebeef31 | 13 | Release: 1 |
3425b04d | 14 | License: GPL v2 |
298659d3 | 15 | Group: Applications |
eebeef31 AM |
16 | Source0: http://downloads.sourceforge.net/virtuoso/%{name}-opensource-%{version}.tar.gz |
17 | # Source0-md5: 3991149c570f3738c3e819ce603e487f | |
298659d3 | 18 | URL: http://virtuoso.openlinksw.com/ |
64cd6fc7 | 19 | BuildRequires: ImageMagick-devel |
298659d3 | 20 | BuildRequires: autoconf |
21 | BuildRequires: automake | |
22 | BuildRequires: bison | |
23 | BuildRequires: flex | |
64cd6fc7 | 24 | BuildRequires: gawk |
298659d3 | 25 | BuildRequires: libtool |
443beef8 | 26 | BuildRequires: libwbxml-devel |
64cd6fc7 | 27 | BuildRequires: libxml2-devel |
28 | BuildRequires: net-tools | |
298659d3 | 29 | BuildRequires: openssl-devel |
419f7d26 | 30 | BuildRequires: readline-devel |
419f7d26 | 31 | BuildRequires: zlib-devel |
298659d3 | 32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
e18cec08 | 35 | Virtuoso is a scalable cross-platform server that combines SQL/RDF/XML |
36 | Data Management with Web Application Server and Web Services Platform | |
37 | functionality. | |
38 | ||
39 | Virtuoso is at the core a high performance object-relational SQL | |
40 | database. As a database, it provides transactions, a smart SQL | |
41 | compiler, powerful stored procedure language with optional Java and | |
42 | .Net server side hosting, hot backup, SQL 99 and more. It has all | |
43 | major data access interfaces, as in ODBC, JDBC, ADO .Net and OLE/DB. | |
44 | ||
45 | Virtuoso has a built-in web server which can serve dynamic web pages | |
9335e0e7 | 46 | written in Virtuoso's web page language as well as PHP, ASP .Net and |
e18cec08 | 47 | others. This same web server provides SOAP and REST access to Virtuoso |
48 | stored procedures, supporting a broad set of WS protocols such as | |
49 | WS-Security, WS-Reliable Messaging and others. A BPEL4WS run time is | |
9335e0e7 JB |
50 | also available as part of Virtuoso's SOA suite. |
51 | ||
24db72b9 JR |
52 | %description -l pl.UTF-8 |
53 | Virtuoso to skalowalny, wieloplatformowy serwer łączący funkcjonalność | |
54 | zarządzania danymi SQL/RDF/XML z serwerem aplikacji WWW i platformą | |
55 | usług WWW. | |
9335e0e7 | 56 | |
24db72b9 JR |
57 | Virtuoso opiera się na wysoko wydajnej obiektowo-relacyjnej bazie |
58 | danych SQL. Jako baza danych udostępnia transakcje, inteligentny | |
59 | kompilator SQL, potężny język procedur składowanych z opcjonalną | |
60 | obsługą Javy i .Net po stronie serwera, backup w czasie rzeczywistym, | |
61 | SQL 99 i inne. Ma wszystkie ważniejsze interfejsy dostępu do danych, | |
9335e0e7 JB |
62 | jak ODBC, JDBC, ADO .Net i OLE/DB. |
63 | ||
24db72b9 JR |
64 | Virtuoso ma wbudowany serwer WWW, potrafiący obsługiwać dynamiczne |
65 | strony napisane we własnym języku Virtuoso, a także PHP, ASP .Net i | |
66 | innych. Serwer ten daje dostęp SOAP i REST do procedur składowanych | |
67 | Virtuoso, obsługując szeroki zakres protokołów WS, takich jak | |
68 | WS-Security, WS-Reliable Messaging i inne. Środowisko uruchomieniowe | |
69 | BPEL4WS jest także dostępne jako część pakietu Virtuoso SOA. | |
298659d3 | 70 | |
419f7d26 AM |
71 | %package tools |
72 | Summary: Virtuoso tools | |
73 | Group: Applications | |
74 | Requires: %{name} = %{version}-%{release} | |
75 | ||
76 | %description tools | |
77 | Virtuoso tools. | |
78 | ||
79 | %package plugins-hosting | |
80 | Summary: Hosting plugins for virtuoso | |
81 | Group: Applications | |
82 | Requires: %{name} = %{version}-%{release} | |
83 | ||
84 | %description plugins-hosting | |
85 | Hosting plugins for virtuoso. | |
86 | ||
87 | %package vad | |
88 | Summary: VAD applications for virtuoso | |
89 | Group: Applications | |
90 | Requires: %{name} = %{version}-%{release} | |
91 | ||
92 | %description vad | |
93 | VAD applications for virtuoso. | |
94 | ||
3bec6e7c AM |
95 | %package doc |
96 | Summary: Virtuoso documentation | |
97 | Group: Documentation | |
98 | ||
99 | %description doc | |
100 | Virtuoso documentation. | |
101 | ||
298659d3 | 102 | %prep |
103 | %setup -q -n %{name}-opensource-%{version} | |
298659d3 | 104 | |
105 | %build | |
298659d3 | 106 | %{__libtoolize} |
107 | %{__aclocal} | |
108 | %{__autoconf} | |
109 | %{__autoheader} | |
110 | %{__automake} | |
64cd6fc7 | 111 | %configure \ |
419f7d26 | 112 | --libdir=%{_libdir}/%{name} \ |
5ac0ec96 | 113 | %{!?with_vad:--disable-all-vads} \ |
419f7d26 AM |
114 | --enable-xml \ |
115 | --enable-krb \ | |
116 | --enable-openssl \ | |
117 | --enable-openldap \ | |
118 | --enable-imagemagick \ | |
119 | --enable-wbxml2 \ | |
120 | --enable-aio \ | |
121 | --with-readline \ | |
122 | --without-internal-zlib \ | |
123 | --with-pthreads \ | |
64cd6fc7 | 124 | --disable-static |
9ac039a7 AM |
125 | |
126 | %{__make} -j1 | |
298659d3 | 127 | |
128 | %install | |
129 | rm -rf $RPM_BUILD_ROOT | |
298659d3 | 130 | |
9ac039a7 | 131 | %{__make} -j1 install \ |
298659d3 | 132 | DESTDIR=$RPM_BUILD_ROOT |
133 | ||
cabc5ae2 AM |
134 | ln -s . $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins |
135 | ||
298659d3 | 136 | %clean |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
139 | %files | |
140 | %defattr(644,root,root,755) | |
141 | %doc AUTHORS CREDITS ChangeLog NEWS README | |
419f7d26 AM |
142 | %attr(755,root,root) %{_bindir}/virtuoso-t |
143 | ||
144 | %dir %{_libdir}/%{name} | |
44f7988a | 145 | %dir %{_libdir}/%{name}/%{name} |
b1eda09b | 146 | %{_libdir}/%{name}/plugins |
419f7d26 AM |
147 | %attr(755,root,root) %{_libdir}/%{name}/virtodbc.so |
148 | %attr(755,root,root) %{_libdir}/%{name}/virtodbc_r.so | |
149 | %attr(755,root,root) %{_libdir}/%{name}/virtodbcu.so | |
150 | %attr(755,root,root) %{_libdir}/%{name}/virtodbcu_r.so | |
151 | ||
152 | %dir /var/lib/%{name} | |
153 | /var/lib/%{name}/db | |
154 | /var/lib/%{name}/vsp | |
155 | ||
156 | %files tools | |
157 | %defattr(644,root,root,755) | |
64cd6fc7 | 158 | %attr(755,root,root) %{_bindir}/inifile |
159 | %attr(755,root,root) %{_bindir}/isql | |
160 | %attr(755,root,root) %{_bindir}/isqlw | |
161 | %attr(755,root,root) %{_bindir}/virt_mail | |
64cd6fc7 | 162 | |
419f7d26 AM |
163 | %files plugins-hosting |
164 | %defattr(644,root,root,755) | |
9ac039a7 | 165 | %dir %{_libdir}/%{name} |
419f7d26 | 166 | %dir %{_libdir}/%{name}/%{name}/hosting |
419f7d26 | 167 | %attr(755,root,root) %{_libdir}/%{name}/%{name}/hosting/im.so |
419f7d26 | 168 | %attr(755,root,root) %{_libdir}/%{name}/%{name}/hosting/wbxml2.so |
419f7d26 AM |
169 | |
170 | %if %{with vad} | |
3142374c AM |
171 | %attr(755,root,root) %{_libdir}/%{name}/%{name}/hosting/creolewiki.so |
172 | %attr(755,root,root) %{_libdir}/%{name}/%{name}/hosting/mediawiki.so | |
173 | %attr(755,root,root) %{_libdir}/%{name}/%{name}/hosting/wikiv.so | |
174 | ||
419f7d26 AM |
175 | %files vad |
176 | %defattr(644,root,root,755) | |
298659d3 | 177 | %dir %{_datadir}/%{name} |
298659d3 | 178 | %dir %{_datadir}/%{name}/vad |
179 | %{_datadir}/%{name}/vad/*.vad | |
3bec6e7c AM |
180 | |
181 | %files doc | |
182 | %defattr(644,root,root,755) | |
183 | %doc docsrc/html_virt/*.{html,css,ico} | |
3142374c | 184 | %endif |