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