diff --git a/raptor.changes b/raptor.changes index 63209a2..d297dac 100644 --- a/raptor.changes +++ b/raptor.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 1 03:35:30 UTC 2011 - crrodriguez@opensuse.org + +- Do not require gtk-doc to build + ------------------------------------------------------------------- Mon Sep 19 11:41:09 UTC 2011 - tittiatcoke@gmail.com diff --git a/raptor.spec b/raptor.spec index bda18f7..22a156c 100644 --- a/raptor.spec +++ b/raptor.spec @@ -15,29 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: raptor -BuildRequires: curl-devel gtkdoc libxml2-devel libxslt-devel pkg-config -Summary: RDF Parser Toolkit Version: 2.0.4 Release: 1 License: LGPLv2.1+ ; ASLv.. +Summary: RDF Parser Toolkit +Url: http://www.redland.opensource.ac.uk/raptor/ Group: System/Libraries Source0: %{name}2-%{version}.tar.bz2 Source1: baselibs.conf -Url: http://www.redland.opensource.ac.uk/raptor/ +BuildRequires: curl-devel +BuildRequires: libxslt-devel +BuildRequires: pkg-config +BuildRequires: pkgconfig(libxml-2.0) 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: --------- - Dave Beckett - %package -n libraptor2-0 License: LGPLv2.1+ ; ASLv.. Summary: RDF Parser Toolkit @@ -47,15 +45,12 @@ Group: System/Libraries 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 - %package -n libraptor-devel License: LGPLv2.1+ ; ASLv.. Summary: Development package for the raptor library Group: Development/Libraries/C and C++ -Requires: libraptor2-0 = %{version} glibc-devel +Requires: glibc-devel +Requires: libraptor2-0 = %{version} Requires: raptor = %{version} Provides: raptor-devel = %{version} Obsoletes: raptor-devel < %{version} @@ -64,26 +59,22 @@ Obsoletes: raptor-devel < %{version} This package contains the files needed to compile programs that use the raptor library. -Authors: --------- - Dave Beckett - %prep %setup -q -n %{name}2-%{version} %build -%configure --disable-static --with-pic --with-html-dir=%{_docdir} -%__make %{?_smp_flags} +%configure --disable-gtk-doc --disable-static --with-pic --with-html-dir=%{_docdir} +make %{?_smp_flags} %install -%{__make} DESTDIR="%{buildroot}" install +make DESTDIR=%{buildroot} install mv %{buildroot}%{_docdir}/raptor %{buildroot}%{_docdir}/raptor-devel #causes some ugly dependency bloat.. -%{__rm} -f %{buildroot}%{_libdir}/libraptor2.la +rm -f %{buildroot}%{_libdir}/libraptor2.la %check export MALLOC_CHECK_=2 -%{__make} check +make check unset MALLOC_CHECK_ %post -n libraptor2-0 -p /sbin/ldconfig @@ -91,7 +82,7 @@ unset MALLOC_CHECK_ %postun -n libraptor2-0 -p /sbin/ldconfig %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} %files %defattr(-,root,root)