Compare commits

...

1 Commits

Author SHA256 Message Date
8686f05f8a Automatic update to v1.220.0 (1.22) 2025-08-26 13:56:37 +00:00
4 changed files with 37 additions and 38 deletions

View File

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

BIN
Gedcom-1.22.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 26 13:56:37 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.220.0 (1.22)
see /usr/share/doc/packages/perl-Gedcom/CHANGES
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 18 05:26:55 UTC 2016 - coolo@suse.com Sun Sep 18 05:26:55 UTC 2016 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Gedcom # spec file for package perl-Gedcom
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# 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
@@ -18,11 +18,11 @@
%define cpan_name Gedcom %define cpan_name Gedcom
Name: perl-Gedcom Name: perl-Gedcom
Version: 1.200.0 Version: 1.220.0
Release: 0 Release: 0
# 1.20 -> normalize -> 1.200.0 # 1.22 -> normalize -> 1.220.0
%define cpan_version 1.20 %define cpan_version 1.22
License: Artistic-1.0 OR GPL-1.0-or-later License: SUSE-Public-Domain
Summary: Interface to genealogy GEDCOM files Summary: Interface to genealogy GEDCOM files
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJCJ/%{cpan_name}-%{cpan_version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJCJ/%{cpan_name}-%{cpan_version}.tar.gz
@@ -31,6 +31,8 @@ Source100: README.md
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Pod::Markdown)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Text::Soundex) BuildRequires: perl(Text::Soundex)
Requires: perl(Text::Soundex) Requires: perl(Text::Soundex)
Provides: perl(Gedcom) = %{version} Provides: perl(Gedcom) = %{version}
@@ -53,21 +55,14 @@ Recommends: perl(Roman)
%{perl_requires} %{perl_requires}
%description %description
Copyright 1998-2013, Paul Johnson (paul@pjcj.net) This module provides for manipulation of GEDCOM files. GEDCOM is a format
This software is free. It is licensed under the same terms as Perl itself.
The latest version of this software should be available from my homepage:
http://www.pjcj.net
This module provides for manipulation of Gedcom files. Gedcom is a format
for storing genealogical information designed by The Church of Jesus Christ for storing genealogical information designed by The Church of Jesus Christ
of Latter-Day Saints (http://www.lds.org). Information about Gedcom is of Latter-Day Saints (http://www.lds.org). Information about GEDCOM used to
available as a zip file at be available as a zip file at
ftp://gedcom.org/pub/genealogy/gedcom/gedcom55.zip. Unfortunately, this is ftp://gedcom.org/pub/genealogy/gedcom/gedcom55.zip. That may still be the
only usable if you can access a PC running Windows of some description. case, but it seems to be password protected now. However, the document in
Part of the reason I wrote this module is because I don't do that. Well, I that archive seems to be available in a somewhat more accessible format at
didn't. I can now although I prefer not to... https://chronoplexsoftware.com/gedcomvalidator/gedcom/gedcom-5.5.pdf.
Requirements: Requirements:
@@ -81,14 +76,14 @@ Optional Modules:
Parse::RecDescent.pm to use lines2perl Parse::RecDescent.pm to use lines2perl
Roman.pm to use the LifeLines function roman from lines2perl Roman.pm to use the LifeLines function roman from lines2perl
The Gedcom format is specified in a grammar file (gedcom-5.5.grammar). The GEDCOM format is specified in a grammar file (gedcom-5.5.grammar).
Gedcom.pm parses the grammar which is then used to validate and allow Gedcom.pm parses the grammar which is then used to validate and allow
manipulation of the Gedcom file. I have only used Gedcom.pm with version manipulation of the GEDCOM file. I have only used Gedcom.pm with versions
5.5 of the Gedcom grammar, which I had to modify slightly to correct a few 5.5 and 5.5.1 of the GEDCOM grammar, which I had to modify slightly to
errors. The advantage of this approach is that Gedcom.pm should be useful correct a few errors. The advantage of this approach is that Gedcom.pm
if the Gedcom grammar is ever updated. It also made the software easier to should be useful if the GEDCOM grammar is ever updated. It also made the
write, and probably more dependable too. I suppose this is the virtue of software easier to write, and probably more dependable too. I suppose this
laziness shining through. is the virtue of laziness shining through.
The vice of laziness is also shining brightly - I need to document how to The vice of laziness is also shining brightly - I need to document how to
use this module in much greater detail. This is happening - this release use this module in much greater detail. This is happening - this release
@@ -96,7 +91,7 @@ has more documentation than the previous ones - but if you would like
information feel free to send me mail or better still, ask on the mailing information feel free to send me mail or better still, ask on the mailing
list. list.
This module provides some functions which work over the entire Gedcom file, This module provides some functions which work over the entire GEDCOM file,
such as reformatting dates, renumbering entries and ordering the entries. such as reformatting dates, renumbering entries and ordering the entries.
It also allows access to individuals, and then to relations of individuals, It also allows access to individuals, and then to relations of individuals,
for example sons, siblings, spouse, parents and so forth. for example sons, siblings, spouse, parents and so forth.
@@ -106,16 +101,14 @@ programs to Perl. The program works, but it has a few rough edges, and some
missing functionality. I'll be working on it when it hits the top of my missing functionality. I'll be working on it when it hits the top of my
TODO list. TODO list.
There is now an option for read only access to the gedcom file. Actually, There is now an option for read only access to the GEDCOM file. Actually,
this doesn't stop you changing or writing the file, but it does parse the this doesn't stop you changing or writing the file, but it does parse the
gedcom file lazily, meaning that only those portions of the gedcom file GEDCOM file lazily, meaning that only those portions of the GEDCOM file
which are needed will be read. This can provide a substantial saving of which are needed will be read. This can provide a substantial saving of
time and memory providing that not too much of the gedcom file is read. If time and memory providing that not too much of the GEDCOM file is read. If
you are going to read the whole gedcom file, this mode is less efficient you are going to read the whole GEDCOM file, this mode is less efficient
unless you do some manual housekeeping. unless you do some manual housekeeping.
Note that this is still considered beta software - caveat emptor.
Should you find this software useful, or if you make changes to it, or if Should you find this software useful, or if you make changes to it, or if
you would like me to make changes to it, please send me mail. I would like you would like me to make changes to it, please send me mail. I would like
to have some sort of an idea of the use this software is getting. Apart to have some sort of an idea of the use this software is getting. Apart
@@ -133,7 +126,7 @@ To store my genealogy I wrote a syntax file (gedcom.vim) and used vim
manipulate it. I find this to be a nice solution. manipulate it. I find this to be a nice solution.
%prep %prep
%autosetup -n %{cpan_name}-%{cpan_version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -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
@@ -150,6 +143,6 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%doc CHANGES ged gedcom-5.5.1.grammar gedcom-5.5.grammar gedcom-5.5-strict.grammar gedcom_compare gedcom.vim lines2perl parse_grammar README royal.ged setup tkged TODO %doc CHANGES ged gedcom-5.5.1.grammar gedcom-5.5.grammar gedcom-5.5-strict.grammar gedcom_compare gedcom.vim lines2perl parse_grammar README.md royal.ged tkged TODO
%changelog %changelog