2007-01-16 00:34:57 +01:00
|
|
|
#
|
2011-04-20 13:42:36 +02:00
|
|
|
# spec file for package raptor
|
2007-01-16 00:34:57 +01:00
|
|
|
#
|
2012-04-06 19:19:20 +02:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:34:57 +01:00
|
|
|
#
|
2008-09-15 17:57:19 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:34:57 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-12-21 14:02:15 +01:00
|
|
|
|
2007-01-16 00:34:57 +01:00
|
|
|
Name: raptor
|
2012-07-02 21:47:21 +02:00
|
|
|
Version: 2.0.8
|
2011-12-21 13:46:06 +01:00
|
|
|
Release: 0
|
2011-10-01 08:38:00 +02:00
|
|
|
Summary: RDF Parser Toolkit
|
2011-12-21 13:46:06 +01:00
|
|
|
License: LGPL-2.1+ ; Apache-2.0
|
2007-01-16 00:34:57 +01:00
|
|
|
Group: System/Libraries
|
2011-12-21 13:46:06 +01:00
|
|
|
Url: http://www.redland.opensource.ac.uk/raptor/
|
2012-07-02 21:47:21 +02:00
|
|
|
Source0: %{name}2-%{version}.tar.gz
|
2011-04-20 13:42:25 +02:00
|
|
|
Source1: baselibs.conf
|
2011-12-21 13:46:06 +01:00
|
|
|
BuildRequires: autoconf
|
2011-10-01 08:38:00 +02:00
|
|
|
BuildRequires: curl-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2007-01-16 00:34:57 +01:00
|
|
|
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.
|
|
|
|
|
2011-09-19 14:06:38 +02:00
|
|
|
%package -n libraptor2-0
|
2011-04-20 13:42:25 +02:00
|
|
|
Summary: RDF Parser Toolkit
|
2007-05-02 20:15:05 +02:00
|
|
|
Group: System/Libraries
|
2007-01-16 00:34:57 +01:00
|
|
|
|
2011-09-19 14:06:38 +02:00
|
|
|
%description -n libraptor2-0
|
2007-05-02 20:15:05 +02:00
|
|
|
Raptor is the RDF Parser Toolkit for Redland that provides a set of
|
|
|
|
standalone RDF parsers, generating triples from RDF/XML or N-Triples.
|
|
|
|
|
2007-05-04 00:23:15 +02:00
|
|
|
%package -n libraptor-devel
|
2007-05-02 20:15:05 +02:00
|
|
|
Summary: Development package for the raptor library
|
|
|
|
Group: Development/Libraries/C and C++
|
2011-10-01 08:38:00 +02:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libraptor2-0 = %{version}
|
2008-09-15 17:57:19 +02:00
|
|
|
Requires: raptor = %{version}
|
2007-08-09 21:14:21 +02:00
|
|
|
Provides: raptor-devel = %{version}
|
|
|
|
Obsoletes: raptor-devel < %{version}
|
2007-05-02 20:15:05 +02:00
|
|
|
|
2007-05-04 00:23:15 +02:00
|
|
|
%description -n libraptor-devel
|
2007-05-02 20:15:05 +02:00
|
|
|
This package contains the files needed to compile programs that use the
|
|
|
|
raptor library.
|
|
|
|
|
2007-05-04 17:09:39 +02:00
|
|
|
%prep
|
2011-09-19 13:57:53 +02:00
|
|
|
%setup -q -n %{name}2-%{version}
|
2007-05-04 17:09:39 +02:00
|
|
|
|
|
|
|
%build
|
2011-10-01 08:38:00 +02:00
|
|
|
%configure --disable-gtk-doc --disable-static --with-pic --with-html-dir=%{_docdir}
|
|
|
|
make %{?_smp_flags}
|
2007-05-04 17:09:39 +02:00
|
|
|
|
|
|
|
%install
|
2011-10-01 08:38:00 +02:00
|
|
|
make DESTDIR=%{buildroot} install
|
2011-12-21 14:02:15 +01:00
|
|
|
mv %{buildroot}%{_docdir}/raptor2 %{buildroot}%{_docdir}/raptor-devel
|
2007-08-09 21:14:21 +02:00
|
|
|
#causes some ugly dependency bloat..
|
2011-10-01 08:38:00 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/libraptor2.la
|
2007-05-04 17:09:39 +02:00
|
|
|
|
2007-08-09 21:14:21 +02:00
|
|
|
%check
|
2008-04-06 08:06:25 +02:00
|
|
|
export MALLOC_CHECK_=2
|
2011-10-01 08:38:00 +02:00
|
|
|
make check
|
2008-04-06 08:06:25 +02:00
|
|
|
unset MALLOC_CHECK_
|
2007-05-04 17:09:39 +02:00
|
|
|
|
2011-09-19 14:06:38 +02:00
|
|
|
%post -n libraptor2-0 -p /sbin/ldconfig
|
2007-08-09 21:14:21 +02:00
|
|
|
|
2011-09-19 14:06:38 +02:00
|
|
|
%postun -n libraptor2-0 -p /sbin/ldconfig
|
2007-05-04 17:09:39 +02:00
|
|
|
|
|
|
|
%clean
|
2011-10-01 08:38:00 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-05-04 17:09:39 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING COPYING.LIB ChangeLog LICENSE.txt NEWS README
|
|
|
|
%{_bindir}/rapper
|
2008-04-06 08:06:25 +02:00
|
|
|
%{_mandir}/man?/*
|
2007-05-02 20:15:05 +02:00
|
|
|
|
2007-05-04 00:23:15 +02:00
|
|
|
%files -n libraptor-devel
|
2007-01-16 00:34:57 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/raptor-devel
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2011-09-19 14:06:38 +02:00
|
|
|
%files -n libraptor2-0
|
2007-05-02 20:15:05 +02:00
|
|
|
%defattr(-,root,root)
|
2011-09-19 14:14:08 +02:00
|
|
|
%{_libdir}/libraptor2.so.0*
|
2007-12-19 22:14:54 +01:00
|
|
|
|
2007-05-02 20:15:05 +02:00
|
|
|
%changelog
|