Redland
view release on metacpan or search on metacpan
redland-perl.spec view on Meta::CPAN
# -*- RPM-SPEC -*-
# Note that this is NOT a relocatable package
%define name redland-perl
%define version 1.0.5.4
%define release SNAP
%define prefix /usr
%define redland_version @REDLAND_VERSION@
# Installation directories for perl, python and ruby are host-specific
%define perl_sitearch %(eval "`perl -V:installsitearch`"; echo $installsitearch)
Summary: Redland RDF Application Framework API Bindings
Name: %{name}
Version: %{version}
Release: %{release}
Prefix: %{_prefix}
License: LGPL/Apache 2
Group: Development/Libraries
Source: http://download.librdf.org/source/%{name}-%{version}.tar.gz
URL: http://librdf.org/
BuildRoot: /tmp/%{name}-%{version}
BuildRequires: redland-devel >= %{redland_version}
BuildRequires: perl >= 5.8.0
Packager: Dave Beckett <dave@dajobe.org>
Docdir: %{prefix}/doc
Requires: redland >= %{redland_version}
Requires: ruby >= 1.8.0
%description
Redland is a library that provides a high-level interface for RDF
(Resource Description Framework) implemented in an object-based API.
It is modular and supports different RDF/XML parsers, storage
mechanisms and other elements. Redland is designed for applications
developers to provide RDF support in their applications as well as
for RDF developers to experiment with the technology.
%package -n redland-perl
Summary: Perl modules for the Redland RDF library
Group: Development/Libraries
Requires: redland = %{redland_version}
%description -n redland-perl
The redland-perl package contains the parts of Redland that provide
an interface to Perl.
%prep
%setup
%build
%configure --enable-release
cd perl
%{__make} Makefile.perl MAKE_PL_OPTS="PREFIX=$RPM_BUILD_ROOT/%{_prefix} SYSCONFDIR=$RPM_BUILD_ROOT/%{_sysconfdir} INST_PREFIX=%{_prefix} INST_SYSCONFDIR=%{_sysconfdir}"
%{__make}
cd ..
%install
( run in 2.863 seconds using v1.01-cache-2.11-cpan-0fb53d1c279 )