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

Revision 4620, 4.6 KB checked in by inagaki, 8 years ago (diff)

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

Line 
1Name:      raptor
2Summary:   RDF Parser Toolkit for Redland
3Version:   1.4.21
4Release:   3%{?_dist_release}
5
6License:   LGPLv2+ or ASL 2.0
7Group:     System Environment/Libraries
8URL:       http://librdf.org/raptor/
9
10Source:    http://download.librdf.org/source/%{name}-%{version}.tar.gz
11# Make the raptor-config file multilib friendly (RHBZ#477342)
12Patch0:    raptor-config-multilib.patch
13## upstream patches
14Patch100:  raptor-1.4.21-curl.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: curl-devel
18BuildRequires: libxml2-devel
19BuildRequires: libxslt-devel
20
21%description
22Raptor is the RDF Parser Toolkit for Redland that provides a set of
23Resource Description Framework (RDF) parsers and serializers,
24generating RDF triples from the following syntaxes: RDF/XML,
25N-Triples, Turtle, several XML RSS tag soup formats, Atom 0.3 and
26Atom 1.0 and serializing RDF triples to syntaxes: RDF/XML, RSS 1.0,
27Atom 1.0, N-Triples, Adobe XMP, Turtle and GraphViz DOT.
28
29%package devel
30Summary: Libraries, includes etc to develop with Raptor RDF parser library
31Group: Development/Libraries
32Requires: raptor = %{version}-%{release}
33
34%description devel
35Libraries, includes etc to develop with Raptor RDF parser and
36serializer library.
37
38%prep
39%setup -q
40%patch0 -p1 -b .multilib
41%patch100 -p1 -b .curl
42
43# Fix encoding
44iconv -f ISO-8859-1 -t UTF8 NEWS > NEWS.tmp
45touch -r NEWS NEWS.tmp
46mv -f NEWS.tmp NEWS
47
48# hack to nuke rpaths
49%if "%{_libdir}" != "/usr/lib"
50sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
51%endif
52
53%build
54%configure --enable-release --disable-static
55
56make %{?_smp_mflags}
57
58%install
59[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
60
61make install DESTDIR=$RPM_BUILD_ROOT
62rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
63
64# include %{_bindir}/rapper in raptor2
65rm -f  $RPM_BUILD_ROOT%{_bindir}/rapper
66rm -fv $RPM_BUILD_ROOT%{_mandir}/man1/rapper.1*
67
68
69%clean
70[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
71
72%post -p /sbin/ldconfig
73
74%postun -p /sbin/ldconfig
75
76%files
77%defattr(-, root, root)
78%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE-2.0.txt LICENSE.html
79%doc LICENSE.txt  NEWS NEWS.html NOTICE README README.html RELEASE.html
80%doc *.html
81#{_bindir}/rapper
82%{_libdir}/libraptor*.so.*
83#{_mandir}/man1/rapper.1*
84
85%files devel
86%defattr(-, root, root)
87%{_bindir}/raptor-config
88%{_libdir}/libraptor*.so
89%{_libdir}/pkgconfig/raptor.pc
90%{_includedir}/*
91%{_mandir}/man1/raptor-config.1*
92%{_mandir}/man3/libraptor.3*
93%doc %{_datadir}/gtk-doc/html/raptor/*
94
95%changelog
96* Thu Aug 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-3
97- omit rapper, include in raptor2 instead
98- upstream patch to fix build against newer libcurl
99
100* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-2
101- rebuilt with rpm-4.8.1
102
103* Sun Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-1
104- new upstream release
105- built with new toolchain
106
107* Thu Aug 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.19-1
108- new upstream release
109
110* Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.18-2
111- rebuild with openldap-2.4.11
112- add BR: openldap-devel
113
114* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.18-1
115- new upstream release
116
117* Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-1
118- fix release
119- drop .a
120
121* Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-0vl2
122- drop .la
123
124* Fri Oct 11 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-0vl1
125- new upstream release
126- add BuildPrereq: expat-devel
127
128* Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.15-0vl1
129- initial release for VineSeed
130
131* Fri Jan 5 2007  Dave Beckett <dave@dajobe.org>
132- Document Turtle and DOT serializers
133
134* Wed Feb 15 2006  Dave Beckett <dave@dajobe.org>
135- Add libxslt and libxslt-devel for GRDDL
136
137* Wed Dec 20 2005  Dave Beckett <dave@dajobe.org>
138- Update description of parsers and serializers.
139
140* Wed Nov 9 2005  Dave Beckett <dave@dajobe.org>
141- Add gtk-doc documentation
142
143* Wed Aug 11 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
144- Update Source:
145- Use %makeinstall
146
147* Wed Aug 10 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
148- Use %configure and %{_make}
149
150* Thu Sep 9 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
151- License now LGPL/Apache 2
152- Added LICENSE-2.0.txt and NOTICE
153
154* Tue May 11 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
155- Added RELEASE.html
156
157* Thu Apr 17 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
158- Added pkgconfig raptor.pc, raptor-config
159- Requires curl
160
161* Mon Jan 13 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
162- rdfdump now rapper
163
164* Fri Dec 20 2002 Dave Beckett <Dave.Beckett@bristol.ac.uk>
165- Updated to have two RPMs for raptor and raptor-devel.  Depend on
166  libxml2 as XML parser.
Note: See TracBrowser for help on using the repository browser.