[perl-Biblio-EndnoteStyle] Initial import (#700349).

Nicholas van Oudtshoorn vanoudt at fedoraproject.org
Fri Oct 28 02:30:41 UTC 2011


commit be12ed5ee3b0ba80cafcfd623577b28181a41113
Author: Nicholas van Oudtshoorn <vanoudt at gmail.com>
Date:   Fri Oct 28 10:30:22 2011 +0800

    Initial import (#700349).

 .gitignore                    |    1 +
 perl-Biblio-EndnoteStyle.spec |   55 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e777baa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Biblio-EndnoteStyle-0.05.tar.gz
diff --git a/perl-Biblio-EndnoteStyle.spec b/perl-Biblio-EndnoteStyle.spec
new file mode 100644
index 0000000..849e52c
--- /dev/null
+++ b/perl-Biblio-EndnoteStyle.spec
@@ -0,0 +1,55 @@
+Name:           perl-Biblio-EndnoteStyle
+Version:        0.05
+Release:        2%{?dist}
+Summary:        Reference formatting using Endnote-like templates
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Biblio-EndnoteStyle/
+Source0:        http://www.cpan.org/authors/id/M/MI/MIRK/Biblio-EndnoteStyle-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This small module provides a way of formatting bibliographic references
+using style templates similar to those used by the popular reference
+management software Endnote (http://www.endnote.com/). The API is
+embarrassingly simple: a formatter object is made using the class's
+constructor, the new() method; format() may then be repeatedly called on
+this object, using the same or different templates.
+
+%prep
+%setup -q -n Biblio-EndnoteStyle-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+%{_bindir}/*
+
+%changelog
+* Tue May 31 2011 Nicholas van Oudtshoorn <vanoudt at gmail.com> 0.05-2
+- Added perl(Test::More) BuildRequires
+- Removed superfluous spec file tags
+- Undid the nastiness of moving the script to /usr/sbin; it's back where it belongs
+* Thu Apr 28 2011 Nicholas van Oudtshoorn 0.05-1
+- Specfile autogenerated by cpanspec 1.78.
+- Specfile fixed by hand
+- Moved Script from /usr/bin to /usr/sbin
+- License is described here: https://rt.cpan.org/Public/Bug/Display.html?id=44211
diff --git a/sources b/sources
index e69de29..f965844 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+282a4d0e0e70ac5c9775216b55164861  Biblio-EndnoteStyle-0.05.tar.gz


More information about the scm-commits mailing list