File perl-X500-DN.spec of Package perl-X500-DN
#
# spec file for package perl-X500-DN (Version 0.29)
#
# Copyright (c) 2008 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-X500-DN
License: Artistic License; GPL v2 or later
Group: Development/Libraries/Perl
Requires: perl-Parse-RecDescent
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: provides an interface for RFC 2253 style DN strings
Version: 0.29
Release: 78
Source: X500-DN-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: version-string-fix.diff
Patch1: version-string-fix2.diff
%description
X500::DN Provides a pure perl parser and formatter for RFC 2253 style
DN strings.
Authors:
--------
Robert Joop <yaph-020416@timesink.de>
%prep
%setup -n X500-DN-%{version}
%patch
%patch1
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
# ---------------------------------------------------------------------------
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
install_vendor
%perl_process_packlist
%files
%defattr(-,root,root)
%{perl_vendorarch}/auto/X500
%dir %{perl_vendorlib}/X500
%{perl_vendorlib}/X500/RDN.pod
%{perl_vendorlib}/X500/RDN.pm
%{perl_vendorlib}/X500/DN.pod
%{perl_vendorlib}/X500/DN.pm
%doc Changes MANIFEST README
%doc %{_mandir}/man3/*
/var/adm/perl-modules/%{name}
%changelog
* Wed Oct 08 2008 ug@suse.de
- version check for parse-recdescend removed (bnc#433425)
* Mon Feb 25 2008 ug@suse.de
- suppress a version string warning (#360044)
* Mon Jul 16 2007 ug@suse.de
- version 0.29
- added missing PREREQ_PM in Makefile.PL
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 28 2003 ug@suse.de
- version update from 0.27 to 0.28
- spec file fix for install_vendor
* Tue Jun 17 2003 ug@suse.de
- added missing directory to files-section
* Mon May 19 2003 ro@suse.de
- fix filelist
- remove perllocal.pod
* Fri Oct 18 2002 ro@suse.de
- remove race in specfile
* Fri Oct 18 2002 ug@suse.de
- initial release. This package is needed by perl-OpenCA-OpenSSL