[perl-MARC-Charset] Initial import (#829860)

Dan Scott dscott at fedoraproject.org
Wed Jun 13 13:49:38 UTC 2012


commit dd64d2f6c28bc55b8f38ddcff52e6b86582c3d02
Author: Dan Scott <dan at coffeecode.net>
Date:   Wed Jun 13 09:47:04 2012 -0400

    Initial import (#829860)

 .gitignore             |    1 +
 perl-MARC-Charset.spec |   66 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3accf59 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MARC-Charset-1.33.tar.gz
diff --git a/perl-MARC-Charset.spec b/perl-MARC-Charset.spec
new file mode 100644
index 0000000..ae16aa2
--- /dev/null
+++ b/perl-MARC-Charset.spec
@@ -0,0 +1,66 @@
+Name:           perl-MARC-Charset
+Version:        1.33
+Release:        1%{?dist}
+Summary:        Converts data encoded in MARC-8 to Unicode (UTF-8)
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/MARC-Charset/
+Source0:        http://search.cpan.org/CPAN/authors/id/G/GM/GMCHARLT/MARC-Charset-%{version}.tar.gz
+
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(charnames)
+BuildRequires:  perl(Class::Accessor)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(GDBM_File)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Unicode::Normalize)
+BuildRequires:  perl(Unicode::UCD)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XML::SAX)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# "Table" gdbm file is not portable, but also not debuggable;
+# disable debug package accordingly
+%global debug_package %{nil}
+
+%description
+MARC::Charset supports the conversion of data from the legacy MARC-8
+encoding to the Unicode UTF-8 encoding.
+
+%prep
+%setup -q -n MARC-Charset-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=%{perl_vendorarch}
+make %{?_smp_mflags}
+
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+
+
+%check
+make test
+
+
+%files
+%doc Changes README
+%{perl_vendorarch}/MARC/
+%{_mandir}/man3/*.3pm*
+
+
+%changelog
+* Wed Jun 13 2012 Dan Scott <dan at coffeecode.net> - 1.33-1
+- First build
+- Incorporate spec file review from Iain Arnell
diff --git a/sources b/sources
index e69de29..204429b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+02882113257742eef9c11adf29a16854  MARC-Charset-1.33.tar.gz


More information about the scm-commits mailing list