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