]> git.pld-linux.org Git - packages/perl-Time-Warp.git/commitdiff
- new auto/th/perl-Time-Warp-0_5-1
authorradek <radek@pld-linux.org>
Thu, 29 Mar 2007 17:36:32 +0000 (17:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Time-Warp.spec -> 1.1

perl-Time-Warp.spec [new file with mode: 0644]

diff --git a/perl-Time-Warp.spec b/perl-Time-Warp.spec
new file mode 100644 (file)
index 0000000..5b4a004
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Time
+%define        pnam    Warp
+Summary:       Time::Warp - control over the flow of time
+#Summary(pl.UTF-8):    
+Name:          perl-Time-Warp
+Version:       0.5
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-authors/id/J/JP/JPRIT/Time-Warp-0.5.tar.gz
+# Source0-md5: 33652a9dfdc11366ddba95efe6432a51
+URL:           http://search.cpan.org/dist/Time-Warp/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Our external experience unfolds in 3 1/2 dimensions (time has a
+dimensionality of 1/2).  The Time::Warp module offers developers
+control over the measurement of time.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?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 README
+%{perl_vendorarch}/Time/*.pm
+%dir %{perl_vendorarch}/auto/Time/Warp
+%{perl_vendorarch}/auto/Time/Warp/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Time/Warp/*.so
+%{_mandir}/man3/*
This page took 0.127743 seconds and 4 git commands to generate.