]> git.pld-linux.org Git - packages/redland.git/blame - redland.spec
- BR added
[packages/redland.git] / redland.spec
CommitLineData
283dd99c
ER
1#
2# Conditional build:
3%bcond_without threestore # with 3store
4#
ec6b87a7 5Summary: Redland - a library that provides a high-level interface for RDF
e2351b75 6Summary(pl.UTF-8): Redland - biblioteka udostępniająca wysokopoziomowy interfejs do RDF
493fe0ac 7Name: redland
cea26c28 8Version: 1.0.6
ad11d916 9Release: 3
c8708410 10License: LGPL v2.1+ or GPL v2+ or Apache v2
ec6b87a7 11Group: Libraries
9c5a6be5 12Source0: http://download.librdf.org/source/%{name}-%{version}.tar.gz
cea26c28 13# Source0-md5: 901bf87252658c8b247dc6eda00f8724
de39a299 14Patch0: %{name}-link.patch
9c5a6be5 15URL: http://librdf.org/
283dd99c 16%if %{with threestore}
14845a81
JB
17BuildRequires: 3store-devel >= 2.0
18BuildRequires: 3store-devel < 3.0
283dd99c 19%endif
9c3d57bf 20BuildRequires: autoconf >= 2.53
02162650 21BuildRequires: automake >= 1:1.7
ec6b87a7 22BuildRequires: db-devel
5140da3b 23BuildRequires: db-static
cea26c28 24BuildRequires: libraptor-devel >= 1.4.15
ec6b87a7 25BuildRequires: libtool
d04c2610 26BuildRequires: mysql-devel >= 3.23.58
493bc4a0 27BuildRequires: openssl-devel >= 0.9.7d
9c5a6be5
JB
28BuildRequires: pkgconfig
29BuildRequires: postgresql-devel
cea26c28 30BuildRequires: rasqal-devel >= 1:0.9.14
9c5a6be5
JB
31BuildRequires: rpmbuild(macros) >= 1.98
32BuildRequires: sqlite3-devel >= 3
cea26c28
JB
33Requires: libraptor >= 1.4.15
34Requires: rasqal >= 1:0.9.14
493fe0ac
JB
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
ec6b87a7
JB
38Redland is a library that provides a high-level interface for RDF
39allowing the RDF graph to be parsed from XML, stored, queried and
40manipulated. Redland implements each of the RDF concepts in its own
41class via an object based API, reflected into the other language APIs:
42Perl, Python, Tcl, Java and Ruby. Some of the classes providing the
43parsers, storage mechanisms and other elements are built as modules
44that can be added or removed as required.
45
ca9ca427
JR
46%description -l pl.UTF-8
47Redland to biblioteka udostępniająca wysokopoziomowy interfejs do RDF,
48pozwalająca na analizę grafu RDF z XML-a, jego przechowywanie,
49odpytywanie i obróbkę. Redland zawiera implementacje każdego pojęcia z
50RDF w osobnej klasie poprzez obiekt oparty na API, mający
51odzwierciedlenie w API dla innych języków: Perla, Pythona, Tcl-a, Javy
52i Ruby'ego. Część klas udostępniających analizatory, mechanizmy
53przechowywania i inne elementy jest zbudowana jako moduły, które mogą
54być dodawane lub usuwane w razie potrzeby.
ec6b87a7
JB
55
56%package devel
57Summary: Headers for Redland RDF library
e2351b75 58Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Redland RDF
ec6b87a7 59Group: Development/Libraries
d04c2610 60Requires: %{name} = %{version}-%{release}
283dd99c 61%if %{with threestore}
14845a81
JB
62Requires: 3store-devel >= 2.0
63Requires: 3store-devel < 3.0
283dd99c 64%endif
f0759125 65Requires: db-devel
cea26c28 66Requires: libraptor-devel >= 1.4.15
d04c2610 67Requires: mysql-devel >= 3.23.58
9c5a6be5 68Requires: postgresql-devel
cea26c28 69Requires: rasqal-devel >= 1:0.9.14
9c5a6be5 70Requires: sqlite3-devel >= 3
ec6b87a7
JB
71
72%description devel
73Headers for Redland RDF library.
74
ca9ca427
JR
75%description devel -l pl.UTF-8
76Pliki nagłówkowe biblioteki Redland RDF.
ec6b87a7
JB
77
78%package static
79Summary: Static Redland RDF library
e2351b75 80Summary(pl.UTF-8): Statyczna biblioteka Redland RDF
ec6b87a7 81Group: Development/Libraries
d04c2610 82Requires: %{name}-devel = %{version}-%{release}
ec6b87a7
JB
83
84%description static
85Static Redland RDF library.
86
ca9ca427 87%description static -l pl.UTF-8
ec6b87a7
JB
88Statyczna biblioteka Redland RDF.
89
fe0c5f3f 90%package -n python-redland
91Summary: Python bindings for Redland RDF library
e2351b75 92Summary(pl.UTF-8): Pythonowy interfejs do biblioteki Redland RDF
fe0c5f3f 93Group: Libraries/Python
d04c2610
JB
94Requires: %{name} = %{version}-%{release}
95%pyrequires_eq python
fe0c5f3f 96
97%description -n python-redland
98Python bindings for Redland RDF library
99
ca9ca427 100%description -n python-redland -l pl.UTF-8
fe0c5f3f 101Pythonowy interfejs do biblioteki Redland RDF
102
493fe0ac
JB
103%prep
104%setup -q
de39a299 105%patch0 -p1
493fe0ac
JB
106
107%build
ec6b87a7
JB
108%{__libtoolize}
109%{__aclocal}
110%{__autoconf}
111%{__autoheader}
112%{__automake}
75bfd5de 113%configure \
9c5a6be5 114 --with-html-dir=%{_gtkdocdir} \
283dd99c 115 --with-threestore=%{!?with_threestore:no}%{?with_threestore:yes} \
d04c2610 116 --with-raptor=system \
841e524c 117 --with-rasqal=system
ec6b87a7 118
493fe0ac
JB
119%{__make}
120
121%install
122rm -rf $RPM_BUILD_ROOT
123
124%{__make} install \
125 DESTDIR=$RPM_BUILD_ROOT
126
127%clean
128rm -rf $RPM_BUILD_ROOT
129
ec6b87a7
JB
130%post -p /sbin/ldconfig
131%postun -p /sbin/ldconfig
132
493fe0ac
JB
133%files
134%defattr(644,root,root,755)
9c5a6be5 135%doc AUTHORS ChangeLog* FAQS.html LICENSE.html NEWS.html README.html RELEASE.html TODO.html
75bfd5de 136%attr(755,root,root) %{_bindir}/rdfproc
ec6b87a7
JB
137%attr(755,root,root) %{_bindir}/redland-db-upgrade
138%attr(755,root,root) %{_libdir}/librdf.so.*.*.*
cea26c28
JB
139%dir %{_datadir}/redland
140%{_datadir}/redland/mysql-v*.ttl
75bfd5de 141%{_mandir}/man1/rdfproc.1*
9c3d57bf 142%{_mandir}/man1/redland-db-upgrade.1*
ec6b87a7
JB
143
144%files devel
145%defattr(644,root,root,755)
9c5a6be5 146%doc docs/{README.html,storage.html}
ec6b87a7
JB
147%attr(755,root,root) %{_bindir}/redland-config
148%attr(755,root,root) %{_libdir}/librdf.so
149%{_libdir}/librdf.la
150%{_includedir}/librdf.h
151%{_includedir}/rdf_*.h
152%{_includedir}/redland.h
841e524c 153%{_datadir}/redland/Redland.i
d04c2610 154%{_pkgconfigdir}/redland.pc
9c3d57bf 155%{_mandir}/man1/redland-config.1*
ec6b87a7 156%{_mandir}/man3/redland.3*
9c5a6be5 157%{_gtkdocdir}/redland
ec6b87a7
JB
158
159%files static
160%defattr(644,root,root,755)
161%{_libdir}/librdf.a
This page took 0.047458 seconds and 4 git commands to generate.