]> git.pld-linux.org Git - packages/barcode.git/blob - barcode.spec
be01f0d15a1d7040d061808e244e414dd7c3bb02
[packages/barcode.git] / barcode.spec
1 Summary:        GNU barcode
2 Summary(pl):    GNU barcode - narzêdzie do kodów paskowych
3 Name:           barcode
4 Version:        0.98
5 Release:        3
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        ftp://ar.linux.it/pub/barcode/%{name}-%{version}.tar.gz
9 # Source0-md5:  7f10c3307b84a19a4ab2fa4b3f2974da
10 Patch0:         %{name}-DESTDIR.patch
11 URL:            http://gnu.systemy.it/software/barcode/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This is GNU-barcode. The package is meant to solve most needs in
18 barcode creation with a conventional printer. It can create printouts
19 for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
20 EAN-8, ISBN, as well as a few other formats. Output is generated as
21 either Postscript or Encapsulated Postscript (other back-ends may be
22 added if needed).
23
24 %description -l pl
25 To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoiæ wiêkszo¶æ
26 potrzeb zwi±zanych z drukowaniem kodów paskowych na konwencjonalnej
27 drukarce. Mo¿e tworzyæ wydruki kodów w standardach: UPC-A, UPC-E,
28 EAN-13, EAN-8, ISBN, a tak¿e kilku innych. Dane wyj¶ciowe s±
29 generowane w formacie Postscript lub Encapsulated Postscript (w razie
30 potrzeby mog± byæ dodane inne backendy).
31
32 %package devel
33 Summary:        GNU barcode files for development
34 Summary(pl):    Pliki do programowania z u¿yciem GNU barcode
35 Group:          Development/Libraries
36
37 %description devel
38 This is GNU-barcode. The package is meant to solve most needs in
39 barcode creation with a conventional printer. It can create printouts
40 for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
41 EAN-8, ISBN, as well as a few other formats. Ouput is generated as
42 either Postscript or Encapsulated Postscript (other back-ends may be
43 added if needed).
44
45 This subpackage contains the C header, the static library and man page
46 for developing programs that use GNU barcode.
47
48 %description devel -l pl
49 To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoiæ wiêkszo¶æ
50 potrzeb zwi±zanych z drukowaniem kodów paskowych na konwencjonalnej
51 drukarce. Mo¿e tworzyæ wydruki kodów w standardach: UPC-A, UPC-E,
52 EAN-13, EAN-8, ISBN, a tak¿e kilku innych. Dane wyj¶ciowe s±
53 generowane w formacie Postscript lub Encapsulated Postscript (w razie
54 potrzeby mog± byæ dodane inne backendy).
55
56 Ten podpakiet zawiera plik nag³ówkowy do C, statyczn± bibliotekê oraz
57 stronê manuala do tworzenia programów u¿ywaj±cych GNU barcode.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62
63 %build
64 %{__aclocal}
65 %{__autoconf}
66 %configure
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post
79 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
80
81 %postun
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
83
84 %files
85 %defattr(644,root,root,755)
86 %doc ChangeLog README TODO
87 %attr(755,root,root) %{_bindir}/barcode
88 %{_infodir}/barcode.info*
89 %{_mandir}/man1/barcode.1*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %{_includedir}/*
94 %{_libdir}/lib*.a
95 %{_mandir}/man3/*
This page took 0.052359 seconds and 2 git commands to generate.