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

# spec file for package perl-X500-DN (Version 0.29)
# Copyright (c) 2010 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

# norootforbuild

Name:           perl-X500-DN
License:        Artistic ; GPLv2+
Group:          Development/Libraries/Perl
BuildRequires:  perl-Parse-RecDescent
BuildRequires:  perl-macros
Requires:       perl-Parse-RecDescent
AutoReqProv:    on
Summary:        Provides an interface for RFC 2253 style DN strings
Version:        0.29
Release:        89
Source:         X500-DN-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch1:         version-string-fix2.diff
Patch:          version-string-fix.diff

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

    Robert Joop <>

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

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