SPECS: perl-Curses-Forms.spec (NEW) - init

jezik jezik at pld-linux.org
Sat Nov 17 01:24:15 CET 2007


Author: jezik                        Date: Sat Nov 17 00:24:15 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

---- Files affected:
SPECS:
   perl-Curses-Forms.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Curses-Forms.spec
diff -u /dev/null SPECS/perl-Curses-Forms.spec:1.1
--- /dev/null	Sat Nov 17 01:24:15 2007
+++ SPECS/perl-Curses-Forms.spec	Sat Nov 17 01:24:10 2007
@@ -0,0 +1,79 @@
+# $Revision$
+#
+# Conditional build:
+%bcond_with	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Curses
+%define		pnam	Forms
+Summary:	Curses::Forms - Curses Forms Framework
+Summary(pl.UTF-8):	Curses::Forms - formularze interfejsu użytkownika oparty na bibliotece curses
+Name:		perl-Curses-Forms
+Version:	1.997
+Release:	1
+# same as perl
+License:	GPL v2+
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/CursesForms-%{version}.tar.gz
+# Source0-md5:	076faf4c240d4577720a7bd2bc1d3f04
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-Curses
+BuildRequires:	perl-Curses-Widgets
+#BuildRequires:	perl-Term-ReadKey
+%if %{with tests}
+BuildRequires:	perl-Test-Pod
+%endif
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Curses::Forms Perl module is a UI framework based on the curses library.
+It can be used for the development of curses based user interfaces. Strictly
+this a wrapper around Curses::UI and Curses::Widgets to create simple
+UIs' quickly.
+
+%description -l pl.UTF-8
+Moduł Perla Curses::Forms stanowi szkielet oparty na bibliotece curses.
+Może służyć do konstruowania interfejsów użytkownika w oparciu o
+bibliotekę curses. Dokładniej, Curses::Forms to wrapper do Curses::UI
+i Curses::Widgets, aby ułatwić tworzenie prostych GUI.
+
+%prep
+%setup -q -n CursesForms-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# get rid of pod documentation
+#rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Curses/Forms/*.pod
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG README
+%{perl_vendorlib}/Curses/Forms.pm
+%{perl_vendorlib}/Curses/Forms
+%{_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  2007-11-17 00:24:10  jezik
+- init
+
================================================================


More information about the pld-cvs-commit mailing list