diff --git a/File-DesktopEntry-0.04.tar.gz b/File-DesktopEntry-0.04.tar.gz deleted file mode 100644 index 4bad604..0000000 --- a/File-DesktopEntry-0.04.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7f80d8bd303651a43dc1810c73740d38a0d2b158fb33cd3b6ca4d3a566da7cb -size 13784 diff --git a/File-DesktopEntry-0.08.tar.gz b/File-DesktopEntry-0.08.tar.gz new file mode 100644 index 0000000..6e9eae1 --- /dev/null +++ b/File-DesktopEntry-0.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e51b962f21fb9ce31df88210e305605f48f595845eed536c1f049cf0de09486 +size 14273 diff --git a/perl-File-DesktopEntry.changes b/perl-File-DesktopEntry.changes index bba0346..963f9dd 100644 --- a/perl-File-DesktopEntry.changes +++ b/perl-File-DesktopEntry.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 13 17:51:54 UTC 2015 - coolo@suse.com + +- updated to 0.08 + see /usr/share/doc/packages/perl-File-DesktopEntry/Changes + ------------------------------------------------------------------- Wed Dec 1 15:41:45 UTC 2010 - coolo@novell.com diff --git a/perl-File-DesktopEntry.spec b/perl-File-DesktopEntry.spec index 7a71c09..361ff1a 100644 --- a/perl-File-DesktopEntry.spec +++ b/perl-File-DesktopEntry.spec @@ -1,84 +1,67 @@ +# +# spec file for package perl-File-DesktopEntry +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. -Name: perl-File-DesktopEntry -Version: 0.04 -Release: 0%{?dist} -License: CHECK(GPL+ or Artistic) -Group: Development/Libraries -Summary: Object to handle .desktop files -Source: http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/File-DesktopEntry/File-DesktopEntry-%{version}.tar.gz -Url: http://search.cpan.org/dist/File-DesktopEntry -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -%{perl_requires} -BuildArch: noarch -BuildRequires: perl(Carp) +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: perl-File-DesktopEntry +Version: 0.08 +Release: 0 +%define cpan_name File-DesktopEntry +Summary: Object to handle .desktop files +License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/File-DesktopEntry/ +Source: http://www.cpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(File::BaseDir) >= 0.03 -BuildRequires: perl(File::Path) -BuildRequires: perl(File::Spec) -BuildRequires: perl(Module::Build) >= 0.24 -BuildRequires: perl(Module::Build::Compat) -BuildRequires: perl(Test::More) - +BuildRequires: perl(File::BaseDir) >= 0.03 +%{perl_requires} %description This module is used to work with _.desktop_ files. The format of these -files is specified by the freedesktop "Desktop Entry" specification. -This module can parse these files but also knows how to run the -applciations defined by these files.For this module version 1.0 of the -specification was used.This module was written to support the -File::MimeInfo::Applications manpage. +files is specified by the freedesktop "Desktop Entry" specification. This +module can parse these files but also knows how to run the applications +defined by these files. +For this module version 1.0 of the specification was used. +This module was written to support the File::MimeInfo::Applications +manpage. + +Please remember: case is significant for the names of Desktop Entry keys. %prep -%setup -q -n File-DesktopEntry-%{version} +%setup -q -n %{cpan_name}-%{version} %build - if [ -f Build.PL ]; then - %{__perl} Build.PL --installdirs vendor -else - %{__perl} Makefile.PL INSTALLDIRS=vendor -fi - if [ -f Build.PL ]; then - ./Build build flags=%{?_smp_mflags} -else - make %{?_smp_mflags} -fi - -%install -rm -rf %{buildroot} - -if [ -f Build.PL ]; then - ./Build pure_install --destdir %{buildroot} -else - make pure_install PERL_INSTALL_ROOT=%{buildroot} -fi - find %{buildroot} -type f -name .packlist -exec rm -f {} ';' - find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - - mkdir -p %{buildroot}/%{_mandir}/man3/ %{buildroot}/usr/bin - touch %{buildroot}/%{_mandir}/man3/File-DesktopEntry.3pm.gz - - %{_fixperms} %{buildroot}/* +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check - if [ -f Build.PL ]; then - ./Build test -else - make test -fi +%{__make} test -%clean - rm -rf %{buildroot} +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist -%files -%defattr(-,root,root,-) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man*/*.* %changelog -* Sat Jun 26 2010 %{packager} 0.04-0 -- initial SUSE packaging -- generated with cpan2dist (CPANPLUS::Dist::SUSE version 0.0.8) -