1 | Name: rasqal |
---|
2 | Summary: RDF Query Library |
---|
3 | Version: 0.9.32 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Group: System Environment/Libraries |
---|
7 | License: LGPLv2+ or ASL 2.0 |
---|
8 | URL: http://librdf.org/rasqal/ |
---|
9 | |
---|
10 | Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: libxml2-devel |
---|
14 | BuildRequires: mpfr-devel |
---|
15 | BuildRequires: libuuid-devel |
---|
16 | BuildRequires: libgcrypt-devel |
---|
17 | BuildRequires: raptor2-devel >= 2.0.7 |
---|
18 | |
---|
19 | %description |
---|
20 | Rasqal is a free software / Open Source C library that handles Resource |
---|
21 | Description Framework (RDF) query language syntaxes, query construction |
---|
22 | and execution of queries returning results as bindings, boolean, RDF |
---|
23 | graphs/triples or syntaxes. The supported query languages are SPARQL |
---|
24 | Query 1.0, SPARQL Query 1.1, SPARQL Update 1.1 (no executing) and the |
---|
25 | Experimental SPARQL extensions (LAQRS). Rasqal can write binding query |
---|
26 | results in the SPARQL XML, SPARQL JSON, CSV, TSV, HTML, ASCII tables, |
---|
27 | RDF/XML and Turtle / N3 and read them in SPARQL XML, CSV, TSV, RDF/XML |
---|
28 | and Turtle / N3. |
---|
29 | |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Libraries, includes etc to develop with the Rasqal RDF query library |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | Requires: raptor2-devel >= 2.0.7 |
---|
36 | |
---|
37 | %description devel |
---|
38 | Libraries, includes etc to develop with the Rasqal RDF query language library. |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | |
---|
43 | # hack to nuke rpaths |
---|
44 | %if "%{_libdir}" != "/usr/lib" |
---|
45 | sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure |
---|
46 | %endif |
---|
47 | |
---|
48 | %build |
---|
49 | %configure --enable-release --enable-silent-rules --disable-static |
---|
50 | |
---|
51 | make %{?_smp_mflags} |
---|
52 | |
---|
53 | %install |
---|
54 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
57 | |
---|
58 | # unpackaged files |
---|
59 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
60 | |
---|
61 | %check |
---|
62 | if [ -x %{_bindir}/rapper ]; then |
---|
63 | %ifarch ppc64 s390x |
---|
64 | make -k check ||: |
---|
65 | %else |
---|
66 | make -k check |
---|
67 | %endif |
---|
68 | else |
---|
69 | echo "WARNING: %{_bindir}/rapper not present in buildroot, 'make check' skipped" |
---|
70 | fi |
---|
71 | |
---|
72 | %clean |
---|
73 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
74 | |
---|
75 | %post -p /sbin/ldconfig |
---|
76 | |
---|
77 | %postun -p /sbin/ldconfig |
---|
78 | |
---|
79 | %files |
---|
80 | %defattr(-, root, root) |
---|
81 | %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README |
---|
82 | %doc LICENSE-2.0.txt NOTICE |
---|
83 | %doc *.html |
---|
84 | %{_libdir}/librasqal*.so.* |
---|
85 | %{_bindir}/roqet |
---|
86 | %{_mandir}/man1/roqet.1* |
---|
87 | %{_mandir}/man3/librasqal.3* |
---|
88 | |
---|
89 | %files devel |
---|
90 | %defattr(-, root, root) |
---|
91 | %doc docs/README.html |
---|
92 | %{_bindir}/rasqal-config |
---|
93 | %{_libdir}/librasqal*.so |
---|
94 | %{_libdir}/pkgconfig/rasqal.pc |
---|
95 | %{_includedir}/* |
---|
96 | %{_mandir}/man1/rasqal-config.1* |
---|
97 | %doc %{_datadir}/gtk-doc/html |
---|
98 | |
---|
99 | |
---|
100 | %changelog |
---|
101 | * Fri Sep 12 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.32-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Wed Jun 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.30-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.29-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.28-1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Fri Nov 04 2011 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.26-2 |
---|
114 | - rebuilt with mpfr-3.1.0 |
---|
115 | |
---|
116 | * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.26-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.20-1 |
---|
120 | - new upstream release |
---|
121 | - rebuilt with rpm-4.8.1 |
---|
122 | |
---|
123 | * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.19-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.17-1 |
---|
127 | - new upstream release |
---|
128 | - built with new toolchain |
---|
129 | |
---|
130 | * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-1 |
---|
134 | - fix release |
---|
135 | - drop .a |
---|
136 | |
---|
137 | * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl2 |
---|
138 | - drop .la |
---|
139 | |
---|
140 | * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl1 |
---|
141 | - new upstream release |
---|
142 | |
---|
143 | * Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.14-0vl1 |
---|
144 | - initial release for VineSeed |
---|
145 | |
---|
146 | * Thu Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
147 | - Update Source: |
---|
148 | - Use %%makeinstall |
---|
149 | |
---|
150 | * Wed Aug 10 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
151 | - Use %%configure. |
---|
152 | |
---|
153 | * Thu Jul 28 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
154 | - Updated for gtk-doc locations |
---|
155 | |
---|
156 | * Fri Oct 22 2004 <Dave.Beckett@bristol.ac.uk> |
---|
157 | - License now LGPL/Apache 2 |
---|
158 | - Added LICENSE-2.0.txt and NOTICE |
---|
159 | |
---|
160 | * Wed May 5 2004 <Dave.Beckett@bristol.ac.uk> |
---|
161 | - Ship roqet and roqet.1 |
---|
162 | |
---|
163 | * Sat May 1 2004 <Dave.Beckett@bristol.ac.uk> |
---|
164 | - Requires raptor 1.3.0 |
---|
165 | |
---|
166 | * Tue Feb 24 2004 <Dave.Beckett@bristol.ac.uk> |
---|
167 | - Requires raptor |
---|
168 | |
---|
169 | * Mon Aug 11 2003 <Dave.Beckett@bristol.ac.uk> |
---|
170 | - Initial packaging |
---|