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