forked from pool/perl-File-DesktopEntry
Accepting request 295881 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-DesktopEntry?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
254524422c
commit
28f41fbd36
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d7f80d8bd303651a43dc1810c73740d38a0d2b158fb33cd3b6ca4d3a566da7cb
|
|
||||||
size 13784
|
|
3
File-DesktopEntry-0.08.tar.gz
Normal file
3
File-DesktopEntry-0.08.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1e51b962f21fb9ce31df88210e305605f48f595845eed536c1f049cf0de09486
|
||||||
|
size 14273
|
@@ -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
|
Wed Dec 1 15:41:45 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -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
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
Version: 0.04
|
#
|
||||||
Release: 0%{?dist}
|
|
||||||
License: CHECK(GPL+ or Artistic)
|
|
||||||
Group: Development/Libraries
|
Name: perl-File-DesktopEntry
|
||||||
Summary: Object to handle .desktop files
|
Version: 0.08
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/File-DesktopEntry/File-DesktopEntry-%{version}.tar.gz
|
Release: 0
|
||||||
Url: http://search.cpan.org/dist/File-DesktopEntry
|
%define cpan_name File-DesktopEntry
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Summary: Object to handle .desktop files
|
||||||
%{perl_requires}
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
BuildArch: noarch
|
Group: Development/Libraries/Perl
|
||||||
BuildRequires: perl(Carp)
|
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-macros
|
||||||
BuildRequires: perl(File::BaseDir) >= 0.03
|
BuildRequires: perl(File::BaseDir) >= 0.03
|
||||||
BuildRequires: perl(File::Path)
|
%{perl_requires}
|
||||||
BuildRequires: perl(File::Spec)
|
|
||||||
BuildRequires: perl(Module::Build) >= 0.24
|
|
||||||
BuildRequires: perl(Module::Build::Compat)
|
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module is used to work with _.desktop_ files. The format of these
|
This module is used to work with _.desktop_ files. The format of these
|
||||||
files is specified by the freedesktop "Desktop Entry" specification.
|
files is specified by the freedesktop "Desktop Entry" specification. This
|
||||||
This module can parse these files but also knows how to run the
|
module can parse these files but also knows how to run the applications
|
||||||
applciations defined by these files.For this module version 1.0 of the
|
defined by these files.
|
||||||
specification was used.This module was written to support the
|
|
||||||
File::MimeInfo::Applications manpage.
|
|
||||||
|
|
||||||
|
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
|
%prep
|
||||||
%setup -q -n File-DesktopEntry-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ -f Build.PL ]; then
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__perl} Build.PL --installdirs vendor
|
%{__make} %{?_smp_mflags}
|
||||||
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}/*
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if [ -f Build.PL ]; then
|
%{__make} test
|
||||||
./Build test
|
|
||||||
else
|
|
||||||
make test
|
|
||||||
fi
|
|
||||||
|
|
||||||
%clean
|
%install
|
||||||
rm -rf %{buildroot}
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/*
|
|
||||||
%{_mandir}/man*/*.*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jun 26 2010 %{packager} 0.04-0
|
|
||||||
- initial SUSE packaging
|
|
||||||
- generated with cpan2dist (CPANPLUS::Dist::SUSE version 0.0.8)
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user