packages: perl-File-ChangeNotify/perl-File-ChangeNotify.spec (NEW) - initial
amateja
amateja at pld-linux.org
Tue Jun 16 11:48:46 CEST 2009
Author: amateja Date: Tue Jun 16 09:48:46 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/perl-File-ChangeNotify:
perl-File-ChangeNotify.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-File-ChangeNotify/perl-File-ChangeNotify.spec
diff -u /dev/null packages/perl-File-ChangeNotify/perl-File-ChangeNotify.spec:1.1
--- /dev/null Tue Jun 16 11:48:46 2009
+++ packages/perl-File-ChangeNotify/perl-File-ChangeNotify.spec Tue Jun 16 11:48:41 2009
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir File
+%define pnam ChangeNotify
+Summary: File::ChangeNotify - Watch for changes to files, cross-platform style
+#Summary(pl.UTF-8):
+Name: perl-File-ChangeNotify
+Version: 0.06
+Release: 1
+# same as perl
+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: 87f970acdfce7fbacba63aa3746b4cfb
+URL: http://search.cpan.org/dist/File-ChangeNotify/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(MooseX::Params::Validate) >= 0.08
+BuildRequires: perl(MooseX::SemiAffordanceAccessor)
+BuildRequires: perl-Class-MOP
+BuildRequires: perl-Moose
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides an API for creating a File::ChangeNotify::Watcher
+subclass that will work on your platform.
+
+Most of the documentation for this distro is in
+File::ChangeNotify::Watcher.
+
+# %description -l pl.UTF-8
+
+%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
+%{perl_vendorlib}/File/*.pm
+%{perl_vendorlib}/File/ChangeNotify
+%{_mandir}/man3/*
+
+%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 2009/06/16 09:48:41 amateja
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list