]> git.pld-linux.org Git - packages/barcode.git/blame - barcode.spec
- DESTDIR install style patch.
[packages/barcode.git] / barcode.spec
CommitLineData
8ec2b9a2 1%define prefix /usr
2%define sysconfdir /etc
3
4Summary: GNU barcode
5Name: barcode
6Version: 0.98
7Release: 1
8License: GPL
9Group: Applications/Graphics
10Source0: ftp://ar.linux.it/pub/barcode/%{name}-%{ver}.tar.gz
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12URL: http://gnu.systemy.it/software/barcode
13
14%description
15This is GNU-barcode. The package is meant to solve most needs in
16barcode creation with a conventional printer. It can create printouts
17for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
18EAN-8, ISBN, as well as a few other formats. Ouput is generated as
19either Postscript or Encapsulated Postscript (other back-ends may be
20added if needed).
21
22%package devel
23Summary: GNU barcode files for development
24Group: Development/Libraries
25
26%description devel
27This is GNU-barcode. The package is meant to solve most needs in
28barcode creation with a conventional printer. It can create printouts
29for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
30EAN-8, ISBN, as well as a few other formats. Ouput is generated as
31either Postscript or Encapsulated Postscript (other back-ends may be
32added if needed).
33
34This package contain the C header, the static library and man page for
35development.
36
37%prep
38%setup -q
39
40%ifarch alpha
41 ARCH_FLAGS="--host=alpha-redhat-linux"
42%endif
43
44CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix} --sysconfdir=%{sysconfdir}
45
46%build
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} install
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58
59%doc COPYING ChangeLog INSTALL README TODO doc/*.html doc/*.pdf doc/*.ps
60
61%attr(0755,root,root) %{_bindir}/barcode
62%attr(0644,root,root) %{_infodir}/barcode.info*
63%attr(0644,root,root) %{_mandir}/man1/barcode.1*
64
65%files devel
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*
This page took 0.061237 seconds and 4 git commands to generate.