SPECS: perl-HTML-Widgets-NavMenu.spec (NEW) - added

twittner twittner at pld-linux.org
Wed Jul 13 23:29:29 CEST 2005


Author: twittner                     Date: Wed Jul 13 21:29:29 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   perl-HTML-Widgets-NavMenu.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-HTML-Widgets-NavMenu.spec
diff -u /dev/null SPECS/perl-HTML-Widgets-NavMenu.spec:1.1
--- /dev/null	Wed Jul 13 23:29:29 2005
+++ SPECS/perl-HTML-Widgets-NavMenu.spec	Wed Jul 13 23:29:23 2005
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	HTML
+%define		pnam	Widgets-NavMenu
+Summary:	A Perl Module for Generating HTML Navigation Menus
+Name:		perl-HTML-Widgets-NavMenu
+Version:	0.10.0
+Release:	0.1
+License:	MIT/X11	
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	431b8c1e9fe58cd772c3165e47a06503
+BuildRequires:	perl-Class-Accessor
+BuildRequires:	perl-Error
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+#BuildRequires:	a lot, give me a hint how to find them 
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Perl Module for Generating HTML Navigation Menus.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL 
+
+%{__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 README TODO TODO-Rejects
+%dir %{perl_vendorlib}/%{pdir}/Widgets
+%{perl_vendorlib}/%{pdir}/Widgets/*
+%{_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  2005/07/13 21:29:23  twittner
+- added
+
================================================================



More information about the pld-cvs-commit mailing list