perl-Text-BibTeX/perl-Text-BibTeX.spec

104 lines
3.3 KiB
RPMSpec
Raw Normal View History

2014-11-24 23:33:20 +00:00
Name: perl-Text-BibTeX
Version: 0.70
2015-06-05 10:35:50 +00:00
Release: 6%{?dist}
2014-11-24 23:33:20 +00:00
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
2014-12-13 11:03:45 +00:00
# fix build on non-x86 64-bit arches
Patch0: perl-Text-BibTeX-secondary.patch
# Using import from UNIVERSAL is error now (RT#104119)
Patch1: Text-BibTeX-0.70-Stop-using-import-from-UNIVERSAL.patch
2014-11-24 23:33:20 +00:00
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}
2014-12-13 11:03:45 +00:00
%patch0 -p1 -b .secondary
2014-11-24 23:33:20 +00:00
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
2015-06-05 10:35:50 +00:00
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.70-6
- Perl 5.22 rebuild
* Thu Apr 30 2015 Jitka Plesnikova <jplesnik@redhat.com> 0.70-5
- Stop using import from UNIVERSAL (RT#104119)
2014-12-13 11:03:45 +00:00
* Sat Dec 13 2014 Dan Horák <dan[at]danny.cz> 0.70-4
- fix build on non-x86 64-bit arches
2014-11-24 23:33:20 +00:00
* Sat Nov 22 2014 Colin B. Macdonald <cbm@m.fsf.org> 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@m.fsf.org> 0.70-2
- revision from other feedback on other packages, clean up.
* Fri Oct 03 2014 Colin B. Macdonald <cbm@m.fsf.org> 0.70-1
- Version bump.
* Thu Jun 26 2014 Colin B. Macdonald <cbm@m.fsf.org> 0.69-1
- Changes file changed case.
- Add a TODO for the various files doc files.
* Wed Aug 22 2012 Mary Ellen Foster <mefoster@gmail.com> 0.64-1
- Specfile autogenerated by cpanspec 1.78.