]> git.pld-linux.org Git - packages/perl-Readonly.git/commitdiff
- new, STBR RA-1_0 STABLE perl-Readonly-0_07-1
authorradek <radek@pld-linux.org>
Sun, 8 Sep 2002 15:51:10 +0000 (15:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Readonly.spec -> 1.1

perl-Readonly.spec [new file with mode: 0644]

diff --git a/perl-Readonly.spec b/perl-Readonly.spec
new file mode 100644 (file)
index 0000000..bd4b887
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Readonly
+Summary:       Readonly - Facility for creating read-only scalars, arrays, hashes.
+#Summary(pl):  Readonly
+Name:          perl-Readonly
+Version:       0.07
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/authors/id/R/RO/ROODE/%{pdir}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl >= 5.6.1
+%if %{?_without_tests:0}%{!?_without_tests:1}
+BuildRequires: perl-Test-Simple
+BuildRequires: perl-Test-Harness
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+
+%description
+This is a facility for creating non-modifiable variables.  This is
+useful for configuration files, headers, etc.  It can also be useful as
+a development and debugging tool, for catching updates to variables that
+should not be changed.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%{!?_without_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_sitelib}/*.pm
+%{_mandir}/man3/*
This page took 0.129139 seconds and 4 git commands to generate.