Summary: generates barcodes from text strings Name: barcode Version: 0.99 Release: 1 License: GPLv2+ Group: Applications/Text Source0: ftp://ftp.gnu.org/gnu/barcode/%{name}-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/barcode/%{name}-%{version}.tar.gz.sig Patch0: %{name}-%{version}-aix.patch URL: http://www.gnu.org/software/barcode/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: coreutils BuildRequires: gettext BuildRequires: libpaper-devel >= 1.1.23-3 Requires: /sbin/install-info, info Requires: gettext Requires: libpaper >= 1.1.23-3 %description 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. %prep %setup -q %patch0 %build ./configure \ --prefix=%{_prefix} \ --infodir=%{_infodir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip -X32_64 ${RPM_BUILD_ROOT}%{_bindir}/* || : rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir gzip -9 ${RPM_BUILD_ROOT}%{_infodir}/*.info* cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %post /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : fi %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc COPYING ChangeLog README TODO %{_bindir}/* %{_infodir}/*.info* /usr/bin/* %changelog * Mon Apr 01 2013 Michael Perzl - 0.99-1 - updated to version 0.99 * Mon Apr 01 2013 Michael Perzl - 0.98-1 - first version for AIX V5.1 and higher