Name: raptor2 Summary: RDF Parser Toolkit for Redland Version: 2.0.10 Release: 1%{?_dist_release} License: GPLv2+ or LGPLv2+ or ASL 2.0 Group: System Environment/Libraries URL: http://librdf.org/raptor/ Source: http://download.librdf.org/source/raptor2-%{version}.tar.gz ## upstreamable patches # make docs not conflict with raptor(1), DOC_MODULE=raptor2 Patch50: raptor2-2.0.3-raptor2_doc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: curl-devel BuildRequires: gtk-doc BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: yajl-devel >= 2.0.0 # when /usr/bin/rappor moved here -- rex Conflicts: raptor < 1.4.21-3%{?_dist_release} %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. %package devel Summary: Development files for %{name} Summary(ja): %{name} の開発用ファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: curl-devel >= 7.12.0 Requires: libxml2-devel >= 2.6.8 %description devel %{summary}. %prep %setup -q #patch50 -p1 -b .raptor2_doc # hack to nuke rpaths %if "%{_libdir}" != "/usr/lib" sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure %endif %build %configure --disable-static --enable-release make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install ## unpackaged files rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la %check make check %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS ChangeLog NEWS README %doc COPYING* LICENSE.txt LICENSE-2.0.txt %{_libdir}/libraptor2.so.0* %{_bindir}/rapper %{_mandir}/man1/rapper* %files devel %doc UPGRADING.html %{_includedir}/raptor2/ %{_libdir}/libraptor2.so %{_libdir}/pkgconfig/raptor2.pc %{_mandir}/man3/libraptor2* %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html/ %{_datadir}/gtk-doc/html/raptor2/ %changelog * Sat Sep 07 2013 Yoji TOYODA 2.0.10-1 - new upstream release * Wed Jun 05 2013 Yoji TOYODA 2.0.9-1 - new upstream release * Sun Jul 29 2012 Yoji TOYODA 2.0.8-1 - new upstream release * Sun Nov 20 2011 Ryoichi INAGAKI 2.0.5-1 - new upstream release - added BR: libxml2-devel * Thu Aug 18 2011 Ryoichi INAGAKI 2.0.4-3 - Initial build for Vine Linux * Sun Jul 31 2011 Rex Dieter 2.0.4-2 - include rapper here * Fri Jul 29 2011 Rex Dieter 2.0.4-1 - 2.0.4 * Fri Jul 29 2011 Rex Dieter 2.0.3-3 - upstream patch to fix build against newer libcurl * Tue Jul 26 2011 Rex Dieter 2.0.3-2 - -devel: drop Group: tag - add lot's of %%doc's - License: GPLv2+ or LGPLv2+ or ASL 2.0 (or newer) * Sat Jul 23 2011 Rex Dieter 2.0.3-1 - first try