Author: hawk Date: Tue Nov 13 09:50:24 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial spec for PLD, no polish summary/description
---- Files affected: SPECS: perl-File-chmod.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-File-chmod.spec diff -u /dev/null SPECS/perl-File-chmod.spec:1.1 --- /dev/null Tue Nov 13 10:50:24 2007 +++ SPECS/perl-File-chmod.spec Tue Nov 13 10:50:19 2007 @@ -0,0 +1,64 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir File +%define pnam chmod +Summary: File::chmod - Implements symbolic and ls chmod modes +Name: perl-File-chmod +Version: 0.32 +Release: 1 +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 0048eb67fffad544e1cc07e04c33b0b2 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +File::chmod - Implements symbolic and ls chmod modes. + +File::chmod is a utility that allows you to bypass system calls or bit +processing of a file's permissions. It overloads the chmod() function +with its own that gets an octal mode, a symbolic mode or an "ls" mode. +If you wish not to overload chmod(), you can export symchmod() and +lschmod(), which take, respectively, a symbolic mode and an "ls" mode. + +%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} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes +%{perl_vendorlib}/File/chmod.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007-11-13 09:50:19 hawk +- initial spec for PLD, no polish summary/description + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
