[perl-File-Touch] First import.
averi
averi at fedoraproject.org
Fri May 10 11:09:20 UTC 2013
commit b7047241b8bc2d9a9ff03b9e692b28ddb4d90d88
Author: Andrea Veri <av at gnome.org>
Date: Fri May 10 13:09:07 2013 +0200
First import.
.gitignore | 1 +
perl-File-Touch.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1efac9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/File-Touch-0.08.tar.gz
diff --git a/perl-File-Touch.spec b/perl-File-Touch.spec
new file mode 100644
index 0000000..71d621e
--- /dev/null
+++ b/perl-File-Touch.spec
@@ -0,0 +1,48 @@
+Name: perl-File-Touch
+Summary: Update access, modification timestamps, creating nonexistent files
+Version: 0.08
+Release: 2%{?dist}
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/File-Touch
+BuildArch: noarch
+Source: http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/File-Touch-%{version}.tar.gz
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The following Perl module allows you to update access and modification
+timestamps, creating nonexistent files where necessary.
+
+%prep
+%setup -q -n File-Touch-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu May 9 2013 Andrea Veri <averi at fedoraproject.org> - 0.08-2
+- Fix Source0 to point to UpstreamName-%%{version}.
+- Add the missing Build Depends.
+
+* Mon May 6 2013 Andrea Veri <averi at fedoraproject.org> - 0.08-1
+- Initial build.
diff --git a/sources b/sources
index e69de29..b6fa234 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+50b9d26f13c5a1a0c9131124cd924e98 File-Touch-0.08.tar.gz
More information about the perl-devel
mailing list