]> git.pld-linux.org Git - packages/perl-Class-Unload.git/commitdiff
- new auto/th/perl-Class-Unload-0_05-1
authorradek <radek@pld-linux.org>
Sun, 11 Jan 2009 14:07:54 +0000 (14:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Class-Unload.spec -> 1.1

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

diff --git a/perl-Class-Unload.spec b/perl-Class-Unload.spec
new file mode 100644 (file)
index 0000000..6201310
--- /dev/null
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Class
+%define        pnam    Unload
+Summary:       Class::Unload - Unload a class
+#Summary(pl.UTF-8):    
+Name:          perl-Class-Unload
+Version:       0.05
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 497de4c5c959b328356569a7e423fecc
+URL:           http://search.cpan.org/dist/Class-Unload/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Class-Inspector
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Unloads the given class by clearing out its symbol table and removing
+it from %INC.
+
+# %description -l pl.UTF-8
+# TODO
+
+%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} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/Class/*.pm
+%{_mandir}/man3/*
This page took 0.093167 seconds and 4 git commands to generate.