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

Michael A. Peters (mpeters) fedora-extras-commits at redhat.com
Thu Dec 8 18:48:08 UTC 2005


Author: mpeters

Update of /cvs/extras/rpms/perl-Readonly/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16416/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Readonly.spec 
Log Message:
auto-import perl-Readonly-1.03-4 on branch devel from perl-Readonly-1.03-4.src.rpm


--- NEW FILE perl-Readonly.spec ---
Name:           perl-Readonly
Version:        1.03
Release:        4%{?dist}
Summary:        Facility for creating read-only scalars, arrays, hashes

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Readonly/
Source0:        http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/Readonly-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Readonly.pm provides a facility for creating non-modifiable scalars,
arrays, and hashes.

Readonly.pm
* Creates scalars, arrays (not lists), and hashes.
* Creates variables that look and work like native perl variables.
* Creates global or lexical variables.
* Works at runtime or compile time.
* Works with deep or shallow data structures.
* Prevents reassignment of Readonly variables.

%prep
%setup -q -n Readonly-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{perl_vendorlib}/benchmark.pl .

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README benchmark.pl
%{perl_vendorlib}/Readonly.pm
%{_mandir}/man3/*


%changelog
* Thu Dec 08 2005 Michael A. Peters <mpeters at mac.com> - 1.03-3
- Remove requires on perl-Readonly-XS

* Thu Dec 08 2005 Michael A. Peters <mpeters at mac.com> - 1.03-3
- Fix license and BuildRequires, use %%{?_smp_mflags} with make,

* Sat Nov 12 2005 Michael A. Peters <mpeters at mac.com> - 1.03-2
- separate out perl-Readonly-XS into its own package
- package benchmark.pl as a doc

* Mon Nov 7 2005 Michael A. Peters <mpeters at mac.com> - 1.03-1
- Initial spec file


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Readonly/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Dec 2005 18:46:54 -0000	1.1
+++ .cvsignore	8 Dec 2005 18:48:05 -0000	1.2
@@ -0,0 +1 @@
+Readonly-1.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Readonly/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Dec 2005 18:46:54 -0000	1.1
+++ sources	8 Dec 2005 18:48:05 -0000	1.2
@@ -0,0 +1 @@
+0acef3a995ac9ecf575f66a726d638f4  Readonly-1.03.tar.gz




More information about the fedora-extras-commits mailing list