]> git.pld-linux.org Git - packages/barcode.git/blob - barcode.spec
- added DESTDIR patch,
[packages/barcode.git] / barcode.spec
1 Summary:        GNU barcode
2 Name:           barcode
3 Version:        0.98
4 Release:        1
5 License:        GPL
6 Group:          Applications/Graphics
7 Source0:        ftp://ar.linux.it/pub/barcode/%{name}-%{version}.tar.gz
8 Patch0:         %{name}-DESTDIR.patch
9 URL:            http://gnu.systemy.it/software/barcode/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
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
20 added if needed).
21
22 %package devel
23 Summary:        GNU barcode files for development
24 Group:          Development/Libraries
25
26 %description devel
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
32 added if needed).
33
34 This package contain the C header, the static library and man page for
35 development.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 aclocal
43 autoconf
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc ChangeLog README TODO
59 %attr(755,root,root) %{_bindir}/barcode
60 %{_infodir}/barcode.info*
61 %{_mandir}/man1/barcode.1*
62
63 %files devel
64 %defattr(644,root,root,755)
65 %{_includedir}/*
66 %{_libdir}/lib*.a
67 %{_mandir}/man3/*
This page took 0.059843 seconds and 4 git commands to generate.