1 Summary: Raptor RDF Parser Toolkit
2 Summary(pl.UTF-8): Raptor - zestaw narzędzi do analizy RDF
4 # the real name is raptor2, but it follows libraptor (named as such because raptor was already occupied)
8 License: LGPL v2.1+ or GPL v2+ or Apache v2.0+
10 Source0: http://download.librdf.org/source/%{rname}-%{version}.tar.gz
11 # Source0-md5: d3e0b43866197a5367b781b25510f728
12 URL: http://librdf.org/raptor/
13 BuildRequires: autoconf >= 2.62
14 BuildRequires: automake >= 1:1.11
15 # WWW library can be one of: curl(default),xml,libfetch,none
16 BuildRequires: curl-devel >= 7.12.0
17 BuildRequires: gtk-doc-automake >= 1.3
18 BuildRequires: libtool >= 2:2
19 BuildRequires: libxml2-devel >= 1:2.6.8
20 BuildRequires: libxslt-devel >= 1.0.18
21 BuildRequires: pkgconfig
22 BuildRequires: rpmbuild(macros) >= 1.98
23 BuildRequires: yajl-devel
24 Requires: curl-libs >= 7.12.0
25 Requires: libxml2 >= 1:2.6.8
26 Requires: libxslt >= 1.0.18
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Raptor is the RDF Parser Toolkit for Redland written in C consisting
31 of two parsers for the RDF/XML and N-Triples syntaxes for RDF. Raptor
32 is designed to work efficiently when used with Redland but is entirely
35 %description -l pl.UTF-8
36 Raptor to zestaw narzędzi do analizy RDF dla Redland napisany w C,
37 składający się z dwóch analizatorów dla składni RDF/XML i N-Triplets
38 dla RDF. Raptor został zaprojektowany, by pracować wydajnie, jeśli
39 jest używany z Redland, ale jest całkowicie oddzielny.
42 Summary: libraptor2 library header files
43 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libraptor2
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
46 Requires: curl-devel >= 7.12.0
47 Requires: libxml2-devel >= 1:2.6.8
48 Requires: libxslt-devel >= 1.0.18
52 libraptor2 library header files.
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki libraptor2.
58 Summary: Static libraptor2 library
59 Summary(pl.UTF-8): Statyczna biblioteka libraptor2
60 Group: Development/Libraries
61 Requires: %{name}-devel = %{version}-%{release}
64 Static libraptor2 library.
66 %description static -l pl.UTF-8
67 Statyczna biblioteka libraptor2.
70 Summary: libraptor2 API documentation
71 Summary(pl.UTF-8): Dokumentacja API biblioteki libraptor2
73 Requires: gtk-doc-common
76 libraptor2 API documentation.
78 %description apidocs -l pl.UTF-8
79 Dokumentacja API biblioteki libraptor2.
82 Summary: Raptor RDF parser test program
83 Summary(pl.UTF-8): Testowy program parsera Raptor RDF
85 Requires: %{name} = %{version}-%{release}
86 Obsoletes: libraptor-rapper < 2.0.0
87 Obsoletes: redland-rapper
90 Raptor RDF parser test program.
92 %description rapper -l pl.UTF-8
93 Testowy program parsera Raptor RDF.
96 %setup -q -n %{rname}-%{version}
104 # avoid using parsedate from libinn, use curl_getdate instead
106 ac_cv_header_libinn_h=no \
108 --with-html-dir=%{_gtkdocdir}
112 rm -rf $RPM_BUILD_ROOT
115 DESTDIR=$RPM_BUILD_ROOT
118 rm -rf $RPM_BUILD_ROOT
120 %post -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
124 %defattr(644,root,root,755)
125 %doc AUTHORS ChangeLog LICENSE.txt NEWS NOTICE README RELEASE.html UPGRADING.html
126 %attr(755,root,root) %{_libdir}/libraptor2.so.*.*.*
127 %attr(755,root,root) %ghost %{_libdir}/libraptor2.so.0
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/libraptor2.so
132 %{_libdir}/libraptor2.la
133 %{_includedir}/raptor2
134 %{_pkgconfigdir}/raptor2.pc
135 %{_mandir}/man3/libraptor2.3*
138 %defattr(644,root,root,755)
139 %{_libdir}/libraptor2.a
142 %defattr(644,root,root,755)
143 %{_gtkdocdir}/raptor2
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_bindir}/rapper
148 %{_mandir}/man1/rapper.1*