e468f20
Summary: generates barcodes from text strings
e468f20
Name: barcode
e468f20
Version: 0.98
5c1675f
Release: 39%{?dist}
30d53e4
License: GPLv2+
e468f20
Source0: ftp://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz
cb3e3ff
Patch0: barcode-configure.patch
cb3e3ff
Patch1: barcode-install-info.patch
5cec31e
Patch2: barcode-0.98-format-security.patch
e468f20
URL: http://www.gnu.org/software/barcode/
1dd7546
BuildRequires: gcc
ade40d4
BuildRequires: %{_bindir}/texindex, %{_bindir}/dvips
ade40d4
BuildRequires: %{_bindir}/makeinfo, ghostscript
e468f20
Hans Ulrich Niedermann 6efbdc4
# https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Hans Ulrich Niedermann 8d16f3d
%if !((0%{?fedora} >= 28) || (0%{?rhel} >= 8))
Hans Ulrich Niedermann 8d16f3d
%{error:No install-info scriptlets for Fedora prior to F28 or EL prior to EL8.}
Hans Ulrich Niedermann 6efbdc4
%endif
Hans Ulrich Niedermann 6efbdc4
e468f20
%description
e468f20
Barcode is meant to solve most needs in barcode creation with a
e468f20
conventional printer. It can create printouts for the conventional
e468f20
product tagging standards: UPC-A, UPC-E, EAN-13, EAN-8, ISBN, as well
e468f20
as a few other formats. Ouput is generated as either Postscript or
e468f20
Encapsulated Postscript.
e468f20
e468f20
%package devel
e468f20
Summary:        Header files and libraries for %{name} development
Hans Ulrich Niedermann 715406a
Requires:       %{name}%{?_isa} = %{version}-%{release}
Hans Ulrich Niedermann 8015a8e
Provides:       %{name}-static = %{version}-%{release}
e468f20
e468f20
%description devel
e468f20
The %{name}-devel package contains the header files and libraries needed
e468f20
to develop programs that use the %{name} library.
e468f20
e468f20
%prep
e468f20
%setup -q
cb3e3ff
%patch0 -p1 -b .directories
cb3e3ff
%patch1 -p1 -b .categories
5cec31e
%patch2 -p1 -b .format-security
e468f20
e468f20
%build
92b6b76
# fix definition of INFOTOHTML
92b6b76
export MAKEINFO=makeinfo
e468f20
%configure
92b6b76
# rebuild all documentation
92b6b76
make -C doc clean
fae0c49
make
e468f20
e468f20
%install
e468f20
rm -rf %{buildroot}
e468f20
%makeinstall
e468f20
e468f20
%files
92b6b76
%doc COPYING ChangeLog README TODO doc/barcode.html
e468f20
%{_bindir}/barcode
e468f20
%{_mandir}/man1/barcode.1.gz
0806a5c
%{_infodir}/barcode.info.*
e468f20
e468f20
%files devel
e468f20
%{_includedir}/*.h
e468f20
%{_libdir}/*.a
e468f20
%{_mandir}/man3/barcode.3.gz
e468f20
e468f20
%changelog
5c1675f
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-39
5c1675f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5c1675f
213b58d
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-38
213b58d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
213b58d
5b435f6
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-37
5b435f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5b435f6
0806a5c
* Wed Apr 24 2019 Björn Esser <besser82@fedoraproject.org> - 0.98-36
0806a5c
- Remove hardcoded gzip suffix from GNU info pages
0806a5c
f8c664f
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-35
f8c664f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f8c664f
bd589cd
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-34
bd589cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
bd589cd
5902992
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-33
5902992
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5902992
5cec31e
* Sun Aug 06 2017 Robert Scheck <robert@fedoraproject.org> - 0.98-32
5cec31e
- Added patch to fix -Werror=format-security related build failure
5cec31e
c0aa6cf
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-31
c0aa6cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c0aa6cf
0c8e9e5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-30
0c8e9e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0c8e9e5
b0ef9d9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-29
b0ef9d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b0ef9d9
Hans Ulrich Niedermann d2400a7
* Tue May 17 2016 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.98-28
Hans Ulrich Niedermann d2400a7
- remove useless %%defattr for clarity
Hans Ulrich Niedermann d2400a7
92b6b76
* Wed Feb 24 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.98-27
92b6b76
- Fix F24FTBFS caused by docs shipped in tarball (#1307342)
92b6b76
- Fix build of HTML documenation
92b6b76
5e443ca
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-26
5e443ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5e443ca
d920da4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-25
d920da4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d920da4
213188e
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-24
213188e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
213188e
ade40d4
* Thu Jul 31 2014 Robert Scheck <robert@fedoraproject.org> - 0.98-23
ade40d4
- Require texindex, dvips and makeinfo executables directly as they
ade40d4
  are provided by different packages on Fedora and (older) RHEL
ade40d4
402842b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-22
402842b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
402842b
13272ba
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-21
13272ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
13272ba
979692f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-20
979692f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
979692f
3f5f7df
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-19
3f5f7df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3f5f7df
244ff7c
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-18
244ff7c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
244ff7c
Hans Ulrich Niedermann eb9306d
* Wed Feb  9 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.98-17
Hans Ulrich Niedermann eb9306d
- Have explicit requires use %%{?_isa} (new Guidelines)
Hans Ulrich Niedermann eb9306d
cac698c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-16
cac698c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cac698c
Hans Ulrich Niedermann 8015a8e
* Sun Aug  1 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.98-15
Hans Ulrich Niedermann 8015a8e
- Add virtual "Provides: -static" to -devel subpackage (#609598)
Hans Ulrich Niedermann 8015a8e
8684cf2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-14
8684cf2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8684cf2
55bbd8c
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-13
55bbd8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
55bbd8c
30d53e4
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.9.8-12
30d53e4
- fix license tag
30d53e4
ac957d4
* Mon Feb 11 2008 Andreas Thienemann <andreas@bawue.net> - 0.9.8-11
ac957d4
- Rebuild against gcc-4.3
ac957d4
a75d11e
* Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 0.9.8-10
1435770
- FE6 Rebuild
1435770
da3e451
* Mon Mar 27 2006 Andreas Thienemann <andreas@bawue.net> 0.9.8-9
da3e451
- Changed texinfo dependency to texinfo-tex to satisfy #186825
da3e451
e777df4
* Sun Feb 05 2006 Andreas Thienemann <andreas@bawue.net> 0.98-8
e777df4
- Enabled --excludedocs install
e777df4
Hans Ulrich Niedermann 343832e
* Fri Jul 15 2005 Andreas Thienemann <andreas@bawue.net> 0.98-7
fae0c49
- Switched off threaded make, as it's causing problems when rebuilding
fae0c49
  the documentation
fae0c49
cb3e3ff
* Thu Jul 07 2005 Andreas Thienemann <andreas@bawue.net> 0.98-6
cb3e3ff
- Added configure patch to pick up correct libdir for x86_64
0721a5c
- Added missing BuildRequires for ghostscript and tetex-dvips
cb3e3ff
e468f20
* Thu Jul 07 2005 Andreas Thienemann <andreas@bawue.net> 0.98-5
e468f20
- Added install-info support to the texinfo file.
e468f20
- Fixed minor spec errors
e468f20
Hans Ulrich Niedermann 343832e
* Fri Jul 01 2005 Andreas Thienemann <andreas@bawue.net> 0.98-4
e468f20
- Added info-install in post and pre stage.
e468f20
Hans Ulrich Niedermann 343832e
* Fri Jul 01 2005 Andreas Thienemann <andreas@bawue.net> 0.98-3
e468f20
- Added %%{epoch} tag to the -devel requires.
e468f20
e468f20
* Thu Jun 30 2005 Andreas Thienemann <andreas@bawue.net> 0.98-2
e468f20
- spec cleanup.
e468f20
e468f20
* Wed Jun 29 2005 Andreas Thienemann <andreas@bawue.net> 0.98-1
e468f20
- Initial RPM release.
e468f20