11
0

Compare commits

3 Commits

5 changed files with 44 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60377a74fba90fa465200ee1c7430dbdde69d454d85f9ee101c039803a07e5f5
size 13995

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:559dab59bb0fc56fb9904880716e5eb9863c1fbd42363292382c69d96899a8c8
size 17502

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Linux-DesktopFiles/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Linux-DesktopFiles)

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Oct 4 05:33:12 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.260.0 (0.26)
see /usr/share/doc/packages/perl-Linux-DesktopFiles/Changes
0.26 2024-10-03
- Added support for subcategories.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 23 05:29:19 UTC 2017 - coolo@suse.com Mon Oct 23 05:29:19 UTC 2017 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Linux-DesktopFiles # spec file for package perl-Linux-DesktopFiles
# #
# Copyright (c) 2017 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,25 +12,28 @@
# 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-Linux-DesktopFiles
Version: 0.25
Release: 0
%define cpan_name Linux-DesktopFiles %define cpan_name Linux-DesktopFiles
Summary: Fast parsing of the Linux desktop files Name: perl-Linux-DesktopFiles
Version: 0.260.0
Release: 0
# 0.26 -> normalize -> 0.260.0
%define cpan_version 0.26
License: Artistic-2.0 License: Artistic-2.0
Group: Development/Libraries/Perl Summary: Fast parsing of the Linux desktop files
Url: http://search.cpan.org/dist/Linux-DesktopFiles/ URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TR/TRIZEN/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/T/TR/TRIZEN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
Provides: perl(Linux::DesktopFiles) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -38,22 +41,22 @@ The 'Linux::DesktopFiles', a very fast and simple way to parse the Linux
desktop files. desktop files.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%{__perl} Build.PL installdirs=vendor perl Build.PL --installdirs=vendor
./Build build flags=%{?_smp_mflags} ./Build build --flags=%{?_smp_mflags}
%check %check
./Build test ./Build test
%install %install
./Build install destdir=%{buildroot} create_packlist=0 ./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes ignore.txt README.md %doc Changes ignore.txt README.md
%license LICENSE %license LICENSE