SPECS: perl-Sys-Hostname-Long.spec (NEW) - initial revision
baggins
baggins at pld-linux.org
Tue Jun 14 14:51:20 CEST 2005
Author: baggins Date: Tue Jun 14 12:51:19 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial revision
---- Files affected:
SPECS:
perl-Sys-Hostname-Long.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Sys-Hostname-Long.spec
diff -u /dev/null SPECS/perl-Sys-Hostname-Long.spec:1.1
--- /dev/null Tue Jun 14 14:51:20 2005
+++ SPECS/perl-Sys-Hostname-Long.spec Tue Jun 14 14:51:14 2005
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Sys
+%define pnam Hostname-Long
+Summary: Sys::Hostname::Long - try every conceivable way to get full hostname
+Summary(pl): Sys::Hostname::Long - uzyskiwanie pełnej nazwy hosta
+Name: perl-Sys-Hostname-Long
+Version: 1.2
+Release: 1
+License: GPL v2+
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ae0fb8b0ed821ae2fc8e8009b8732978
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sys::Hostname::Long - Try every conceivable way to get full hostname
+
+%description -l pl
+Sys::Hostname::FQDN próbuje wszelkich możliwych sposobów żeby uzyskać
+pełną nazwę hosta.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?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}/Sys/Hostname/Long.pm
+%{_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/06/14 12:51:14 baggins
+- initial revision
+
================================================================
More information about the pld-cvs-commit
mailing list