commit 5a29b59455cf9861439309ea4b19d5249cca2f32 Author: Colin B. Macdonald <macdonald@xxxxxxxxxxxxxx> Date: Mon Nov 24 23:33:20 2014 +0000 Initial import (#1165641). .gitignore | 1 + perl-Text-BibTeX.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 91 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..df30c64 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Text-BibTeX-0.70.tar.gz diff --git a/perl-Text-BibTeX.spec b/perl-Text-BibTeX.spec new file mode 100644 index 0000000..35e8ecb --- /dev/null +++ b/perl-Text-BibTeX.spec @@ -0,0 +1,89 @@ +Name: perl-Text-BibTeX +Version: 0.70 +Release: 3%{?dist} +Summary: Interface to read and parse BibTeX files +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-BibTeX/ +Source0: http://www.cpan.org/authors/id/A/AM/AMBS/Text-BibTeX-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(lib) +BuildRequires: perl(Capture::Tiny) >= 0.06 +BuildRequires: perl(Config) +BuildRequires: perl(Config::AutoConf) >= 0.16 +BuildRequires: perl(ExtUtils::CBuilder) >= 0.27 +BuildRequires: perl(ExtUtils::LibBuilder) >= 0.02 +BuildRequires: perl(ExtUtils::Mkbootstrap) +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(Carp) +BuildRequires: perl(utf8) +BuildRequires: perl(Encode) +BuildRequires: perl(Fcntl) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(IO::File) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(File::Temp) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(UNIVERSAL) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +BuildRequires: chrpath +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The Text::BibTeX module processes BibTeX data. It includes object-oriented +interfaces to both BibTeX database files and individual bibliographic +entries, as well as other miscellaneous functions. + +%prep +%setup -q -n Text-BibTeX-%{version} +sed -ri 's#/usr/local/bin/perl5?#%{__perl}#' scripts/* examples/* +chmod a-x scripts/* examples/* + +%build +perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* +chrpath -d $RPM_BUILD_ROOT%{_bindir}/* + +%check +./Build test + +%files +%doc Changes examples README README.OLD scripts THANKS btool_faq.pod +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Text* +%{_mandir}/man3/* +%{_mandir}/man1/* +%{_bindir}/* +%{_libdir}/*.so + +%changelog +* Sat Nov 22 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.70-3 +- install faq file. +- no need to split out btparse (used to be a standalone library but is + now a part of this package). + +* Wed Nov 19 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.70-2 +- revision from other feedback on other packages, clean up. + +* Fri Oct 03 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.70-1 +- Version bump. + +* Thu Jun 26 2014 Colin B. Macdonald <cbm@xxxxxxxxx> 0.69-1 +- Changes file changed case. +- Add a TODO for the various files doc files. + +* Wed Aug 22 2012 Mary Ellen Foster <mefoster@xxxxxxxxx> 0.64-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..d5eeaf6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2dfdccab7c747d1805df432f4935ce66 Text-BibTeX-0.70.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel