Accepting request 85855 from home:elvigia:branches:X11:common:Factory
- Do not require gtk-doc to build OBS-URL: https://build.opensuse.org/request/show/85855 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/raptor?expand=0&rev=15
This commit is contained in:
parent
ae1f8c4bfa
commit
a91b7836eb
@ -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
|
Mon Sep 19 11:41:09 UTC 2011 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
37
raptor.spec
37
raptor.spec
@ -15,29 +15,27 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: raptor
|
Name: raptor
|
||||||
BuildRequires: curl-devel gtkdoc libxml2-devel libxslt-devel pkg-config
|
|
||||||
Summary: RDF Parser Toolkit
|
|
||||||
Version: 2.0.4
|
Version: 2.0.4
|
||||||
Release: 1
|
Release: 1
|
||||||
License: LGPLv2.1+ ; ASLv..
|
License: LGPLv2.1+ ; ASLv..
|
||||||
|
Summary: RDF Parser Toolkit
|
||||||
|
Url: http://www.redland.opensource.ac.uk/raptor/
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source0: %{name}2-%{version}.tar.bz2
|
Source0: %{name}2-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Raptor is the RDF Parser Toolkit for Redland that provides a set of
|
Raptor is the RDF Parser Toolkit for Redland that provides a set of
|
||||||
standalone RDF parsers, generating triples from RDF/XML or N-Triples.
|
standalone RDF parsers, generating triples from RDF/XML or N-Triples.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dave Beckett <dave@dajobe.org>
|
|
||||||
|
|
||||||
%package -n libraptor2-0
|
%package -n libraptor2-0
|
||||||
License: LGPLv2.1+ ; ASLv..
|
License: LGPLv2.1+ ; ASLv..
|
||||||
Summary: RDF Parser Toolkit
|
Summary: RDF Parser Toolkit
|
||||||
@ -47,15 +45,12 @@ Group: System/Libraries
|
|||||||
Raptor is the RDF Parser Toolkit for Redland that provides a set of
|
Raptor is the RDF Parser Toolkit for Redland that provides a set of
|
||||||
standalone RDF parsers, generating triples from RDF/XML or N-Triples.
|
standalone RDF parsers, generating triples from RDF/XML or N-Triples.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dave Beckett <dave@dajobe.org>
|
|
||||||
|
|
||||||
%package -n libraptor-devel
|
%package -n libraptor-devel
|
||||||
License: LGPLv2.1+ ; ASLv..
|
License: LGPLv2.1+ ; ASLv..
|
||||||
Summary: Development package for the raptor library
|
Summary: Development package for the raptor library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libraptor2-0 = %{version} glibc-devel
|
Requires: glibc-devel
|
||||||
|
Requires: libraptor2-0 = %{version}
|
||||||
Requires: raptor = %{version}
|
Requires: raptor = %{version}
|
||||||
Provides: raptor-devel = %{version}
|
Provides: raptor-devel = %{version}
|
||||||
Obsoletes: 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
|
This package contains the files needed to compile programs that use the
|
||||||
raptor library.
|
raptor library.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Dave Beckett <dave@dajobe.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}2-%{version}
|
%setup -q -n %{name}2-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-pic --with-html-dir=%{_docdir}
|
%configure --disable-gtk-doc --disable-static --with-pic --with-html-dir=%{_docdir}
|
||||||
%__make %{?_smp_flags}
|
make %{?_smp_flags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} DESTDIR="%{buildroot}" install
|
make DESTDIR=%{buildroot} install
|
||||||
mv %{buildroot}%{_docdir}/raptor %{buildroot}%{_docdir}/raptor-devel
|
mv %{buildroot}%{_docdir}/raptor %{buildroot}%{_docdir}/raptor-devel
|
||||||
#causes some ugly dependency bloat..
|
#causes some ugly dependency bloat..
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/libraptor2.la
|
rm -f %{buildroot}%{_libdir}/libraptor2.la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export MALLOC_CHECK_=2
|
export MALLOC_CHECK_=2
|
||||||
%{__make} check
|
make check
|
||||||
unset MALLOC_CHECK_
|
unset MALLOC_CHECK_
|
||||||
|
|
||||||
%post -n libraptor2-0 -p /sbin/ldconfig
|
%post -n libraptor2-0 -p /sbin/ldconfig
|
||||||
@ -91,7 +82,7 @@ unset MALLOC_CHECK_
|
|||||||
%postun -n libraptor2-0 -p /sbin/ldconfig
|
%postun -n libraptor2-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user