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