8
0

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:
Stephan Kulow
2015-04-14 07:49:08 +00:00
committed by Git OBS Bridge
parent 254524422c
commit 28f41fbd36
4 changed files with 58 additions and 69 deletions

View File

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

View File

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

View File

@@ -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

View File

@@ -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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-File-DesktopEntry
Version: 0.04
Release: 0%{?dist}
License: CHECK(GPL+ or Artistic)
Group: Development/Libraries
Version: 0.08
Release: 0
%define cpan_name File-DesktopEntry
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}
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
BuildRequires: perl(Carp)
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)
%{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}/*
%{__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)