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