Author: migo                         Date: Mon Nov  7 14:27:04 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   perl-HTTP-Body.spec (NONE -> 1.1)  (NEW), perl-File-Modified.spec (NONE -> 
1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-HTTP-Body.spec
diff -u /dev/null SPECS/perl-HTTP-Body.spec:1.1
--- /dev/null   Mon Nov  7 15:27:04 2005
+++ SPECS/perl-HTTP-Body.spec   Mon Nov  7 15:26:59 2005
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    HTTP
+%define        pnam    Body
+Summary:       HTTP::Body - HTTP Body Parser
+#Summary(pl):  
+Name:          perl-HTTP-Body
+Version:       0.2
+Release:       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: 25ea5de97597c2edd64d3bc0509c211b
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Path-Class
+BuildRequires: perl-YAML
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HTTP Body Parser.
+
+# %description -l pl
+# TODO
+
+%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 README
+%{perl_vendorlib}/HTTP/*.pm
+%{perl_vendorlib}/HTTP/Body
+%{_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  2005/11/07 14:26:59  migo
+- initial revision
+

================================================================
Index: SPECS/perl-File-Modified.spec
diff -u /dev/null SPECS/perl-File-Modified.spec:1.1
--- /dev/null   Mon Nov  7 15:27:04 2005
+++ SPECS/perl-File-Modified.spec       Mon Nov  7 15:26:59 2005
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    File
+%define        pnam    Modified
+Summary:       File::Modified - checks intelligently if files have changed
+#Summary(pl):  
+Name:          perl-File-Modified
+Version:       0.07
+Release:       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: 271a991b96ccbdaeb7098272c9f97d51
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Modified module is intended as a simple method for programs to detect
+whether configuration files (or modules they rely on) have changed. There are
+currently two methods of change detection implemented, mtime and MD5.
+The MD5 method will fall back to use timestamps if the Digest::MD5 module
+cannot be loaded.
+
+There is another module, File::Signature, which has many similar features,
+so if this module doesn't do what you need, maybe File::Signature does. There
+also is quite some overlap between the two modules, code wise.
+
+# %description -l pl
+# TODO
+
+%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
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/File/*.pm
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%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  2005/11/07 14:26:59  migo
+- initial revision
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to