source: projects/specs/branches/6/r/raptor/raptor-vl.spec @ 6118

Revision 6118, 4.4 KB checked in by iwamoto, 12 years ago (diff)

raptor: fix CVE-2012-0037

Line 
1Name:      raptor
2Summary:   Raptor RDF Parser Toolkit for Redland
3Version:   1.4.21
4Release:   3%{?_dist_release}
5
6Group:     System Environment/Libraries
7License:   LGPL/Apache 2
8URL:       http://librdf.org/raptor/
9
10Source:    http://download.librdf.org/source/%{name}-%{version}.tar.gz
11Patch10:   raptor-1.4.21-write-byte.patch
12Patch100:  raptor-1.4.21-CVE-2012-0037.patch
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: libxml2-devel curl-devel libxslt-devel expat-devel
16BuildRequires: openldap-devel
17
18Vendor: Project Vine
19Distribution: Vine Linux
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%patch10 -p1 -b .write-byte
41%patch100 -p1 -b .CVE-2012-0037
42
43%build
44%configure --enable-release --disable-static
45
46%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
47
48%install
49[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
50
51install -d $RPM_BUILD_ROOT%{_mandir}/man1
52install -d $RPM_BUILD_ROOT%{_mandir}/man3
53
54%makeinstall
55
56rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
57
58%clean
59[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
60
61%post -p /sbin/ldconfig
62
63%postun -p /sbin/ldconfig
64
65%files
66%defattr(-, root, root)
67%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
68%doc LICENSE-2.0.txt NOTICE
69%doc *.html
70%doc %{_datadir}/gtk-doc/html/raptor/*
71%{_libdir}/libraptor*.so.*
72%{_bindir}/rapper
73%{_mandir}/man1/rapper.1*
74%{_mandir}/man3/libraptor.3*
75
76%files devel
77%defattr(-, root, root)
78%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
79%doc LICENSE-2.0.txt NOTICE
80%{_bindir}/raptor-config
81%{_libdir}/libraptor*.so
82%{_libdir}/pkgconfig/raptor.pc
83%{_includedir}/*
84%{_mandir}/man1/raptor-config.1*
85
86%changelog
87* Wed May  2 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.21-3
88- add patch10 fix write_bytes() factory return values (from deb)
89- add patch100 -p1 -b .CVE-2012-0037 (from deb)
90- add Vendor/Distri Tags
91
92* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-2
93- rebuilt with rpm-4.8.1
94
95* Sun Feb  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.21-1
96- new upstream release
97- built with new toolchain
98
99* Thu Aug 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.19-1
100- new upstream release
101
102* Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.18-2
103- rebuild with openldap-2.4.11
104- add BR: openldap-devel
105
106* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.18-1
107- new upstream release
108
109* Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-1
110- fix release
111- drop .a
112
113* Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-0vl2
114- drop .la
115
116* Fri Oct 11 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.16-0vl1
117- new upstream release
118- add BuildPrereq: expat-devel
119
120* Fri May 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.4.15-0vl1
121- initial release for VineSeed
122
123* Fri Jan 5 2007  Dave Beckett <dave@dajobe.org>
124- Document Turtle and DOT serializers
125
126* Wed Feb 15 2006  Dave Beckett <dave@dajobe.org>
127- Add libxslt and libxslt-devel for GRDDL
128
129* Wed Dec 20 2005  Dave Beckett <dave@dajobe.org>
130- Update description of parsers and serializers.
131
132* Wed Nov 9 2005  Dave Beckett <dave@dajobe.org>
133- Add gtk-doc documentation
134
135* Wed Aug 11 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
136- Update Source:
137- Use %makeinstall
138
139* Wed Aug 10 2005  Dave Beckett <dave.beckett@bristol.ac.uk>
140- Use %configure and %{_make}
141
142* Thu Sep 9 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
143- License now LGPL/Apache 2
144- Added LICENSE-2.0.txt and NOTICE
145
146* Tue May 11 2004 Dave Beckett <Dave.Beckett@bristol.ac.uk>
147- Added RELEASE.html
148
149* Thu Apr 17 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
150- Added pkgconfig raptor.pc, raptor-config
151- Requires curl
152
153* Mon Jan 13 2003 Dave Beckett <Dave.Beckett@bristol.ac.uk>
154- rdfdump now rapper
155
156* Fri Dec 20 2002 Dave Beckett <Dave.Beckett@bristol.ac.uk>
157- Updated to have two RPMs for raptor and raptor-devel.  Depend on
158  libxml2 as XML parser.
Note: See TracBrowser for help on using the repository browser.