1 # TODO: various language support (java, perl, php, python, ruby, tcl)
2 Summary: Redland - a library that provides a high-level interface for RDF
3 Summary(pl): Redland - biblioteka udostêpniaj±ca wysokopoziomowy interfejs do RDF
7 License: LGPL v2 or MPL 1.1
9 Source0: http://www.redland.opensource.ac.uk/dist/source/%{name}-%{version}.tar.gz
10 # Source0-md5: 545ffc5e1da2e240392b0dbe32afa821
11 Patch0: %{name}-system-raptor.patch
12 Patch1: %{name}-amfix.patch
13 URL: http://www.redland.opensource.ac.uk/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: db-devel
18 BuildRequires: expat-devel
19 BuildRequires: libraptor-devel
20 BuildRequires: libtool
21 BuildRequires: openssl-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Redland is a library that provides a high-level interface for RDF
26 allowing the RDF graph to be parsed from XML, stored, queried and
27 manipulated. Redland implements each of the RDF concepts in its own
28 class via an object based API, reflected into the other language APIs:
29 Perl, Python, Tcl, Java and Ruby. Some of the classes providing the
30 parsers, storage mechanisms and other elements are built as modules
31 that can be added or removed as required.
34 Redland to biblioteka udostêpniaj±ca wysokopoziomowy interfejs do RDF,
35 pozwalaj±ca na analizê grafu RDF z XML, jego przechowywanie,
36 odpytywanie i obróbkê. Redland zawiera implementacje ka¿dego pojêcia z
37 RDF w odobnej klasie poprzez obiekt oparty na API, maj±cy
38 odzwierciedlenie w API dla innych jêzyków: Perla, Pythona, Tcl-a, Javy
39 i Ruby'ego. Czê¶æ klas udostêpniaj±cych analizatory, mechanizmy
40 przechowywania i inne elementy jest zbudowana jako modu³y, które mog±
41 byæ dodawane lub usuwane w razie potrzeby.
44 Summary: Headers for Redland RDF library
45 Summary(pl): Pliki nag³ówkowe biblioteki Redland RDF
46 Group: Development/Libraries
47 Requires: %{name} = %{version}
50 Headers for Redland RDF library.
52 %description devel -l pl
53 Pliki nag³ówkowe biblioteki Redland RDF.
56 Summary: Static Redland RDF library
57 Summary(pl): Statyczna biblioteka Redland RDF
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}
62 Static Redland RDF library.
64 %description static -l pl
65 Statyczna biblioteka Redland RDF.
68 Summary: Raptor RDF parser test program with Redland RDF support
69 Summary(pl): Testowy program parsera Raptor RDF ze wsparciem dla Redland RDF
71 Requires: %{name} = %{version}
74 Raptor RDF parser test program with Redland RDF support.
76 %description rapper -l pl
77 Testowy program parsera Raptor RDF ze wsparciem dla Redland RDF.
95 automake -a -c --foreign
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
108 rm -rf $RPM_BUILD_ROOT
110 %post -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
114 %defattr(644,root,root,755)
115 %doc AUTHORS ChangeLog FAQS.html LICENSE.html NEWS.html README.html RELEASE.html TODO.html
116 %attr(755,root,root) %{_bindir}/redland-db-upgrade
117 %attr(755,root,root) %{_libdir}/librdf.so.*.*.*
120 %defattr(644,root,root,755)
121 %doc docs/{README.html,overview.png,api}
122 %attr(755,root,root) %{_bindir}/redland-config
123 %attr(755,root,root) %{_libdir}/librdf.so
125 %{_includedir}/librdf.h
126 %{_includedir}/rdf_*.h
127 %{_includedir}/redland.h
128 %{_mandir}/man3/redland.3*
131 %defattr(644,root,root,755)
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_bindir}/rapper
137 %{_mandir}/man1/rapper.1*