2024-08-03 18:51:55 +00:00
committed by Git OBS Bridge
parent a0c81ddbf7
commit 7f3885d4ef

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-vFile-asData # spec file for package perl-Text-vFile-asData
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Text-vFile-asData
Version: 0.08
Release: 0
%define cpan_name Text-vFile-asData %define cpan_name Text-vFile-asData
Summary: parse vFile formatted files into data structures Name: perl-Text-vFile-asData
License: Artistic-1.0 or GPL-1.0+ Version: 0.80.0
Group: Development/Libraries/Perl Release: 0
Url: http://search.cpan.org/dist/Text-vFile-asData/ # 0.08 -> normalize -> 0.80.0
Source: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz %define cpan_version 0.08
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse vFile formatted files into data structures
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{cpan_version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor::Chained) BuildRequires: perl(Class::Accessor::Chained)
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Class::Accessor::Chained) Requires: perl(Class::Accessor::Chained)
Requires: perl(Test::More) >= 0.88 Requires: perl(Test::More) >= 0.88
Provides: perl(Text::vFile::asData) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -40,14 +42,14 @@ Text::vFile::asData reads vFile format files, such as vCard (RFC 2426) and
vCalendar (RFC 2445). vCalendar (RFC 2445).
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -55,7 +57,6 @@ vCalendar (RFC 2445).
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples %doc Changes examples
%changelog %changelog