source: projects/specs/trunk/r/rasqal/rasqal-vl.spec @ 5162

Revision 5162, 3.9 KB checked in by inagaki, 13 years ago (diff)

update: yajl, raptor2, rasqal

Line 
1Name:      rasqal
2Summary:   RDF Query Library
3Version:   0.9.28
4Release:   1%{?_dist_release}
5
6Group:     System Environment/Libraries
7License:   LGPLv2+ or ASL 2.0
8URL:       http://librdf.org/rasqal/
9
10Source:    http://download.librdf.org/source/%{name}-%{version}.tar.gz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: libxml2-devel
14BuildRequires: mpfr-devel
15BuildRequires: pcre-devel
16BuildRequires: raptor2-devel
17# for the testsuite
18BuildRequires: perl-XML-DOM
19
20%description
21Rasqal is a library providing full support for querying Resource
22Description Framework (RDF) including parsing query syntaxes, constructing
23the queries, executing them and returning result formats.  It currently
24handles the RDF Data Query Language (RDQL) and SPARQL Query language.
25
26%package devel
27Summary: Libraries, includes etc to develop with the Rasqal RDF query library
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30Requires: raptor2-devel
31
32%description devel
33Libraries, 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"
40sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
41%endif
42
43%build
44%configure --enable-release --enable-silent-rules --disable-static
45
46make %{?_smp_mflags}
47
48%install
49[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
50
51make install DESTDIR=$RPM_BUILD_ROOT
52
53# unpackaged files
54rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
55
56%check
57if [ -x %{_bindir}/rapper ]; then
58%ifarch ppc64 s390x
59make -k check ||:
60%else
61make -k check
62%endif
63else
64echo "WARNING: %{_bindir}/rapper not present in buildroot, 'make check' skipped"
65fi
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
Note: See TracBrowser for help on using the repository browser.