SPECS: perl-File-Copy-Link.spec (NEW) - initial, builds here, test...
agaran
agaran at pld-linux.org
Sun Dec 30 18:41:39 CET 2007
Author: agaran Date: Sun Dec 30 17:41:39 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, builds here, tests under way
---- Files affected:
SPECS:
perl-File-Copy-Link.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-File-Copy-Link.spec
diff -u /dev/null SPECS/perl-File-Copy-Link.spec:1.1
--- /dev/null Sun Dec 30 18:41:39 2007
+++ SPECS/perl-File-Copy-Link.spec Sun Dec 30 18:41:34 2007
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir File
+%define pnam Copy-Link
+Summary: File::Copy::Link - Perl extension for replacing a link by a copy of the linked file
+#Summary(pl):
+Name: perl-File-Copy-Link
+Version: 0.110
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: b434d5069cf108950ed785565916c2b0
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is mostly a wrapper round "File::Spec::Link::linked" and
+"File::Copy::copy", the functionality is available in a command line
+script copylink.
+
+# %description -l pl
+# TODO
+
+%package -n perl-File-Spec-Link
+Summary: File::Spec::Link - Perl extension for reading and resolving symbolic links
+Group: Development/Languages/Perl
+
+%description -n perl-File-Spec-Link
+File::Spec::Link is an extension to File::Spec, adding methods for
+resolving symbolic links; it was created to implement File::Copy::Link.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{_bindir}/copylink
+%{perl_vendorlib}/File/Copy/*.pm
+%{_mandir}/man3/File::Copy*
+%{_mandir}/man1/copylink*
+
+%files -n perl-File-Spec-Link
+%{perl_vendorlib}/File/Spec/Link.pm
+%{_mandir}/man3/File::Spec*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007-12-30 17:41:34 agaran
+- initial, builds here, tests under way
+
================================================================
More information about the pld-cvs-commit
mailing list