1 | Name: rasqal |
---|
2 | Summary: RDF Query Library |
---|
3 | Version: 0.9.28 |
---|
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: pcre-devel |
---|
16 | BuildRequires: raptor2-devel |
---|
17 | # for the testsuite |
---|
18 | BuildRequires: perl-XML-DOM |
---|
19 | |
---|
20 | %description |
---|
21 | Rasqal is a library providing full support for querying Resource |
---|
22 | Description Framework (RDF) including parsing query syntaxes, constructing |
---|
23 | the queries, executing them and returning result formats. It currently |
---|
24 | handles the RDF Data Query Language (RDQL) and SPARQL Query language. |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Libraries, includes etc to develop with the Rasqal RDF query library |
---|
28 | Group: Development/Libraries |
---|
29 | Requires: %{name} = %{version}-%{release} |
---|
30 | Requires: raptor2-devel |
---|
31 | |
---|
32 | %description devel |
---|
33 | Libraries, includes etc to develop with the Rasqal RDF query language library. |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | # hack to nuke rpaths |
---|
39 | %if "%{_libdir}" != "/usr/lib" |
---|
40 | sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure |
---|
41 | %endif |
---|
42 | |
---|
43 | %build |
---|
44 | %configure --enable-release --enable-silent-rules --disable-static |
---|
45 | |
---|
46 | make %{?_smp_mflags} |
---|
47 | |
---|
48 | %install |
---|
49 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
50 | |
---|
51 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
52 | |
---|
53 | # unpackaged files |
---|
54 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
55 | |
---|
56 | %check |
---|
57 | if [ -x %{_bindir}/rapper ]; then |
---|
58 | %ifarch ppc64 s390x |
---|
59 | make -k check ||: |
---|
60 | %else |
---|
61 | make -k check |
---|
62 | %endif |
---|
63 | else |
---|
64 | echo "WARNING: %{_bindir}/rapper not present in buildroot, 'make check' skipped" |
---|
65 | fi |
---|
66 | |
---|
67 | %clean |
---|
68 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
69 | |
---|
70 | %post -p /sbin/ldconfig |
---|
71 | |
---|
72 | %postun -p /sbin/ldconfig |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-, root, root) |
---|
76 | %doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README |
---|
77 | %doc LICENSE-2.0.txt NOTICE |
---|
78 | %doc *.html |
---|
79 | %{_libdir}/librasqal*.so.* |
---|
80 | %{_bindir}/roqet |
---|
81 | %{_mandir}/man1/roqet.1* |
---|
82 | %{_mandir}/man3/librasqal.3* |
---|
83 | |
---|
84 | %files devel |
---|
85 | %defattr(-, root, root) |
---|
86 | %doc docs/README.html |
---|
87 | %{_bindir}/rasqal-config |
---|
88 | %{_libdir}/librasqal*.so |
---|
89 | %{_libdir}/pkgconfig/rasqal.pc |
---|
90 | %{_includedir}/* |
---|
91 | %{_mandir}/man1/rasqal-config.1* |
---|
92 | %doc %{_datadir}/gtk-doc/html |
---|
93 | |
---|
94 | |
---|
95 | %changelog |
---|
96 | * Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.28-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Fri Nov 04 2011 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.26-2 |
---|
100 | - rebuilt with mpfr-3.1.0 |
---|
101 | |
---|
102 | * Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.26-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.20-1 |
---|
106 | - new upstream release |
---|
107 | - rebuilt with rpm-4.8.1 |
---|
108 | |
---|
109 | * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.19-1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Sun Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.17-1 |
---|
113 | - new upstream release |
---|
114 | - built with new toolchain |
---|
115 | |
---|
116 | * Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-1 |
---|
120 | - fix release |
---|
121 | - drop .a |
---|
122 | |
---|
123 | * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl2 |
---|
124 | - drop .la |
---|
125 | |
---|
126 | * Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl1 |
---|
127 | - new upstream release |
---|
128 | |
---|
129 | * Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.14-0vl1 |
---|
130 | - initial release for VineSeed |
---|
131 | |
---|
132 | * Wed Aug 11 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
133 | - Update Source: |
---|
134 | - Use %%makeinstall |
---|
135 | |
---|
136 | * Wed Aug 10 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
137 | - Use %%configure. |
---|
138 | |
---|
139 | * Fri Jul 28 2005 Dave Beckett <dave.beckett@bristol.ac.uk> |
---|
140 | - Updated for gtk-doc locations |
---|
141 | |
---|
142 | * Fri Oct 22 2004 <Dave.Beckett@bristol.ac.uk> |
---|
143 | - License now LGPL/Apache 2 |
---|
144 | - Added LICENSE-2.0.txt and NOTICE |
---|
145 | |
---|
146 | * Wed May 5 2004 <Dave.Beckett@bristol.ac.uk> |
---|
147 | - Ship roqet and roqet.1 |
---|
148 | |
---|
149 | * Sat May 1 2004 <Dave.Beckett@bristol.ac.uk> |
---|
150 | - Requires raptor 1.3.0 |
---|
151 | |
---|
152 | * Mon Feb 24 2004 <Dave.Beckett@bristol.ac.uk> |
---|
153 | - Requires raptor |
---|
154 | |
---|
155 | * Mon Aug 11 2003 <Dave.Beckett@bristol.ac.uk> |
---|
156 | - Initial packaging |
---|