SPECS: perl-Text-vFile-asData.spec - pl, cleanup
qboosh
qboosh at pld-linux.org
Mon Jul 24 20:14:03 CEST 2006
Author: qboosh Date: Mon Jul 24 18:14:03 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, cleanup
---- Files affected:
SPECS:
perl-Text-vFile-asData.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/perl-Text-vFile-asData.spec
diff -u SPECS/perl-Text-vFile-asData.spec:1.1 SPECS/perl-Text-vFile-asData.spec:1.2
--- SPECS/perl-Text-vFile-asData.spec:1.1 Sat Jul 22 15:16:42 2006
+++ SPECS/perl-Text-vFile-asData.spec Mon Jul 24 20:13:58 2006
@@ -2,12 +2,13 @@
#
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define pdir Text
%define pnam vFile-asData
-Summary: perl(Text::vFile::asData)
+Summary: Text::vFile::asData - parse vFile formatted files into data structures
+Summary(pl): Text::vFile::asData - przetwarzanie plików w formacie vFile na struktury danych
Name: perl-Text-vFile-asData
Version: 0.05
Release: 0.1
@@ -16,7 +17,7 @@
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 3e2ec1f22562dc3d92ababac4f882bed
-URL: http://search.cpan.org/dist/Text-vFile-asData
+URL: http://search.cpan.org/dist/Text-vFile-asData/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with autodeps} || %{with tests}
@@ -26,20 +27,21 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Perl module Text::vFile::asData reads vFile format files, such as vCard (RFC 2426) and vCalendar (RFC 2445).
+Perl module Text::vFile::asData reads vFile format files, such as
+vCard (RFC 2426) and vCalendar (RFC 2445).
+
+%description -l pl
+Moduł Perla Text::vFile::asData odczytuje pliki w formacie vFile,
+takie jak vCard (RFC 2426) i vCalendar (RFC 2445).
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-# Don't use pipes here: they generally don't work. Apply a patch.
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
-# if module isn't noarch, use:
-# %{__make} \
-# OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}
@@ -48,8 +50,9 @@
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -pr examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -pr examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -57,16 +60,12 @@
%files
%defattr(644,root,root,755)
%doc Changes
-# Text-vCard Text-vFile*
-# note it's mostly easier to copy unpackaged filelist here, and run adapter over the spec.
-# use macros:
+%dir %{perl_vendorlib}/Text/vFile
%{perl_vendorlib}/Text/vFile/asData.pm
-%dir %attr(755,root,root) %{_examplesdir}/%{name}-%{version}
-%dir %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/Text-vCard
+%dir %{_examplesdir}/%{name}-%{version}
+%dir %{_examplesdir}/%{name}-%{version}/Text-vCard
%{_examplesdir}/%{name}-%{version}/Text-vCard/*
-%dir %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/Text-vFile
%{_examplesdir}/%{name}-%{version}/Text-vFile
-%dir %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/rfc2445-objects
%{_examplesdir}/%{name}-%{version}/rfc2445-objects
%{_mandir}/man3/*
@@ -76,6 +75,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/07/24 18:13:58 qboosh
+- pl, cleanup
+
Revision 1.1 2006/07/22 13:16:42 agaran
- initial, builds here ver 0.05, rel 0.1
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-Text-vFile-asData.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list