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