[svn] r5812 - in trunk/rpms: . perl-File-chmod
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Mon Sep 3 21:22:57 CEST 2007
Author: dries
Date: 2007-09-03 21:22:56 +0200 (Mon, 03 Sep 2007)
New Revision: 5812
Added:
trunk/rpms/perl-File-chmod/
trunk/rpms/perl-File-chmod/perl-File-chmod.spec
Log:
add
Added: trunk/rpms/perl-File-chmod/perl-File-chmod.spec
===================================================================
--- trunk/rpms/perl-File-chmod/perl-File-chmod.spec (rev 0)
+++ trunk/rpms/perl-File-chmod/perl-File-chmod.spec 2007-09-03 19:22:56 UTC (rev 5812)
@@ -0,0 +1,53 @@
+# $Id$
+# Authority: dries
+# Upstream: Jeff Pinyan <japhy,734+CPAN$gmail,com>
+
+%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name File-chmod
+
+Summary: Implements symbolic and ls chmod modes
+Name: perl-File-chmod
+Version: 0.32
+Release: 1
+License: Artistic
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/File-chmod/
+
+Source: http://search.cpan.org/CPAN/authors/id/P/PI/PINYAN/File-chmod-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl, perl(ExtUtils::MakeMaker)
+
+%description
+Implements symbolic and ls chmod modes.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install
+
+### Clean up buildroot
+%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes
+%doc %{_mandir}/man3/File::chmod.3*
+%dir %{perl_vendorlib}/File/
+%{perl_vendorlib}/File/chmod.pm
+
+%changelog
+* Mon Sep 3 2007 Dries Verachtert <dries at ulyssis.org> - 0.32-1
+- Initial package.
More information about the svn-commits
mailing list