%define major 0 %define libname %mklibname barcode %{major} %define develname %mklibname barcode -d Summary: GNU barcode Name: barcode Version: 0.99 Release: %mkrel 8 License: GPLv3+ Group: Publishing Source: ftp://ftp.gnu.org/gnu/barcode/%name-%{version}.tar.xz Patch0: barcode-0.98-fix-str-fmt.patch URL: http://www.gnu.org/software/barcode/ %description GNU barcode is meant to solve most needs in barcode creation with a conventional printer. It can create printouts for the conventional product tagging standards: UPC-A, UPC-E, EAN-13, EAN-8, ISBN, as well as a few other formats. Output is generated as either Postscript or Encapsulated Postscript (other back-ends may be added if needed). %prep %setup -q %autopatch -p1 %build # short-term fix for FTBFS with GCC10 %define _legacy_common_support 1 %configure %make_build %install %make_install rm -f $RPM_BUILD_ROOT/usr/bin/sample %files %doc ChangeLog README TODO %{_bindir}/barcode %{_infodir}/* %changelog * Thu Aug 20 2020 ovitters <ovitters> 0.99-8.mga8 + Revision: 1616561 - remove install-info scriptlets, rely on filetrigger instead (mga#27107) * Mon Jun 29 2020 joequant <joequant> 0.99-7.mga8 + Revision: 1600477 - fix gcc10 * Wed Feb 12 2020 umeabot <umeabot> 0.99-6.mga8 + Revision: 1510646 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%configure2_5x - replace deprecated %%makeinstall_std * Fri Sep 21 2018 umeabot <umeabot> 0.99-5.mga7 + Revision: 1295309 - Mageia 7 Mass Rebuild * Fri Feb 05 2016 umeabot <umeabot> 0.99-4.mga6 + Revision: 939330 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.99-3.mga5 + Revision: 741887 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.99-2.mga5 + Revision: 678114 - Mageia 5 Mass Rebuild * Sun May 04 2014 shlomif <shlomif> 0.99-1.mga5 + Revision: 619980 - New version. Library was removed - Fix typos * Fri Oct 18 2013 umeabot <umeabot> 0.98-17.mga4 + Revision: 503028 - Mageia 4 Mass Rebuild + sander85 <sander85> - Fix URL * Fri Jan 11 2013 umeabot <umeabot> 0.98-16.mga3 + Revision: 346869 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Mar 17 2011 wally <wally> 0.98-15.mga1 + Revision: 73427 - drop buildroot definition - prettify descriptions - clean .spec a bit + kharec <kharec> - imported package barcode * Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 0.98-14mdv2011.0 + Revision: 610052 - rebuild * Wed Apr 21 2010 Sandro Cazzaniga <kharec@mandriva.org> 0.98-13mdv2010.1 + Revision: 537479 - fix SOURCE - don't define name, version, release on top of spec - clean spec * Thu Sep 10 2009 Thierry Vignaud <tv@mandriva.org> 0.98-12mdv2010.0 + Revision: 436800 - rebuild * Tue Dec 23 2008 Funda Wang <fwang@mandriva.org> 0.98-11mdv2009.1 + Revision: 317778 - fix str ftm - use standard DESTDIR to install - fix post script * Tue Aug 26 2008 Emmanuel Andry <eandry@mandriva.org> 0.98-10mdv2009.0 + Revision: 276155 - apply devel policy - fix license - replace old RPM_BUILD_ROOT * Tue Jul 22 2008 Thierry Vignaud <tv@mandriva.org> 0.98-9mdv2009.0 + Revision: 240437 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Thu Aug 23 2007 Thierry Vignaud <tv@mandriva.org> 0.98-7mdv2008.0 + Revision: 70145 - use %%mkrel * Tue Apr 05 2005 Marcel Pol <mpol@mandriva.org> 0.98-6mdk - fix libdir on x86-64 * Wed Dec 08 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.98-5mdk - Libification * Fri May 14 2004 Marcel Pol <mpol@mandrake.org> 0.98-4mdk - rebuild * Wed Apr 16 2003 Marcel Pol <mpol@gmx.net> 0.98-3mdk - undo previous change, spec-helper does that (thanks thierry) * Wed Apr 16 2003 Marcel Pol <mpol@gmx.net> 0.98-2mdk - bzip man and info pages * Mon Apr 14 2003 Marcel Pol <mpol@gmx.net> 0.98-1mdk - initial mandrake release