2 %define sysconfdir /etc
9 Group: Applications/Graphics
10 Source0: ftp://ar.linux.it/pub/barcode/%{name}-%{ver}.tar.gz
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 URL: http://gnu.systemy.it/software/barcode
15 This is GNU-barcode. The package is meant to solve most needs in
16 barcode creation with a conventional printer. It can create printouts
17 for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
18 EAN-8, ISBN, as well as a few other formats. Ouput is generated as
19 either Postscript or Encapsulated Postscript (other back-ends may be
23 Summary: GNU barcode files for development
24 Group: Development/Libraries
27 This is GNU-barcode. The package is meant to solve most needs in
28 barcode creation with a conventional printer. It can create printouts
29 for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
30 EAN-8, ISBN, as well as a few other formats. Ouput is generated as
31 either Postscript or Encapsulated Postscript (other back-ends may be
34 This package contain the C header, the static library and man page for
41 ARCH_FLAGS="--host=alpha-redhat-linux"
44 CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix} --sysconfdir=%{sysconfdir}
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %doc COPYING ChangeLog INSTALL README TODO doc/*.html doc/*.pdf doc/*.ps
61 %attr(0755,root,root) %{_bindir}/barcode
62 %attr(0644,root,root) %{_infodir}/barcode.info*
63 %attr(0644,root,root) %{_mandir}/man1/barcode.1*
66 %defattr(644,root,root,755)
67 %attr(0644,root,root) %{_includedir}/barcode.h
68 %attr(0644,root,root) %{_libdir}/libbarcode.a
69 %attr(0644,root,root) %{_mandir}/man3/barcode.3*