forked from pool/perl-File-Mork
Compare commits
13 Commits
e1e7d29130
...
dff0baed0e
Author | SHA256 | Date | |
---|---|---|---|
dff0baed0e | |||
f578e9dc82 | |||
6936781b12 | |||
832c816eab | |||
|
5c02b66ff4 | ||
|
0a0fb81544 | ||
127d6441c1 | |||
|
06abd6bc2e | ||
|
051e341fcf | ||
|
1dbb147e0c | ||
|
988a5b6146 | ||
|
8ec9c780b5 | ||
|
9c6fc55003 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ced5e4c74ef08084a44d9b65e15f5ec29759d9cedc477fa32ae9ebdf79683432
|
||||
size 9934
|
3
File-Mork-0.4.tar.gz
Normal file
3
File-Mork-0.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d045004777c656d1c530334123a24a43738273a2a059f51d605e45c6ba9ff721
|
||||
size 12038
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
license: MIT
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 22:24:15 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 05:44:00 UTC 2016 - coolo@suse.com
|
||||
|
||||
- track the MIT license also in cpanspec.yml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 22 09:59:51 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 0.4
|
||||
see /usr/share/doc/packages/perl-File-Mork/Changes
|
||||
|
||||
20 Dec 2015 - v0.4 UTF-16
|
||||
|
||||
Fixes for UTF-16 conversion error from Rob O'Neale and James Wright
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 27 07:55:58 UTC 2012 - cfarrell@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-File-Mork
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,28 +12,31 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-File-Mork
|
||||
Version: 0.3
|
||||
Release: 1
|
||||
License: MIT
|
||||
%define cpan_name File-Mork
|
||||
Summary: a module to read Mozilla URL history files
|
||||
Url: http://search.cpan.org/dist/File-Mork/
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/S/SI/SIMONW/File-Mork-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-File-Mork
|
||||
Version: 0.400.0
|
||||
Release: 0
|
||||
# 0.4 -> normalize -> 0.400.0
|
||||
%define cpan_version 0.4
|
||||
#Upstream: SUSE-Public-Domain
|
||||
License: MIT
|
||||
Summary: Module to read Mozilla URL history files
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SI/SIMONW/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(HTML::Entities)
|
||||
BuildRequires: perl(Module::Build) >= 0.4
|
||||
Requires: perl(HTML::Entities)
|
||||
Provides: perl(File::Mork) = %{version}
|
||||
Provides: perl(File::Mork::Entry)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -46,24 +49,20 @@ has some platform-independent code for finding the profiles of various
|
||||
Mozilla-isms (including Firefox, Camino, K-Meleon, etc.).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes examples
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user