packages: perl-MouseX-Types/perl-MouseX-Types.spec (NEW) - initial

amateja amateja at pld-linux.org
Thu Aug 27 10:26:44 CEST 2009


Author: amateja                      Date: Thu Aug 27 08:26:44 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/perl-MouseX-Types:
   perl-MouseX-Types.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-MouseX-Types/perl-MouseX-Types.spec
diff -u /dev/null packages/perl-MouseX-Types/perl-MouseX-Types.spec:1.1
--- /dev/null	Thu Aug 27 10:26:44 2009
+++ packages/perl-MouseX-Types/perl-MouseX-Types.spec	Thu Aug 27 10:26:39 2009
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	MouseX
+%define	pnam	Types
+Summary:	MouseX::Types - Organize your Mouse types in libraries
+Summary(pl.UTF-8):	MouseX::Types - Porządkuje typy Mouse w biblioteki
+Name:		perl-MouseX-Types
+Version:	0.01
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/MouseX/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	8c375c45aa73397c40ac58054d3ca734
+# generic URL, check or change before uncommenting
+#URL:		http://search.cpan.org/dist/MouseX-Types/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Mouse >= 0.15
+BuildRequires:	perl-Test-Exception
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MouseX::Types - Organize your Mouse types in libraries
+
+%description -l pl.UTF-8
+MouseX::Types - Porządkuje typy Mouse w biblioteki
+
+%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 README
+%{perl_vendorlib}/MouseX/*.pm
+%{perl_vendorlib}/MouseX/Types
+%{_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  2009/08/27 08:26:39  amateja
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list