Accepting request 85862 from X11:common:Factory

- Do not require gtk-doc to build (forwarded request 85855 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/85862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/raptor?expand=0&rev=24
This commit is contained in:
Lars Vogdt 2011-10-02 09:13:30 +00:00 committed by Git OBS Bridge
commit a8096cae0c
2 changed files with 19 additions and 23 deletions

View File

@ -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

View File

@ -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 <dave@dajobe.org>
%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 <dave@dajobe.org>
%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 <dave@dajobe.org>
%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)