File perl-X500-DN.spec of Package perl-X500-DN

# spec file for package perl-X500-DN
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           perl-X500-DN
BuildRequires:  perl-Parse-RecDescent
BuildRequires:  perl-macros
Requires:       perl-Parse-RecDescent
Summary:        Provides an interface for RFC 2253 style DN strings
License:        Artistic-1.0 or GPL-2.0+
Group:          Development/Libraries/Perl
Version:        0.29
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch1:         version-string-fix2.diff
Patch:          version-string-fix.diff
Patch2:         X500-DN-dont_set_skip_to_undef.patch

X500::DN Provides a pure perl parser and formatter for RFC 2253 style
DN strings.

    Robert Joop <>

%setup -n X500-DN-%{version}
%patch2 -p1
# ---------------------------------------------------------------------------

perl Makefile.PL
make %{?_smp_mflags}
# ---------------------------------------------------------------------------

make test

[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
	 INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \

%dir %{perl_vendorlib}/X500
%doc %{_mandir}/man3/*

openSUSE Build Service is sponsored by