libraptor/libraptor.spec

120 lines
4.2 KiB
RPMSpec

Name: libraptor
Version: 1.4.21
Release: 3mamba
Summary: An RDF Parser Toolkit
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://librdf.org/raptor/
Source: http://librdf.org/dist/source/raptor-%{version}.tar.gz
Patch0: %{name}-1.4.21-curl-7.21.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libcurl-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libwww-devel
BuildRequires: libexpat-devel
BuildRequires: libcares-devel
BuildRequires: libssh2-devel
BuildRequires: libgss-devel
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Raptor is a free software / Open Source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serialize the triples into a syntax.
The supported parsing syntaxes are RDF/XML, N-Triples, Turtle, RSS tag soup including Atom 0.3 and the serializing syntaxes are RDF/XML, N-Triples and RSS 1.0.
Raptor was designed to work closely with the Redland RDF library (RDF Parser Toolkit for Redland) but is entirely separate. It is a portable library that works across many POSIX systems (Unix, GNU/Linux, BSDs, OSX, cygwin, win32). Raptor has no memory leaks and is fast.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Raptor is a free software / Open Source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serialize the triples into a syntax.
The supported parsing syntaxes are RDF/XML, N-Triples, Turtle, RSS tag soup including Atom 0.3 and the serializing syntaxes are RDF/XML, N-Triples and RSS 1.0.
Raptor was designed to work closely with the Redland RDF library (RDF Parser Toolkit for Redland) but is entirely separate. It is a portable library that works across many POSIX systems (Unix, GNU/Linux, BSDs, OSX, cygwin, win32). Raptor has no memory leaks and is fast.
This package contains static libraries and header files need for development.
%package apidocs
Summary: Raptor API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
Raptor API documentation.
%prep
%setup -q -n raptor-%{version}
%patch0 -p1
%build
%configure --disable-static --with-pic
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libraptor.so.*
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README README.html
%files devel
%defattr(-,root,root)
%{_bindir}/raptor-config
%{_bindir}/rapper
%{_includedir}/raptor.h
%{_libdir}/pkgconfig/raptor.pc
%{_libdir}/libraptor.so
%{_libdir}/libraptor.la
%{_mandir}/man1/rapper.*
%{_mandir}/man1/raptor-config.*
%{_mandir}/man3/libraptor.*
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/raptor
%changelog
* Wed Nov 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.21-3mamba
- rebuilt with recent curl (added patch) and added build requirement for libgss-devel
* Tue Jun 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.21-2mamba
- rebuilt to add pkgconfig provides
* Sat Apr 17 2010 Automatic Build System <autodist@mambasoft.it> 1.4.21-1mamba
- automatic update by autodist
* Fri Jan 15 2010 Automatic Build System <autodist@mambasoft.it> 1.4.20-1mamba
- automatic update by autodist
* Tue Jul 21 2009 Automatic Build System <autodist@mambasoft.it> 1.4.19-1mamba
- automatic update by autodist
* Thu Aug 28 2008 Aleph0 <aleph0@openmamba.org> 1.4.18-1mamba
- update to 1.4.18
* Fri May 30 2008 Aleph0 <aleph0@openmamba.org> 1.4.17-1mamba
- update to 1.4.17
* Tue Oct 30 2007 Aleph0 <aleph0@openmamba.org> 1.4.16-1mamba
- update to 1.4.16
- new package apidocs
* Sat Feb 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-1qilnx
- package created by autospec