]> git.pld-linux.org Git - packages/barcode.git/blame - barcode.spec
- added DESTDIR patch,
[packages/barcode.git] / barcode.spec
CommitLineData
8ec2b9a2 1Summary: GNU barcode
2Name: barcode
3Version: 0.98
4Release: 1
5License: GPL
04617102 6Group: Applications/Graphics
7Source0: ftp://ar.linux.it/pub/barcode/%{name}-%{version}.tar.gz
8Patch0: %{name}-DESTDIR.patch
9URL: http://gnu.systemy.it/software/barcode/
10BuildRequires: autoconf
11BuildRequires: automake
8ec2b9a2 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8ec2b9a2 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
04617102 39%patch0 -p1
8ec2b9a2 40
41%build
04617102 42aclocal
43autoconf
44%configure
8ec2b9a2 45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
04617102 49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
8ec2b9a2 52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
04617102 58%doc ChangeLog README TODO
59%attr(755,root,root) %{_bindir}/barcode
60%{_infodir}/barcode.info*
61%{_mandir}/man1/barcode.1*
8ec2b9a2 62
63%files devel
64%defattr(644,root,root,755)
04617102 65%{_includedir}/*
66%{_libdir}/lib*.a
67%{_mandir}/man3/*
This page took 0.032862 seconds and 4 git commands to generate.