SPECS: perl-Gtk2-Ex-PodViewer.spec (NEW) - added

twittner twittner at pld-linux.org
Wed Nov 16 23:36:42 CET 2005


Author: twittner                     Date: Wed Nov 16 22:36:42 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   perl-Gtk2-Ex-PodViewer.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Gtk2-Ex-PodViewer.spec
diff -u /dev/null SPECS/perl-Gtk2-Ex-PodViewer.spec:1.1
--- /dev/null	Wed Nov 16 23:36:42 2005
+++ SPECS/perl-Gtk2-Ex-PodViewer.spec	Wed Nov 16 23:36:37 2005
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Gtk2
+%define		pnam	Ex-PodViewer
+Summary:	A Gtk2 widget for displaying Plain old Documentation (POD)
+Name:		perl-%{pdir}-%{pnam}
+Version:	0.13
+Release:	0.1
+License:	same as Perl	
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	b5a381c24368883899ab8c41cdf1ed2b
+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
+A Gtk2 widget for displaying Plain old Documentation (POD).
+
+%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} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/podviewer
+%{perl_vendorlib}/Gtk2/Ex/PodViewer.pm
+%dir %{perl_vendorlib}/Gtk2/Ex/PodViewer
+%{perl_vendorlib}/Gtk2/Ex/PodViewer/Parser.pm
+%{_mandir}/man[13]/*
+
+%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  2005/11/16 22:36:37  twittner
+- added
+
================================================================



More information about the pld-cvs-commit mailing list