[packages/perl-Text-BibTeX] Up to 1.00

arekm arekm at pld-linux.org
Sat Nov 28 17:54:37 CET 2026


commit 9b4fca6769068d920ce8036d2d997356d794bdaf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 17:17:48 2026 +0100

    Up to 1.00

 perl-Text-BibTeX-libdir.patch  | 14 --------
 perl-Text-BibTeX-mansect.patch | 26 --------------
 perl-Text-BibTeX.spec          | 77 ++++++------------------------------------
 3 files changed, 11 insertions(+), 106 deletions(-)
---
diff --git a/perl-Text-BibTeX.spec b/perl-Text-BibTeX.spec
index e44444a..5d5757b 100644
--- a/perl-Text-BibTeX.spec
+++ b/perl-Text-BibTeX.spec
@@ -7,28 +7,25 @@
 Summary:	Text::BibTeX - Perl library for reading, parsing and processing BibTeX files
 Summary(pl.UTF-8):	Text::BibTeX - biblioteka Perla do odczytu, analizy i przetwarzania plików BibTeXa
 Name:		perl-Text-BibTeX
-Version:	0.91
+Version:	1.00
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	437862f801cfb7598dff52aa4ff7d888
-Patch0:		%{name}-mansect.patch
-Patch1:		%{name}-libdir.patch
+Source0:	https://www.cpan.org/authors/id/A/AM/AMBS/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	0eb27d52b062e7a1e13f104164a6682d
 URL:		http://www.gerg.ca/software/btOOL/
-BuildRequires:	perl-Capture-Tiny >= 0.06
-BuildRequires:	perl-Config-AutoConf >= 0.16
-BuildRequires:	perl-ExtUtils-CBuilder >= 0.27
-BuildRequires:	perl-ExtUtils-LibBuilder >= 0.02
-BuildRequires:	perl-Module-Build >= 0.3603
-BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	perl-ExtUtils-CBuilder
+BuildRequires:	perl-Module-Build >= 0.4004
+BuildRequires:	perl-devel >= 1:5.26
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
+BuildRequires:	perl-Capture-Tiny >= 0.06
 BuildRequires:	perl-Scalar-List-Utils >= 1.42
 BuildRequires:	perl-Unicode-Normalize
 %endif
-Requires:	btparse = %{version}-%{release}
+Obsoletes:	btparse < %{version}
+Obsoletes:	btparse-devel < %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,47 +38,10 @@ Text::BibTeX to biblioteka Perla do odczytu, analizy i przetwarzania
 plików BibTeXa. Jest to perlowa połowa projektu btOOL - pary bibliotek
 do obsługi danych BibTeXa.
 
-%package -n btparse
-Summary:	C library to parse BibTeX files
-Summary(pl.UTF-8):	Biblioteka C do analizy plików BibTeXa
-Group:		Libraries
-
-%description -n btparse
-btparse is the C component of btOOL, a pair of libraries for parsing
-and processing BibTeX files. Its primary use is as the back-end to
-Text::BibTeX library for Perl (the other half of btOOL), but there's
-nothing to prevent you from writing C programs using btparse - or from
-writing extensions to other high-level languages using btparse as a
-back-end.
-
-%description -n btparse -l pl.UTF-8
-btparse to część C narzędzia btOOL - pary bibliotek do analizy i
-przetwarzania plików BibTeX. Głównym zastosowaniem jest backend dla
-biblioteki Text::BibTeX dla Perla (drugiej połówki narzędzia btOOL),
-ale nic nie stoi na przeszkodzie pisaniu programów w C
-wykorzystujących btparse albo rozszerzeń dla innych wysokopoziomowych
-języków z wykorzystaniem btparse jako backendu.
-
-%package -n btparse-devel
-Summary:	Header files for btparse library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki btparse
-Group:		Development/Libraries
-Requires:	btparse = %{version}-%{release}
-Obsoletes:	btparse-static < %{version}
-
-%description -n btparse-devel
-Header files for btparse library.
-
-%description -n btparse-devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki btparse.
-
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch -P0 -p1
-%patch -P1 -p1
 
 %build
