]> git.pld-linux.org Git - packages/libraptor2.git/blob - libraptor2.spec
- updated to 2.0.14
[packages/libraptor2.git] / libraptor2.spec
1 Summary:        Raptor RDF Parser Toolkit
2 Summary(pl.UTF-8):      Raptor - zestaw narzędzi do analizy RDF
3 Name:           libraptor2
4 # the real name is raptor2, but it follows libraptor (named as such because raptor was already occupied)
5 %define rname   raptor2
6 Version:        2.0.14
7 Release:        1
8 License:        LGPL v2.1+ or GPL v2+ or Apache v2.0+
9 Group:          Libraries
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)
28
29 %description
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
33 separate.
34
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.
40
41 %package devel
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
49 Requires:       yajl-devel
50
51 %description devel
52 libraptor2 library header files.
53
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki libraptor2.
56
57 %package static
58 Summary:        Static libraptor2 library
59 Summary(pl.UTF-8):      Statyczna biblioteka libraptor2
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static libraptor2 library.
65
66 %description static -l pl.UTF-8
67 Statyczna biblioteka libraptor2.
68
69 %package apidocs
70 Summary:        libraptor2 API documentation
71 Summary(pl.UTF-8):      Dokumentacja API biblioteki libraptor2
72 Group:          Documentation
73 Requires:       gtk-doc-common
74
75 %description apidocs
76 libraptor2 API documentation.
77
78 %description apidocs -l pl.UTF-8
79 Dokumentacja API biblioteki libraptor2.
80
81 %package rapper
82 Summary:        Raptor RDF parser test program
83 Summary(pl.UTF-8):      Testowy program parsera Raptor RDF
84 Group:          Applications
85 Requires:       %{name} = %{version}-%{release}
86 Obsoletes:      libraptor-rapper < 2.0.0
87 Obsoletes:      redland-rapper
88
89 %description rapper
90 Raptor RDF parser test program.
91
92 %description rapper -l pl.UTF-8
93 Testowy program parsera Raptor RDF.
94
95 %prep
96 %setup -q -n %{rname}-%{version}
97
98 %build
99 %{__libtoolize}
100 %{__aclocal}
101 %{__autoconf}
102 %{__autoheader}
103 %{__automake}
104 # avoid using parsedate from libinn, use curl_getdate instead
105 %configure \
106         ac_cv_header_libinn_h=no \
107         --enable-release \
108         --with-html-dir=%{_gtkdocdir}
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %post   -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
122
123 %files
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
128
129 %files devel
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*
136
137 %files static
138 %defattr(644,root,root,755)
139 %{_libdir}/libraptor2.a
140
141 %files apidocs
142 %defattr(644,root,root,755)
143 %{_gtkdocdir}/raptor2
144
145 %files rapper
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_bindir}/rapper
148 %{_mandir}/man1/rapper.1*
This page took 0.099516 seconds and 3 git commands to generate.