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