Name: barcode Version: 0.98 Release: 5mamba Summary: A tool to convert text strings to printed bars Group: Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnu.org/software/barcode/barcode.html # snapshots: ftp://ar.linux.it/pub/barcode/CVS-snapshots/ Source0: ftp://ftp.gnu.org/gnu/barcode/%{name}-%{version}.tar.gz Patch0: %{name}-0.98-gcc4.patch Patch1: %{name}-0.98-free.patch Patch2: %{name}-0.98-debian_fix.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpaper-devel ## AUTOBUILDREQ-END PreReq: %{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root # FIXME : # Program received signal SIGSEGV, Segmentation fault. # 0xb7eb01f0 in rawmemchr () from /lib/libc.so.6 %description This is GNU-barcode. The package 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. Output is generated as either Postscript or Encapsulated Postscript (other back-ends may be added if needed). %package devel Summary: GNU barcode files for development Group: Development/Libraries Requires: %{name} = %{version} %description devel This is GNU-barcode. The package 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. Output is generated as either Postscript or Encapsulated Postscript (other back-ends may be added if needed). This package contains the C header, the static library and man page for development. %package doc Summary: GNU barcode documentation Group: Documentation Requires: %{name} = %{version} %description doc This is GNU-barcode. The package 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 (other back-ends may be added if needed). This package contains documentation in ps and pdf formats. %prep %setup -q #%patch0 -p1 #%patch1 -p1 #%patch2 -p1 %build %configure %make -j1 %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeoldinstall \ MAN1DIR=%{buildroot}%{_mandir}/man1 \ MAN3DIR=%{buildroot}%{_mandir}/man3 \ INFODIR=%{buildroot}%{_infodir} # barcode manpage conflicts with with file from package xscreensaver (man6) #rm -f %{buildroot}%{_mandir}/man1/barcode.* %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post %{__install_info} %{_infodir}/%{name}.info %{_infodir}/dir --entry="* barcode: (barcode) The GNU Barcode." %preun if [ $1 = 0 ] ; then %uninstall_info %{name}.info fi exit 0 %files %defattr(-, root, root) %{_bindir}/barcode %{_infodir}/barcode.* %{_mandir}/man1/barcode.* %doc COPYING ChangeLog README TODO %files devel %defattr(-, root, root) %{_includedir}/barcode.h %{_libdir}/libbarcode.a %{_mandir}/man3/barcode.* %files doc %defattr(-, root, root) %doc doc/*.pdf doc/*.ps %changelog * Wed Jul 16 2008 Silvan Calarco 0.98-5mamba - removed incorrect desktop file - restore no longer conflicting man page - fixed descriptions formatting * Tue Jul 15 2008 gil 0.98-4mamba - rebuild with new libpaper-1.1.21-1mamba * Tue Oct 11 2005 Davide Madrisan 0.98-3qilnx - specfile fixes: use rpm macros, install/uninstall info files - specfile cleanups - new package doc - remove conflicting manpage (barcode) * Thu Jun 09 2005 Alessandro Ramazzina 0.98-2qilnx - rebuild and moved from devel-contrib repository to devel repository * Wed Jun 8 2005 Matteo Bernasconi 0.98-1qilnx - first build