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