raptor/raptor.spec

221 lines
7.2 KiB
RPMSpec

#
# spec file for package raptor (Version 1.4.18)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: raptor
BuildRequires: curl-devel gtkdoc libxml2-devel libxslt-devel pkg-config
Summary: Raptor RDF Parser Toolkit
Version: 1.4.18
Release: 1
License: The Apache Software License
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Url: http://www.redland.opensource.ac.uk/raptor/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Raptor is the RDF Parser Toolkit for Redland that provides a set of
standalone RDF parsers, generating triples from RDF/XML or N-Triples.
Authors:
--------
Dave Beckett <dave@dajobe.org>
%package -n libraptor1
License: LGPL v2.1 or later; The Apache Software License
Summary: Raptor RDF Parser Toolkit
Group: System/Libraries
%description -n libraptor1
Raptor is the RDF Parser Toolkit for Redland that provides a set of
standalone RDF parsers, generating triples from RDF/XML or N-Triples.
Authors:
--------
Dave Beckett <dave@dajobe.org>
%package -n libraptor-devel
License: LGPL v2.1 or later; The Apache Software License
Summary: Development package for the raptor library
Group: Development/Libraries/C and C++
Requires: libraptor1 = %{version} glibc-devel
Provides: raptor-devel = %{version}
Obsoletes: raptor-devel < %{version}
%description -n libraptor-devel
This package contains the files needed to compile programs that use the
raptor library.
Authors:
--------
Dave Beckett <dave@dajobe.org>
%prep
%setup -q
%build
autoreconf -fiv
%configure --disable-static --with-pic --with-html-dir=%{_docdir}
%{__make} %{?jobs:-j%jobs}
%install
%{__make} DESTDIR="%{buildroot}" install
mv %{buildroot}%{_docdir}/raptor %{buildroot}%{_docdir}/raptor-devel
#causes some ugly dependency bloat..
%{__rm} -f %{buildroot}%{_libdir}/libraptor.la
%check
export MALLOC_CHECK_=2
%{__make} check
unset MALLOC_CHECK_
%post -n libraptor1 -p /sbin/ldconfig
%postun -n libraptor1 -p /sbin/ldconfig
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
%{_bindir}/rapper
%{_mandir}/man?/*
%files -n libraptor-devel
%defattr(-,root,root)
%doc %{_docdir}/raptor-devel
%{_libdir}/lib*.so
%{_includedir}/*
%{_bindir}/*-config
%{_libdir}/pkgconfig/*.pc
%files -n libraptor1
%defattr(-,root,root)
%{_libdir}/libraptor.so.1*
%changelog
* Fri Jul 25 2008 dmueller@suse.de
- update to 1.4.18:
Added an RDFa parser using an embedded version of librdfa by Manu
Sporny of Digital Bazaar.
Added an Atom 1.0 (RFC 4287) serializer with several output parameters.
Improved RSS 1.0 serializer functionality and resilience.
Added new API methods for qname, serializer, sequence and XML writer
classes.
Many other fixes and resilience improvements.
Fixed reported issues: 0000186 and 0000255.
* Sun Apr 06 2008 crrodriguez@suse.de
- update to version 1.4.17
* Added two new JSON serializers: resource-centric 'json'
(Talis RDF/JSON) and triple-centric 'json-triples'
* Added a new public XML SAX2 API class
* Added a new error handling structure
* Made the I/O Stream class support reading
* Added several new API methods.
* Made several fixes, portability and resilience improvements.
* Fixed reported issues: 0000252 and 0000245.
* Wed Dec 19 2007 crrodriguez@suse.de
- missing pkg-config in buildrequires
* Sun Oct 28 2007 stbinner@suse.de
- update to version 1.4.16:
* 100%% support for the GRDDL W3C Recommendation of 2007-09-11
* Turtle parser and serializer were updated to support @base
* Turtle and RDF/XML serializers had performance improvements
for large graphs.
* Added a TRiG Parser based on Turtle with named graph support.
* Several other API changes, fixed and improvements were made.
* Many other fixes and improvements.
* Tue Aug 07 2007 crrodriguez@suse.de
- as per http://lists.opensuse.org/opensuse-packaging/2007-07/msg00049.html
taking manteniance of this package
- use system libcurl for web access
- use libxslt as well (adds grdd parser support)
- remove nasty la file that causes significant bloat
- Fix build and devel package dependencies (raptor.h only requires glibc-devel)
- remove static libraries
- run ldconfig correctly
- run make check on rpm check section.
* Fri May 04 2007 dmueller@suse.de
- libraptor -> libraptor1
* Fri May 04 2007 lrupp@suse.de
- libraptor1-devel -> libraptor-devel
* Thu May 03 2007 lrupp@suse.de
- add Provides/Obsoletes: raptor-devel
* Wed May 02 2007 wstephenson@suse.de
- updated to version 1.4.15:
* Mostly pass GRDDL W3C Working Draft 2 March 2007 parser test suite
* Turtle parser was changed to accept the N3 mime type text/rdf+n3
at low Q(quality) so it might work for N3 that is the RDF subset.
* Changed the RSS Tag Soup parser and RSS 1.0 serializer to stop
sharing use of the declared namespaces so that when using both
at the same time, there is no double-free of the same objects.
* Correct the content: namespace URI in the RSS parser and serializers.
* rapper gains a -t/--trace option to show URIs traversed.
* raptor_uri_resolve_uri_reference() buffer overrun fixed
* Enhanced XML error message reporting
- version 1.4.14:
* Added a Turtle Terse RDF Triple Language serialiser by Dave Robillard
based on the existing RDF/XML-Abbrev serialiser.
* Added a GraphViz DOT format serialiser by Evan Nemerson.
* The GRDDL parser now does namespace and profile URI recursion and
has other improvements and fixes.
* The libxml minimum version is now 2.6.8
- version 1.4.13:
* Prevent losing memory for a raptor_xml_writer when a serializer
is reused several times.
* Fixed Issue#0000134: Check for equal scheme and authority during
construction of relative URIs from two absolute URIs, from the
Redland Issue Tracker.
* Thu Oct 12 2006 tiwai@suse.de
- updated to version 1.4.12:
* Make serialization order compatible with 1.4.10
* Added raptor_get_feature_count()
* Added raptor_www_set_uri_filter()
* Fixed raptor_namespaces_qname_from_uri to be public
* Fix misc bugs
* Wed Aug 23 2006 tiwai@suse.de
- updated to version 1.4.10:
* Fixed crash with RSS Tag Soup parser generating triples too late
* Fixed a crash with the RDF/XML parser
* Parsers no longer generate any triple parts of type
RAPTOR_IDENTIFIER_TYPE_ORDINAL
- remove -fno-strict-aliasing.
* Mon May 15 2006 tiwai@suse.de
- updated to version 1.4.9.
* new tutorial documents
* fixes for 64bit systems
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 21 2005 tiwai@suse.de
- updated to version 1.4.4.
* Thu Aug 05 2004 tiwai@suse.de
- updated to version 1.3.2.
* Thu Feb 26 2004 tiwai@suse.de
- updated to version 1.2.0.
* Tue Jan 13 2004 tiwai@suse.de
- build as non-root.
* Fri Jan 09 2004 tiwai@suse.de
- updated to version 1.1.0.
* Mon Aug 18 2003 tiwai@suse.de
- fixed the invalid use of va_list.
* Fri Jun 06 2003 tiwai@suse.de
- updated to version 0.9.10.
* Wed Apr 02 2003 tiwai@suse.de
- initial version: 0.9.9.