-LIBDIR=%{_libdir} \
 %{__perl} Build.PL \
 	--config cc="%{__cc}" \
 	--config optimize="%{rpmcflags}" \
@@ -101,29 +61,14 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-n btparse -p /sbin/ldconfig
-%postun	-n btparse -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %doc Changes README
 %{perl_vendorarch}/Text/BibTeX.pm
 %{perl_vendorarch}/Text/BibTeX
+%{perl_vendorarch}/btool_faq.pod
 %dir %{perl_vendorarch}/auto/Text/BibTeX
 %attr(755,root,root) %{perl_vendorarch}/auto/Text/BibTeX/BibTeX.so
 %{_mandir}/man3/Text::BibTeX.3pm*
 %{_mandir}/man3/Text::BibTeX::*.3pm*
-
-%files -n btparse
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/biblex
-%attr(755,root,root) %{_bindir}/bibparse
-%attr(755,root,root) %{_bindir}/dumpnames
-%attr(755,root,root) %{_libdir}/libbtparse.so
-
-%files -n btparse-devel
-%defattr(644,root,root,755)
-%{_includedir}/btparse.h
-%{_mandir}/man3/bt_*.3*
-%{_mandir}/man3/btparse.3*
-%{_mandir}/man3/btool_faq.3*
+%{_mandir}/man3/btool_faq.3pm*
diff --git a/perl-Text-BibTeX-libdir.patch b/perl-Text-BibTeX-libdir.patch
deleted file mode 100644
index cdf8db2..0000000
--- a/perl-Text-BibTeX-libdir.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- Text-BibTeX-0.88/Build.PL.orig	2019-04-29 17:02:41.000000000 +0200
-+++ Text-BibTeX-0.88/Build.PL	2019-06-02 11:10:32.060438085 +0200
-@@ -88,7 +88,10 @@
-     }
- }
- else {
--    if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
-+    if (exists $ENV{LIBDIR}) {
-+        $libdir = $ENV{LIBDIR}
-+    }
-+    elsif ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
-         $libdir =~ s/\bbin\b/lib64/;
-         if ( !-d $libdir ) {
-             my $test = $libdir;
diff --git a/perl-Text-BibTeX-mansect.patch b/perl-Text-BibTeX-mansect.patch
deleted file mode 100644
index 6311f0a..0000000
--- a/perl-Text-BibTeX-mansect.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- Text-BibTeX-0.88/inc/MyBuilder.pm.orig	2019-04-29 17:02:41.000000000 +0200
-+++ Text-BibTeX-0.88/inc/MyBuilder.pm	2019-05-29 21:34:25.982590575 +0200
-@@ -177,18 +177,18 @@
-     my $version = $self->notes('btparse_version');
-     for my $pod (@$pods) {
-         my $man = $pod;
--        $man =~ s!.pod!.1!;
--        $man =~ s!btparse/doc!blib/bindoc!;   ## FIXME - path
-+        $man =~ s!.pod!.3!;
-+        $man =~ s!btparse/doc!blib/libdoc!;   ## FIXME - path
-         next if $self->up_to_date($pod, $man);
-         ## FIXME
--        `pod2man --section=1 --center="btparse" --release="btparse, version $version" $pod $man`;
-+        `pod2man --section=3 --center="btparse" --release="btparse, version $version" $pod $man`;
-     }
- 
-     my $pod = 'btool_faq.pod';
--    my $man = catfile('blib','bindoc','btool_faq.1');
-+    my $man = catfile('blib','libdoc','btool_faq.3');
-     unless ($self->up_to_date($pod, $man)) {
-         ## FIXME
--        `pod2man --section=1 --center="btparse" --release="btparse, version $version" $pod $man`;
-+        `pod2man --section=3 --center="btparse" --release="btparse, version $version" $pod $man`;
-     }
- }
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Text-BibTeX.git/commitdiff/9b4fca6769068d920ce8036d2d997356d794bdaf



More information about the pld-cvs-commit mailing list