bib2xhtml 3.0-1 (znver1;x86_64;aarch64) 2023-17147
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/286433
Packages
bib2xhtml-3.0-1.znver1.source
bib2xhtml-3.0-1.znver1.binary
bib2xhtml-3.0-1.x86_64.binary
bib2xhtml-3.0-1.x86_64.source
bib2xhtml-3.0-1.aarch64.source
bib2xhtml-3.0-1.aarch64.binary
Build Date 2023-01-14 20:18:19 +0000 UTC
Last Updated 2023-01-18 04:11:13.493240531 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary a50176e2c7968f9689334ebda222a0c5695ca341

commit a50176e2c7968f9689334ebda222a0c5695ca341
Author:     mandian <mandian@users.noreply.github.com>
AuthorDate: Sat Jan 14 20:00:17 2023 +0000
Commit:     mandian <mandian@users.noreply.github.com>
CommitDate: Sat Jan 14 20:00:17 2023 +0000

    3.0
---
 .abf.yml       |   2 +-
 bib2xhtml.spec | 102 +++++++++++++++------------------------------------------
 2 files changed, 28 insertions(+), 76 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 2ffbdde..2746f3e 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  "bib2xhtml-2.35.tar.bz2": b35befaa5e7db0edd5e776de31cf8b71a3ac3e30
+  bib2xhtml-3.0.tar.gz: f12191d55a5df7d68d791876cbea5dc32230ddd4
diff --git a/bib2xhtml.spec b/bib2xhtml.spec
index 1e0506d..bb27511 100644
--- a/bib2xhtml.spec
+++ b/bib2xhtml.spec
@@ -1,21 +1,18 @@
-%define name	bib2xhtml
-%define version	2.35
-%define release	3
+%global bstdir /usr/share/texmf/bibtex/bst/bib2xhtml
 
-%define bstdir /usr/share/texmf/bibtex/bst/bib2xhtml
-
-Name:		%{name}
-Version:	%{version}
-Release:	%{release}
 Summary:	A program for converting BibTeX files into XHTML 1.0
+Name:		bib2xhtml
+Version:	3.0
+Release:	1
 License:	GPL 
 Group:		Publishing
-Url:		http://www.spinellis.gr/sw/textproc/bib2xhtml/
-Source:		http://www.spinellis.gr/sw/textproc/bib2xhtml/%{name}-%{version}.tar.bz2
-Requires:	tetex
+Url:		https://www.spinellis.gr/sw/textproc/bib2xhtml/
+#Source0:	https://www.spinellis.gr/sw/textproc/bib2xhtml/%{name}-v%{version}.tar.gz
+Source0:	https://github.com/dspinellis/bib2xhtml/archive/v%{version}/%{name}-%{version}.tar.gz
+Requires:	texlive-tetex
 Requires:	perl(PDF::API2)
+
 BuildArch:	noarch
-BuildRoot:	%{_tmppath}/%{name}-%{version}
 
 %description
 bib2xhtml is a program that converts BibTeX files into HTML
@@ -24,21 +21,31 @@ BibTeX style files derived from converted bibliography style
 templates. This ensures that the original BibTeX styles are faithfully
 reproduced. Some postprocessing is performed by Perl code.
 
+%files
+%license COPYING
+%doc ChangeLog *.html *.pdf example.bib
+%{_bindir}/bib2xhtml
+%{_mandir}/man1/bib2xhtml.1.*
+%{bstdir}/*
+
+#--------------------------------------------------------------------
+
 %prep
-%setup -q
+%autosetup -p1
+
 # fix encoding
 perl -pi -e 'tr/\r//d' *.html *.bib bib2xhtml
 
 %build
+perl gen-bst
 
 %install
-rm -rf %{buildroot}
-install -m 755 -d %{buildroot}%{_bindir} 
-install -m 755 -d %{buildroot}%{_mandir}/man1
-install -m 755 -d %{buildroot}%{bstdir}
-install -m 755 bib2xhtml %{buildroot}%{_bindir}
-install -m 644 bib2xhtml.man %{buildroot}%{_mandir}/man1/bib2xhtml.1
-install -m 644 *.bst %{buildroot}%{bstdir}
+install -pm 0755 -d %{buildroot}%{_bindir} 
+install -pm 0755 -d %{buildroot}%{_mandir}/man1
+install -pm 0755 -d %{buildroot}%{bstdir}
+install -pm 0755 bib2xhtml %{buildroot}%{_bindir}
+install -pm 0644 bib2xhtml.man %{buildroot}%{_mandir}/man1/bib2xhtml.1
+install -pm 0644 *.bst %{buildroot}%{bstdir}
 
 %post
 texhash
@@ -47,58 +54,3 @@ texhash
 rm -rf %bstdir
 texhash
 
-%clean
-rm -rf %{buildroot}
-
-%files
-%defattr(-,root,root)
-%doc ChangeLog COPYING README *.html *.txt *.pdf example.bib
-%{_bindir}/bib2xhtml
-%{_mandir}/man1/bib2xhtml.1.*
-%{bstdir}/*
-
-
-
-%changelog
-* Mon Dec 20 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.35-2mdv2011.0
-+ Revision: 623434
-- update to new version 2.35
-
-* Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 2.31-2mdv2011.0
-+ Revision: 610065
-- rebuild
-
-* Mon Feb 08 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.31-1mdv2010.1
-+ Revision: 502469
-- update to new version 2.31
-
-* Thu Jul 16 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.30-1mdv2010.0
-+ Revision: 396683
-- update to new version 2.30
-
-* Wed Jul 23 2008 Thierry Vignaud <tv@mandriva.org> 2.26-4mdv2009.0
-+ Revision: 243235
-- rebuild
-
-* Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 2.26-2mdv2008.1
-+ Revision: 135829
-- restore BuildRoot
-
-  + Thierry Vignaud <tv@mandriva.org>
-    - kill re-definition of %%buildroot on Pixel's request
-
-* Fri Aug 17 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.26-2mdv2008.0
-+ Revision: 64662
-- fix perl dependency (close #32293)
-
-* Thu Jun 14 2007 Lev Givon <lev@mandriva.org> 2.26-1mdv2008.0
-+ Revision: 39787
-- Update to 2.26.
-
-
-* Tue Jun 06 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.23-1mdv2007.0
-- New release 2.23
-
-* Tue Sep 20 2005 Guillaume Rousse <guillomovitch@mandriva.org> 2.20-1mdk
-- contributed by  Lev Givon (<lev@columbia.edu>)
-
Not Available

benbullard79 [@T] cox.netNo Comment.462d 13hrs
benbullard79 [@T] cox.netNo Comment.462d 12hrs