2007-01-15 23:32:10 +00:00
|
|
|
#
|
2013-02-27 13:30:00 +00:00
|
|
|
# spec file for package perl-X500-DN
|
2007-01-15 23:32:10 +00:00
|
|
|
#
|
2019-12-03 07:25:30 +00:00
|
|
|
# Copyright (c) 2019 SUSE LLC
|
2007-01-15 23:32:10 +00:00
|
|
|
#
|
2008-10-08 16:32:45 +00:00
|
|
|
# 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.
|
|
|
|
|
2019-12-03 07:25:30 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:32:10 +00:00
|
|
|
#
|
|
|
|
|
2008-02-25 16:36:47 +00:00
|
|
|
|
2007-07-16 16:18:38 +00:00
|
|
|
Name: perl-X500-DN
|
2009-01-22 12:14:54 +00:00
|
|
|
BuildRequires: perl-Parse-RecDescent
|
2010-12-03 14:55:52 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-07-16 16:18:38 +00:00
|
|
|
Requires: perl-Parse-RecDescent
|
2009-01-22 12:14:54 +00:00
|
|
|
Summary: Provides an interface for RFC 2253 style DN strings
|
2019-12-03 07:25:30 +00:00
|
|
|
License: Artistic-1.0 OR GPL-2.0-or-later
|
2013-02-27 13:30:00 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2007-07-16 16:18:38 +00:00
|
|
|
Version: 0.29
|
2013-02-27 13:30:00 +00:00
|
|
|
Release: 0
|
2019-12-03 07:25:30 +00:00
|
|
|
URL: http://search.cpan.org/dist/X500-DN/
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RJ/RJOOP/X500-DN-%{version}.tar.gz
|
2025-08-12 18:18:33 +02:00
|
|
|
Source100: README.md
|
2007-07-16 16:18:38 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2019-12-03 07:25:30 +00:00
|
|
|
Patch0: version-string-fix.diff
|
2008-10-08 16:32:45 +00:00
|
|
|
Patch1: version-string-fix2.diff
|
2013-06-19 19:30:23 +00:00
|
|
|
Patch2: X500-DN-dont_set_skip_to_undef.patch
|
2019-12-03 07:25:30 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:32:10 +00:00
|
|
|
|
|
|
|
%description
|
2008-10-08 16:32:45 +00:00
|
|
|
X500::DN Provides a pure perl parser and formatter for RFC 2253 style
|
2007-01-15 23:32:10 +00:00
|
|
|
DN strings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Robert Joop <yaph-020416@timesink.de>
|
|
|
|
|
|
|
|
%prep
|
2024-03-06 07:51:19 +00:00
|
|
|
%autosetup -p1 -n X500-DN-%{version}
|
2007-01-15 23:32:10 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-11 15:19:57 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:32:10 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
2009-01-22 12:14:54 +00:00
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
2007-01-15 23:32:10 +00:00
|
|
|
%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/*
|
|
|
|
|
2007-07-16 16:18:38 +00:00
|
|
|
%changelog
|