SPECS: perl-Test-Group.spec (NEW), perl-WWW-Google-SiteMap.spec (NEW) - new

radek radek at pld-linux.org
Sun Nov 9 12:54:21 CET 2008


Author: radek                        Date: Sun Nov  9 11:54:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Test-Group.spec (NONE -> 1.1)  (NEW), perl-WWW-Google-SiteMap.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Test-Group.spec
diff -u /dev/null SPECS/perl-Test-Group.spec:1.1
--- /dev/null	Sun Nov  9 12:54:21 2008
+++ SPECS/perl-Test-Group.spec	Sun Nov  9 12:54:16 2008
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Test
+%define	pnam	Group
+Summary:	Test::Group - Group together related tests in a test suite
+#Summary(pl.UTF-8):	
+Name:		perl-Test-Group
+Version:	0.14
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	7154698c6251fbc8325146855c628c09
+URL:		http://search.cpan.org/dist/Test-Group/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-File-Slurp
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Test::Group allows for grouping together related tests in a
+standard Test::More-style script. (If you are not already familiar
+with Test::More, now would be the time to go take a look.)
+Test::Group provides a bunch of maintainability and scalability
+advantages to large test suites:
+
+# %description -l pl.UTF-8
+# TODO
+
+%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
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Test/*.pm
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%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  2008/11/09 11:54:16  radek
+- new
+

================================================================
Index: SPECS/perl-WWW-Google-SiteMap.spec
diff -u /dev/null SPECS/perl-WWW-Google-SiteMap.spec:1.1
--- /dev/null	Sun Nov  9 12:54:21 2008
+++ SPECS/perl-WWW-Google-SiteMap.spec	Sun Nov  9 12:54:16 2008
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	WWW
+%define	pnam	Google-SiteMap
+Summary:	WWW::Google::SiteMap - Perl extension for managing Google SiteMaps
+#Summary(pl.UTF-8):	
+Name:		perl-WWW-Google-SiteMap
+Version:	1.09
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/WWW/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	251b6a460f98093542cddc5ee1735c48
+URL:		http://search.cpan.org/dist/WWW-Google-SiteMap/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-XML-Twig
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Sitemap Protocol allows you to inform search engine crawlers about URLs
+on your Web sites that are available for crawling. A Sitemap consists of a
+list of URLs and may also contain additional information about those URLs,
+such as when they were last modified, how frequently they change, etc.
+
+This module allows you to create and modify sitemaps.
+
+# %description -l pl.UTF-8
+# TODO
+
+%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}/WWW/Google/*.pm
+%{perl_vendorlib}/WWW/Google/SiteMap
+%{_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  2008/11/09 11:54:16  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list