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

Revision 4620, 3.7 KB checked in by inagaki, 13 years ago (diff)

NEW: raptor2, yajl
update: akonadi, raptor, rasqal, redland, soprano

RevLine 
[1850]1Name:      rasqal
[4620]2Summary:   RDF Query Library
3Version:   0.9.26
[521]4Release:   1%{?_dist_release}
[1850]5
6Group:     System Environment/Libraries
[4620]7License:   LGPLv2+ or ASL 2.0
[1850]8URL:       http://librdf.org/rasqal/
9
[521]10Source:    http://download.librdf.org/source/%{name}-%{version}.tar.gz
[1850]11
[521]12BuildRoot: %{_tmppath}/%{name}-%{version}-root
[575]13BuildRequires: libxml2-devel
14BuildRequires: mpfr-devel
[4620]15BuildRequires: pcre-devel
16BuildRequires: raptor2-devel
17# for the testsuite
18BuildRequires: perl-XML-DOM
[521]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
[4620]29Requires: %{name} = %{version}-%{release}
30Requires: raptor2-devel
[521]31
32%description devel
33Libraries, includes etc to develop with the Rasqal RDF query language library.
34
35%prep
36%setup -q
37
[4620]38# hack to nuke rpaths
39%if "%{_libdir}" != "/usr/lib"
40sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
41%endif
42
[521]43%build
[4620]44%configure --enable-release --enable-silent-rules --disable-static
[521]45
[4620]46make %{?_smp_mflags}
[521]47
48%install
49[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
50
[4620]51make install DESTDIR=$RPM_BUILD_ROOT
[521]52
[4620]53# unpackaged files
[521]54rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
55
[4620]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
[521]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
[4620]77%doc LICENSE-2.0.txt NOTICE
[521]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*
[4620]92%doc %{_datadir}/gtk-doc/html
[521]93
94
95%changelog
[4620]96* Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.26-1
97- new upstream release
98
[1850]99* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.20-1
100- new upstream release
101- rebuilt with rpm-4.8.1
102
[575]103* Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.19-1
104- new upstream release
105
[521]106* Sun Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.17-1
107- new upstream release
108- built with new toolchain
109
110* Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-1
111- new upstream release
112
113* Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-1
114- fix release
115- drop .a
116
117* Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl2
118- drop .la
119
120* Wed Dec 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.15-0vl1
121- new upstream release
122
123* Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.14-0vl1
124- initial release for VineSeed
125
126* Wed Aug 11 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
127- Update Source:
128- Use %%makeinstall
129
130* Wed Aug 10 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
131- Use %%configure.
132
133* Fri Jul 28 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
134- Updated for gtk-doc locations
135
136* Fri Oct 22 2004 <Dave.Beckett@bristol.ac.uk>
137- License now LGPL/Apache 2
138- Added LICENSE-2.0.txt and NOTICE
139
140* Wed May 5 2004 <Dave.Beckett@bristol.ac.uk>
141- Ship roqet and roqet.1
142
143* Sat May 1 2004 <Dave.Beckett@bristol.ac.uk>
144- Requires raptor 1.3.0
145
146* Mon Feb 24 2004 <Dave.Beckett@bristol.ac.uk>
147- Requires raptor
148
149* Mon Aug 11 2003 <Dave.Beckett@bristol.ac.uk>
150- Initial packaging
Note: See TracBrowser for help on using the repository browser.