rpms/perl-Date-Simple/devel perl-Date-Simple.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Tue Aug 23 16:40:34 UTC 2005


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Date-Simple/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18564/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Date-Simple.spec 
Log Message:
auto-import perl-Date-Simple-3.02-2 on branch devel from perl-Date-Simple-3.02-2.src.rpm


--- NEW FILE perl-Date-Simple.spec ---
Summary:	Simple date object for perl
Name:		perl-Date-Simple
Version:	3.02
Release:	2%{?dist}
License:	Artistic or GPL
Group:		Development/Libraries
Url:		http://search.cpan.org/dist/Date-Simple/
Source0:	http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/Date-Simple-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
%{summary}.

%prep
%setup -q -n Date-Simple-%{version}

# Artistic license text not included in tarball
%{_bindir}/perldoc -t perlartistic > Artistic

# Spurious exec permissions in files from tarball
%{_bindir}/find lib -type f -exec %{__chmod} -x {} ';'
%{__chmod} -x ChangeLog COPYING README

# The NoXS.pm file provides a pure-perl alternative to the C implementation
# of the module. This results in duplicate "Provides:" entries, which rpmlint
# whinges about. This kludge removes the redundant file, which has the added
# benefit of shutting up rpmlint.
%{__rm} -f lib/Date/Simple/NoXS.pm
%{__sed} -i -e '/^lib\/Date\/Simple\/NoXS\.pm$/d' MANIFEST

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}

%clean
%{__rm} -rf %{buildroot}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
%{_bindir}/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
%{_bindir}/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';'
%{_bindir}/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*

%check
%{__make} test

%files
%defattr(-,root,root,0755)
%doc Artistic ChangeLog COPYING README
%{perl_vendorarch}/Date/
%{perl_vendorarch}/auto/Date/
%{_mandir}/man3/Date::Simple*.3pm*

%changelog
* Tue Aug 23 2005 Paul Howarth <paul at city-fan.org> 3.02-2
- point URLs at search.cpan.org instead of cpan.uwinnipeg.ca

* Tue Aug 23 2005 Paul Howarth <paul at city-fan.org> 3.02-1
- initial package build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Date-Simple/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Aug 2005 16:39:38 -0000	1.1
+++ .cvsignore	23 Aug 2005 16:40:32 -0000	1.2
@@ -0,0 +1 @@
+Date-Simple-3.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Date-Simple/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Aug 2005 16:39:38 -0000	1.1
+++ sources	23 Aug 2005 16:40:32 -0000	1.2
@@ -0,0 +1 @@
+9a9559617ea27d518c282e5fb8367775  Date-Simple-3.02.tar.gz




More information about the scm-commits mailing list