1 | Summary: Redland RDF Application Framework |
---|
2 | Name: redland |
---|
3 | Version: 1.0.10 |
---|
4 | Release: 6%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: LGPL/Apache 2 |
---|
8 | URL: http://librdf.org/ |
---|
9 | |
---|
10 | Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz |
---|
11 | |
---|
12 | Patch50: redland-1.0.10-pkgconfig_requires_private.patch |
---|
13 | Patch51: redland-1.0.10-no_undefined.patch |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: curl-devel |
---|
17 | BuildRequires: db4-devel |
---|
18 | BuildRequires: libxml2-devel >= 2.4.0 |
---|
19 | BuildRequires: raptor-devel >= 1.4.17 |
---|
20 | BuildRequires: rasqal-devel >= 0.9.16 |
---|
21 | BuildRequires: perl >= 5.8.0 |
---|
22 | BuildRequires: pkgconfig |
---|
23 | BuildRequires: libiodbc-devel |
---|
24 | Requires: raptor >= 1.4.17 |
---|
25 | Requires: rasqal >= 0.9.16 |
---|
26 | |
---|
27 | %description |
---|
28 | Redland is a library that provides a high-level interface for RDF |
---|
29 | (Resource Description Framework) implemented in an object-based API. |
---|
30 | It is modular and supports different RDF parsers, serializers, |
---|
31 | storage and query languages. Redland is designed for developers to |
---|
32 | provide RDF support in their applications as well as a core library |
---|
33 | for RDF developers to start with. |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Libraries and header files for programs that use Redland. |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: raptor-devel >= 1.4.17 |
---|
40 | Requires: rasqal-devel >= 0.9.16 |
---|
41 | |
---|
42 | %description devel |
---|
43 | Header files for development with Redland |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | |
---|
48 | %patch50 -p1 -b .pkgconfig_requires_private |
---|
49 | %patch51 -p1 -b .no_undefined |
---|
50 | |
---|
51 | # hack to nuke rpaths |
---|
52 | %if "%{_libdir}" != "/usr/lib" |
---|
53 | sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure |
---|
54 | %endif |
---|
55 | |
---|
56 | %build |
---|
57 | # Force use of default python even if 2.0 is present |
---|
58 | PYTHON=python |
---|
59 | export PYTHON |
---|
60 | |
---|
61 | %configure --enable-release \ |
---|
62 | --with-raptor=system \ |
---|
63 | --with-rasqal=system \ |
---|
64 | --with-threestore=no \ |
---|
65 | --with-mysql=no \ |
---|
66 | --with-sqlite=no \ |
---|
67 | --with-postgresql=no \ |
---|
68 | --disable-static |
---|
69 | |
---|
70 | %{__make} OPTIMIZE="$RPM_OPT_FLAGS" |
---|
71 | |
---|
72 | |
---|
73 | %install |
---|
74 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
75 | |
---|
76 | %makeinstall |
---|
77 | |
---|
78 | find $RPM_BUILD_ROOT -print | xargs chmod u+w |
---|
79 | |
---|
80 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
81 | rm -f $RPM_BUILD_ROOT%{_libdir}/redland/*.la |
---|
82 | |
---|
83 | %clean |
---|
84 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | %post -p /sbin/ldconfig |
---|
87 | |
---|
88 | %postun -p /sbin/ldconfig |
---|
89 | |
---|
90 | %files |
---|
91 | %defattr(-, root, root) |
---|
92 | %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README |
---|
93 | %doc LICENSE-2.0.txt NOTICE |
---|
94 | %doc *.html |
---|
95 | %{_libdir}/librdf*.so.* |
---|
96 | %dir %{_libdir}/redland |
---|
97 | %{_libdir}/redland/*.so |
---|
98 | %{_bindir}/rdfproc |
---|
99 | %{_bindir}/redland-db-upgrade |
---|
100 | %{_mandir}/man1/rdfproc.1* |
---|
101 | %{_mandir}/man1/redland-db-upgrade.1* |
---|
102 | %{_mandir}/man3/redland.3* |
---|
103 | |
---|
104 | %files devel |
---|
105 | %defattr(-, root, root) |
---|
106 | %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README |
---|
107 | %doc LICENSE-2.0.txt NOTICE |
---|
108 | %doc docs/README.html |
---|
109 | %doc %{_datadir}/gtk-doc/html |
---|
110 | %{_bindir}/redland-config |
---|
111 | %{_libdir}/librdf*.so |
---|
112 | %{_libdir}/pkgconfig/redland.pc |
---|
113 | %{_datadir}/%{name}/Redland.i |
---|
114 | %{_includedir}/redland.h |
---|
115 | %{_includedir}/librdf.h |
---|
116 | %{_includedir}/rdf_*.h |
---|
117 | %{_mandir}/man1/redland-config.1* |
---|
118 | |
---|
119 | %changelog |
---|
120 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-6 |
---|
121 | - rebuilt with rpm-4.8.1 |
---|
122 | |
---|
123 | * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-5 |
---|
124 | - BuildRequires: libiodbc-devel instead of unixODBC-devel |
---|
125 | |
---|
126 | * Thu Feb 11 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.10-4 |
---|
127 | - added Patch50 and 51 from FC |
---|
128 | * Mon Jan 04 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-3 |
---|
129 | - no_undefined patch |
---|
130 | * Sun Jan 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-2 |
---|
131 | - pkgconfig_requires_private patch |
---|
132 | |
---|
133 | * Thu Feb 11 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.10-3 |
---|
134 | - rebuilt with rasqal-0.9.17 on ppc |
---|
135 | |
---|
136 | * Sun Feb 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-2 |
---|
137 | - add BuildRequires: pkgconfig, unixODBC-devel |
---|
138 | - add Requires: unixODBC |
---|
139 | |
---|
140 | * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-1 |
---|
141 | - new upstream release |
---|
142 | - built with new toolchain, db4-4.8.26 |
---|
143 | |
---|
144 | * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Thu Oct 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-2 |
---|
148 | - redland-devel requires {raptor,rasqal}-devel instead of {rapter,rasqal} |
---|
149 | |
---|
150 | * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-1 |
---|
151 | - fix release |
---|
152 | - drop .a |
---|
153 | |
---|
154 | * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl1 |
---|
155 | - new upstream release |
---|
156 | - drop .la |
---|
157 | |
---|
158 | * Sun May 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.6-0vl1 |
---|
159 | - initial release for VineSeed |
---|
160 | - disable MySQL, postgresql and sqlite |
---|
161 | |
---|
162 | * Sat May 5 2007 Dave Beckett <dave@dajobe.org> |
---|
163 | - Add /usr/share/redland/mysql-v1.ttl and /usr/share/redland/mysql-v2.ttl |
---|
164 | |
---|
165 | * Wed Feb 15 2006 Dave Beckett <dave@dajobe.org> |
---|
166 | - Require db4-devel |
---|
167 | - Disable postgresql for now |
---|
168 | |
---|
169 | * Thu Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
170 | - Update Source: |
---|
171 | - Do not require python-devel at build time |
---|
172 | - Add sqlite-devel build requirement. |
---|
173 | - Use %%configure and %%makeinstall |
---|
174 | |
---|
175 | * Thu Jul 21 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
176 | - Updated for gtk-doc locations |
---|
177 | |
---|
178 | * Mon Nov 1 2004 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
179 | - License now LGPL/Apache 2 |
---|
180 | - Added LICENSE-2.0.txt and NOTICE |
---|
181 | |
---|
182 | * Mon Jul 19 2004 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
183 | - move perl, python packages into redland-bindings |
---|
184 | |
---|
185 | * Mon Jul 12 2004 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
186 | - put /usr/share/redland/Redland.i in redland-devel |
---|
187 | |
---|
188 | * Wed May 5 2004 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
189 | - require raptor 1.3.0 |
---|
190 | - require rasqal 0.2.0 |
---|
191 | |
---|
192 | * Fri Jan 30 2004 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
193 | - require raptor 1.2.0 |
---|
194 | - update for removal of python distutils |
---|
195 | - require python 2.2.0+ |
---|
196 | - require perl 5.8.0+ |
---|
197 | - build and require mysql |
---|
198 | - do not build and require threestore |
---|
199 | |
---|
200 | * Sun Jan 4 2004 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
201 | - added redland-python package |
---|
202 | - export some more docs |
---|
203 | |
---|
204 | * Mon Dec 15 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
205 | - require raptor 1.1.0 |
---|
206 | - require libxml 2.4.0 or newer |
---|
207 | - added pkgconfig redland.pc |
---|
208 | - split redland/devel package shared libs correctly |
---|
209 | |
---|
210 | * Mon Sep 8 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
211 | - require raptor 1.0.0 |
---|
212 | |
---|
213 | * Thu Sep 4 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
214 | - added rdfproc |
---|
215 | |
---|
216 | * Thu Aug 28 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
217 | - patches added post 0.9.13 to fix broken perl UNIVERSAL::isa |
---|
218 | |
---|
219 | * Thu Aug 21 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
220 | - Add redland-db-upgrade.1 |
---|
221 | - Removed duplicate perl CORE shared objects |
---|
222 | |
---|
223 | * Sun Aug 17 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
224 | - Updates for new perl module names. |
---|
225 | |
---|
226 | * Tue Apr 22 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
227 | - Updated for Redhat 9, RPM 4 |
---|
228 | |
---|
229 | * Fri Feb 12 2003 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
230 | - Updated for redland 0.9.12 |
---|
231 | |
---|
232 | * Fri Jan 4 2002 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
233 | - Updated for new Perl module names |
---|
234 | |
---|
235 | * Fri Sep 14 2001 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
236 | - Added shared libraries |
---|