SPECS: perl-Filesys-Ext2.spec (NEW), perl-GD-SecurityImage.spec (N...
agaran
agaran at pld-linux.org
Mon Mar 5 12:50:11 CET 2007
Author: agaran Date: Mon Mar 5 11:50:11 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
perl-Filesys-Ext2.spec (NONE -> 1.1) (NEW), perl-GD-SecurityImage.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Filesys-Ext2.spec
diff -u /dev/null SPECS/perl-Filesys-Ext2.spec:1.1
--- /dev/null Mon Mar 5 12:50:11 2007
+++ SPECS/perl-Filesys-Ext2.spec Mon Mar 5 12:50:06 2007
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Filesys
+%define pnam Ext2
+Summary: Filesys::Ext2 - Interface to ext2 and ext3 filesystem attributes
+#Summary(pl):
+Name: perl-Filesys-Ext2
+Version: 0.20
+Release: 0.1
+# same as perl (REMOVE THIS LINE IF NOT TRUE)
+#License: GPL v1+ or Artistic
+License: -
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 787c8ffb4a2e2a8fa319e8a2f002aa22
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+You may specify the path of the e2fsprogs upon use
+
+ use Filesys::Ext2 {PATH=>'/path/to/binaries'};
+
+Otherwise the module will use the default path /usr/bin/
+
+
+
+# %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 INSTALL README TODO
+%{_bindir}/ls2.pl
+%{perl_vendorlib}/Filesys/*.pm
+#%{perl_vendorlib}/Filesys/Ext2
+%{_mandir}/man3/*
+%{_mandir}/man1/*
+
+%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 2007/03/05 11:50:06 agaran
+- initial
+
================================================================
Index: SPECS/perl-GD-SecurityImage.spec
diff -u /dev/null SPECS/perl-GD-SecurityImage.spec:1.1
--- /dev/null Mon Mar 5 12:50:11 2007
+++ SPECS/perl-GD-SecurityImage.spec Mon Mar 5 12:50:06 2007
@@ -0,0 +1,88 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir GD
+%define pnam SecurityImage
+Summary: GD::SecurityImage - Security image (captcha) generator.
+#Summary(pl):
+Name: perl-GD-SecurityImage
+Version: 1.55
+Release: 0.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: 65399f762e6958f29929f8b390739cb9
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(GD)
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+
+%define _noautoreq 'perl(Image::Magick)'
+
+%description
+The (so called) "Security Images" are so popular. Most internet
+software use these in their registration screens to block robot programs
+(which may register tons of fake member accounts). Security images are
+basicaly, graphical CAPTCHAs (Completely Automated Public Turing Test to
+Tell Computers and Humans Apart). This module gives you a basic interface
+to create such an image. The final output is the actual graphic data,
+the mime type of the graphic and the created random string.
+
+The module also has some "styles" that are used to create the background
+of the image.
+
+If you are an Authen::Captcha user, see GD::SecurityImage::AC
+for migration from Authen::Captcha to GD::SecurityImage.
+
+
+
+# %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 eg $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/GD/*.pm
+%{perl_vendorlib}/GD/SecurityImage
+%{_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 2007/03/05 11:50:06 agaran
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list