perl-X500-DN.spec (nowy)
Zbyniu Krzystolik
zbyniu w geocarbon.pl
Wto, 16 Lis 2004, 02:55:09 CET
cześć,
proszę rzucić okiem i wysłać do CVSu; trzaśnięte od szablonu, nic
ciekawego, przyda się do openca.spec o którym osobno.
Zbyniu
--
\78\32\14\46\67\67\90\1A
%% Timeo me dubitare %%
-------------- następna część ---------
# $Revision:$, $Date:$
#
# Conditional build:
%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define pdir X500
%define pnam DN
Summary: X500::DN - handle X.500 DNs (Distinguished Names), parse and format them
#Summary(pl):
Name: perl-X500-DN
Version: 0.28
Release: 1
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/X500/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: d00cc84f30415ce607af9e17d3051826
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This module handles X.500 DNs (Distinguished Names).
Currently, it parses DN strings formatted according to RFC 2253 syntax into an
internal format and produces RFC 2253 formatted string from it.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc Changes README
%{perl_vendorlib}/X500/*.pm
%{_mandir}/man3/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
Więcej informacji o liście dyskusyjnej pld-devel-pl