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
|
|
|
#
|
2011-04-20 13:42:36 +02:00
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-06 08:06:25 +02:00
|
|
|
|
2007-01-16 00:34:57 +01:00
|
|
|
Name: raptor
|
2007-12-19 22:14:54 +01:00
|
|
|
BuildRequires: curl-devel gtkdoc libxml2-devel libxslt-devel pkg-config
|
2011-04-20 13:42:25 +02:00
|
|
|
Summary: RDF Parser Toolkit
|
2010-04-16 01:33:37 +02:00
|
|
|
Version: 1.4.21
|
2011-04-20 13:42:36 +02:00
|
|
|
Release: 7
|
2010-04-16 01:33:37 +02:00
|
|
|
License: LGPLv2.1+ ; ASLv..
|
2007-01-16 00:34:57 +01:00
|
|
|
Group: System/Libraries
|
2011-04-20 13:42:25 +02:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: baselibs.conf
|
2007-10-29 10:24:54 +01:00
|
|
|
Url: http://www.redland.opensource.ac.uk/raptor/
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2007-05-02 20:15:05 +02:00
|
|
|
Dave Beckett <dave@dajobe.org>
|
2007-01-16 00:34:57 +01:00
|
|
|
|
2007-05-04 17:09:39 +02:00
|
|
|
%package -n libraptor1
|
2009-12-30 00:29:30 +01:00
|
|
|
License: LGPLv2.1+ ; ASLv..
|
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
|
|
|
|
2007-05-04 17:09:39 +02:00
|
|
|
%description -n libraptor1
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dave Beckett <dave@dajobe.org>
|
|
|
|
|
2007-05-04 00:23:15 +02:00
|
|
|
%package -n libraptor-devel
|
2009-12-30 00:29:30 +01:00
|
|
|
License: LGPLv2.1+ ; ASLv..
|
2007-05-02 20:15:05 +02:00
|
|
|
Summary: Development package for the raptor library
|
|
|
|
Group: Development/Libraries/C and C++
|
2007-08-09 21:14:21 +02:00
|
|
|
Requires: libraptor1 = %{version} glibc-devel
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Dave Beckett <dave@dajobe.org>
|
|
|
|
|
2007-05-04 17:09:39 +02:00
|
|
|
%prep
|
2007-08-09 21:14:21 +02:00
|
|
|
%setup -q
|
2007-05-04 17:09:39 +02:00
|
|
|
|
|
|
|
%build
|
2008-04-06 08:06:25 +02:00
|
|
|
autoreconf -fiv
|
2007-08-09 21:14:21 +02:00
|
|
|
%configure --disable-static --with-pic --with-html-dir=%{_docdir}
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-05-04 17:09:39 +02:00
|
|
|
|
|
|
|
%install
|
2007-08-09 21:14:21 +02:00
|
|
|
%{__make} DESTDIR="%{buildroot}" install
|
|
|
|
mv %{buildroot}%{_docdir}/raptor %{buildroot}%{_docdir}/raptor-devel
|
|
|
|
#causes some ugly dependency bloat..
|
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/libraptor.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
|
2007-08-09 21:14:21 +02:00
|
|
|
%{__make} check
|
2008-04-06 08:06:25 +02:00
|
|
|
unset MALLOC_CHECK_
|
2007-05-04 17:09:39 +02:00
|
|
|
|
2007-08-09 21:14:21 +02:00
|
|
|
%post -n libraptor1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libraptor1 -p /sbin/ldconfig
|
2007-05-04 17:09:39 +02:00
|
|
|
|
|
|
|
%clean
|
2007-08-09 21:14:21 +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}/*
|
|
|
|
%{_bindir}/*-config
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2007-05-04 17:09:39 +02:00
|
|
|
%files -n libraptor1
|
2007-05-02 20:15:05 +02:00
|
|
|
%defattr(-,root,root)
|
2008-04-06 08:06:25 +02:00
|
|
|
%{_libdir}/libraptor.so.1*
|
2007-12-19 22:14:54 +01:00
|
|
|
|
2007-05-02 20:15:05 +02:00
|
|
|
%changelog
|