packages: perl-Devel-Mallinfo/perl-Devel-Mallinfo.spec (NEW) - initial, ver...

adwol adwol at pld-linux.org
Tue Nov 29 21:44:00 CET 2011


Author: adwol                        Date: Tue Nov 29 20:44:00 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial, version 11

---- Files affected:
packages/perl-Devel-Mallinfo:
   perl-Devel-Mallinfo.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Devel-Mallinfo/perl-Devel-Mallinfo.spec
diff -u /dev/null packages/perl-Devel-Mallinfo/perl-Devel-Mallinfo.spec:1.1
--- /dev/null	Tue Nov 29 21:44:00 2011
+++ packages/perl-Devel-Mallinfo/perl-Devel-Mallinfo.spec	Tue Nov 29 21:43:55 2011
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Devel
+%define		pnam	Mallinfo
+Summary:	Devel::Mallinfo - mallinfo() memory statistics and more
+Summary(pl.UTF-8):	Devel::Mallinfo - statystyki pamięci mallinfo()
+Name:		perl-%{pdir}-%{pnam}
+Version:	11
+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:	0dc6a1ad9a2c26961585158093762c1e
+URL:		http://search.cpan.org/dist/%{pdir}-%{pnam}/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Devel::Mallinfo is an interface to the C library mallinfo function
+giving various totals for memory used by malloc. It's meant for
+development use, to give you an idea how much memory your program and
+libraries are using. Interfaces to some GNU C Library specific malloc
+information are provided too, when available.
+
+%description -l pl.UTF-8
+Devel::Mallinfo jest interfejsem do funkcji mallinfo w bibliotece C,
+służącej do tworzenia statystyk zajętości pamięci alokowane
+przez malloc. Przeznaczony jest dla programistów, do zobrazowania ile
+pamięci zajmuje program i biblioteki. Dostarczany jest również
+interfejs do różnych informacji o zajętości pamięci
+specyficznych dla biblioteki GNU C.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{perl_vendorarch}/%{pdir}/%{pnam}.pm
+%dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}
+%{perl_vendorarch}/auto/%{pdir}/%{pnam}/%{pnam}.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/%{pnam}/%{pnam}.so
+%{_mandir}/man3/*
+%dir %{_examplesdir}/%{name}-%{version}/
+%attr(755,root,root) %{_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  2011/11/29 20:43:55  adwol
+- initial, version 11
+
================================================================


More information about the pld-cvs-commit mailing list