Author: paszczus Date: Fri Jul 13 11:18:09 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-Color-Calc.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Color-Calc.spec diff -u /dev/null SPECS/perl-Color-Calc.spec:1.1 --- /dev/null Fri Jul 13 13:18:09 2007 +++ SPECS/perl-Color-Calc.spec Fri Jul 13 13:18:03 2007 @@ -0,0 +1,61 @@ +# $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 Color +%define pnam Calc +Summary: Simple calculations with RGB colors +Name: perl-Color-Calc +Version: 1.04 +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/Color-Calc/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: perl-Params-Validate +BuildRequires: perl-Graphics-ColorNames +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Simple calculations with RGB colors + +%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}/Color/Calc.pm +%{_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 2007/07/13 11:18:03 paszczus +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
