SPECS: perl-Weather-Underground.spec (NEW) - new

charles charles at pld-linux.org
Sat Nov 26 12:00:00 CET 2005


Author: charles                      Date: Sat Nov 26 11:00:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Weather-Underground.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Weather-Underground.spec
diff -u /dev/null SPECS/perl-Weather-Underground.spec:1.1
--- /dev/null	Sat Nov 26 12:00:00 2005
+++ SPECS/perl-Weather-Underground.spec	Sat Nov 26 11:59:55 2005
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# Do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Weather
+%define		pnam	Underground
+Summary:	Perl extension for retrieving weather information
+Summary(pl):	Rozszerzenie Perla do odbierania informacji pogodowych
+Name:		perl-Weather-Underground
+Version:	3.02
+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:	e62f2b51de150352ba40fe0dfa7ddb58
+BuildRequires:	perl-HTML-TokeParser-Simple
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-libwww
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Perl extension for retrieving weather information from wunderground.com.
+
+%description -l pl
+Rozszerzenie Perla do odbierania informacji pogodowych z wunderground.com.
+
+%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 Changes
+%{perl_vendorlib}/Weather
+%{_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  2005/11/26 10:59:55  charles
+- new
+
================================================================



More information about the pld-cvs-commit mailing list