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