e468f20
Summary: generates barcodes from text strings
e468f20
Name: barcode
e468f20
Version: 0.98
cac698c
Release: 16%{?dist}
30d53e4
License: GPLv2+
e468f20
Group: Applications/Text
e468f20
Source0: ftp://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz
cb3e3ff
Patch0: barcode-configure.patch
cb3e3ff
Patch1: barcode-install-info.patch
e468f20
URL: http://www.gnu.org/software/barcode/
e468f20
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e468f20
Requires(preun): /sbin/install-info
e468f20
Requires(post): /sbin/install-info
da3e451
BuildRequires: tetex, tetex-dvips, texinfo-tex, ghostscript
e468f20
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
e468f20
Group:          Development/Libraries
e468f20
Requires:       %{name} = %{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
e468f20
e468f20
%build
e468f20
%configure
fae0c49
make
e468f20
e468f20
%install
e468f20
rm -rf %{buildroot}
e468f20
%makeinstall
e468f20
e468f20
%clean
e468f20
rm -rf %{buildroot}
e468f20
e468f20
%post
e777df4
/sbin/install-info %{_infodir}/barcode.info.gz %{_infodir}/dir || :
e468f20
e468f20
%preun
e468f20
if [ $1 = 0 ]; then
e777df4
    /sbin/install-info --delete %{_infodir}/barcode.info.gz %{_infodir}/dir || :
e468f20
fi
e468f20
e468f20
%files
e468f20
%defattr(-, root, root)
e468f20
%doc COPYING ChangeLog README TODO
e468f20
%{_bindir}/barcode
e468f20
%{_mandir}/man1/barcode.1.gz
e468f20
%{_infodir}/barcode.info.gz
e468f20
e468f20
%files devel
e468f20
%defattr(-, root, root)
e468f20
%{_includedir}/*.h
e468f20
%{_libdir}/*.a
e468f20
%{_mandir}/man3/barcode.3.gz
e468f20
e468f20
%changelog
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
fae0c49
* Thu 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
e468f20
* Thu Jul 01 2005 Andreas Thienemann <andreas@bawue.net> 0.98-4
e468f20
- Added info-install in post and pre stage.
e468f20
e468f20
* Thu 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