Author: radek                        Date: Fri Feb  9 23:28:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Sub-Name.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Sub-Name.spec
diff -u /dev/null SPECS/perl-Sub-Name.spec:1.1
--- /dev/null   Sat Feb 10 00:28:19 2007
+++ SPECS/perl-Sub-Name.spec    Sat Feb 10 00:28:14 2007
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Sub
+%define        pnam    Name
+Summary:       Sub::Name - (re)name a sub
+#Summary(pl):  
+Name:          perl-Sub-Name
+Version:       0.02
+Release:       0.1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/Sub/Sub-Name-0.02.tar.gz
+# Source0-md5: a47e1f1fe88a0c85b7ecc0d150039616
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module has only one function, which is also exported by default:
+
+Assigns a new name to referenced sub.  If package specification is
+omitted in the name, then the current package is used.  The return
+value is the sub.
+
+# %description -l pl
+# TODO
+
+%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_vendorarch}/Sub/*.pm
+%dir %{perl_vendorarch}/auto/Sub/Name
+%attr(755,root,root) %{perl_vendorarch}/auto/Sub/Name/*.so
+%{_mandir}/man3/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/02/09 23:28:14  radek
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to