Accepting request 296433 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/296433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-vFile-asData?expand=0&rev=7
This commit is contained in:
Stephan Kulow
2015-04-15 09:12:39 +00:00
committed by Git OBS Bridge
parent e946ef67ee
commit a0c81ddbf7
5 changed files with 51 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Text-vFile-asData
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,44 +15,36 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-Text-vFile-asData
%define cpan_name Text-vFile-asData
Summary: Parse vFile formatted files into data structures
Version: 0.05
Release: 1
License: Artistic License
Version: 0.08
Release: 0
%define cpan_name Text-vFile-asData
Summary: parse vFile formatted files into data structures
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?Text::vFile::asData
Source: %{cpan_name}-%{version}.tar.bz2
Url: http://search.cpan.org/dist/Text-vFile-asData/
Source: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Chained)
BuildRequires: perl-Test-Pod
Requires: perl(Class::Accessor::Chained)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Class::Accessor::Chained)
Requires: perl(Test::More) >= 0.88
%{perl_requires}
%description
Text::vFile::asData reads vFile format files, such as vCard (RFC 2426) and
vCalendar (RFC 2445).
Author:
-------
Richard Clamp
Nik Clayton
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make} %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
@@ -62,12 +54,8 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-, root, root)
%doc Changes
%defattr(-,root,root,755)
%doc Changes examples
%changelog