libraptor2/libraptor2.spec

166 lines
5.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: libraptor2
Version: 2.0.16
Release: 1mamba
Summary: An RDF Parser Toolkit
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://librdf.org/raptor/
Source: http://librdf.org/dist/source/raptor2-%{version}.tar.gz
Patch0: %{name}-2.0.4-fix_pkgconfig_includedir.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libicu-devel
BuildRequires: liblzma-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libyajl-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
#BuildRequires: libwww-devel
BuildRequires: libexpat-devel
BuildRequires: libcares-devel
BuildRequires: libssh2-devel
License: GPL
%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 -n rapper
Summary: An RDF syntax parsing and serializing utility
Group: System/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n rapper
An RDF syntax parsing and serializing utility based on raptor2 library.
%package apidocs
Summary: Raptor API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
Raptor API documentation.
%debug_package
%prep
%setup -q -n raptor2-%{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}/libraptor2.so.*
%doc AUTHORS COPYING COPYING.LIB
%files devel
%defattr(-,root,root)
%dir %{_includedir}/raptor2
%{_includedir}/raptor2/raptor.h
%{_includedir}/raptor2/raptor2.h
%{_libdir}/libraptor2.so
%{_libdir}/pkgconfig/raptor2.pc
%{_mandir}/man3/libraptor2.*
%doc ChangeLog NEWS README README.html
%files -n rapper
%defattr(-,root,root)
%{_bindir}/rapper
%{_mandir}/man1/rapper.*
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/raptor2
%changelog
* Thu Apr 06 2023 Automatic Build System <autodist@mambasoft.it> 2.0.16-1mamba
- automatic version update by autodist
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.15-2mamba
- rebuilt with debug package
* Wed Nov 26 2014 Automatic Build System <autodist@mambasoft.it> 2.0.15-1mamba
- automatic version update by autodist
* Sat Sep 20 2014 Automatic Build System <autodist@mambasoft.it> 2.0.14-1mamba
- automatic version update by autodist
* Sun Mar 02 2014 Automatic Build System <autodist@mambasoft.it> 2.0.13-1mamba
- automatic version update by autodist
* Sat Dec 14 2013 Automatic Build System <autodist@mambasoft.it> 2.0.12-1mamba
- automatic update by autodist
* Thu Aug 29 2013 Automatic Build System <autodist@mambasoft.it> 2.0.10-1mamba
- automatic update by autodist
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 2.0.9-1mamba
- automatic version update by autodist
* Mon Oct 15 2012 Automatic Build System <autodist@mambasoft.it> 2.0.8-1mamba
- automatic version update by autodist
* Mon Nov 14 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-3mamba
- removed previous pkgconfig patch to fix libreoffice build
* Sat Oct 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-2mamba
- added a patch to fix pkgconfig include directory in cflags
* Thu Aug 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-1mamba
- update to 2.0.4
* 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