Blob Blame History Raw
Summary: generates barcodes from text strings
Name: barcode
Version: 0.98
Release: 6%{?dist}
License: GPL
Group: Applications/Text
Patch0: barcode-configure.patch
Patch1: barcode-install-info.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(preun): /sbin/install-info
Requires(post): /sbin/install-info
BuildRequires: tetex, tetex-dvips, texinfo, ghostscript

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. Ouput is generated as either Postscript or
Encapsulated Postscript.

%package devel
Summary:        Header files and libraries for %{name} development
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
The %{name}-devel package contains the header files and libraries needed
to develop programs that use the %{name} library.

%setup -q
%patch0 -p1 -b .directories
%patch1 -p1 -b .categories

make %{?_smp_mflags}

rm -rf %{buildroot}

rm -rf %{buildroot}

/sbin/install-info %{_infodir}/ %{_infodir}/dir

if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/ %{_infodir}/dir

%defattr(-, root, root)

%files devel
%defattr(-, root, root)

* Thu Jul 07 2005 Andreas Thienemann <> 0.98-6
- Added configure patch to pick up correct libdir for x86_64
- Added missing BuildRequires for ghostscript and tetex-dvips

* Thu Jul 07 2005 Andreas Thienemann <> 0.98-5
- Added install-info support to the texinfo file.
- Fixed minor spec errors

* Thu Jul 01 2005 Andreas Thienemann <> 0.98-4
- Added info-install in post and pre stage.

* Thu Jul 01 2005 Andreas Thienemann <> 0.98-3
- Added %%{epoch} tag to the -devel requires.

* Thu Jun 30 2005 Andreas Thienemann <> 0.98-2
- spec cleanup.

* Wed Jun 29 2005 Andreas Thienemann <> 0.98-1
- Initial RPM release.