SPECS: perl-Graphics-ColorNames-WWW.spec (NEW) - new

paszczus paszczus at pld-linux.org
Fri Jul 13 14:04:26 CEST 2007


Author: paszczus                     Date: Fri Jul 13 12:04:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Graphics-ColorNames-WWW.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Graphics-ColorNames-WWW.spec
diff -u /dev/null SPECS/perl-Graphics-ColorNames-WWW.spec:1.1
--- /dev/null	Fri Jul 13 14:04:26 2007
+++ SPECS/perl-Graphics-ColorNames-WWW.spec	Fri Jul 13 14:04:21 2007
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Graphics
+%define		pnam	ColorNames-WWW
+Summary:	WWW color names and equivalent RGB values	
+Name:		perl-Graphics-ColorNames-WWW
+Version:	0.01
+Release:	1
+License:	same as perl
+Group:		Development/Languages/Perl
+Source0:	http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/%{pdir}-%{pnam}-%{version}.tar.gz
+URL:		http://search.cpan.org/dist/Graphics-ColorNames-WWW/
+BuildRequires:	perl-Module-Load
+BuildRequires:	perl-Graphics-ColorNames
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+WWW color names and equivalent RGB values.
+
+%prep
+%setup -q %{version}q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Graphics/*.pm
+%dir %{perl_vendorlib}/Graphics/ColorNames/WWW
+%{perl_vendorlib}/Graphics/ColorNames/WWW/*.pm
+%{_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
================================================================


More information about the pld-cvs-commit mailing list