]>
Commit | Line | Data |
---|---|---|
8ec2b9a2 | 1 | Summary: GNU barcode |
a86d3573 | 2 | Summary(pl.UTF-8): GNU barcode - narzędzie do kodów paskowych |
8ec2b9a2 | 3 | Name: barcode |
4 | Version: 0.98 | |
e6af0131 | 5 | Release: 5 |
8ec2b9a2 | 6 | License: GPL |
04617102 | 7 | Group: Applications/Graphics |
0ba8386e | 8 | Source0: http://ftp.gnu.org/gnu/barcode/%{name}-%{version}.tar.gz |
d22e1a0b | 9 | # Source0-md5: 7f10c3307b84a19a4ab2fa4b3f2974da |
04617102 | 10 | Patch0: %{name}-DESTDIR.patch |
e6af0131 | 11 | Patch1: format-security.patch |
0ba8386e | 12 | URL: http://www.gnu.org/software/barcode/ |
04617102 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
1f1a83e6 | 15 | Conflicts: xscreensaver <= 1:4.16-2 |
8ec2b9a2 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8ec2b9a2 | 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, | |
ac26525e | 22 | EAN-8, ISBN, as well as a few other formats. Output is generated as |
8ec2b9a2 | 23 | either Postscript or Encapsulated Postscript (other back-ends may be |
24 | added if needed). | |
25 | ||
0fcee431 JR |
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ą | |
169186bc | 31 | generowane w formacie Postscript lub Encapsulated Postscript (w razie |
0fcee431 | 32 | potrzeby mogą być dodane inne backendy). |
169186bc | 33 | |
8ec2b9a2 | 34 | %package devel |
35 | Summary: GNU barcode files for development | |
a86d3573 | 36 | Summary(pl.UTF-8): Pliki do programowania z użyciem GNU barcode |
8ec2b9a2 | 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 | ||
7637e865 | 47 | This subpackage contains the C header, the static library and man page |
169186bc JB |
48 | for developing programs that use GNU barcode. |
49 | ||
0fcee431 JR |
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ą | |
169186bc | 55 | generowane w formacie Postscript lub Encapsulated Postscript (w razie |
0fcee431 | 56 | potrzeby mogą być dodane inne backendy). |
169186bc | 57 | |
0fcee431 JR |
58 | Ten podpakiet zawiera plik nagłówkowy do C, statyczną bibliotekę oraz |
59 | stronę manuala do tworzenia programów używających GNU barcode. | |
8ec2b9a2 | 60 | |
61 | %prep | |
62 | %setup -q | |
04617102 | 63 | %patch0 -p1 |
e6af0131 | 64 | %patch1 -p1 |
8ec2b9a2 | 65 | |
66 | %build | |
a01d37d4 | 67 | %{__aclocal} |
169186bc | 68 | %{__autoconf} |
04617102 | 69 | %configure |
8ec2b9a2 | 70 | %{__make} |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
04617102 | 74 | |
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
8ec2b9a2 | 77 | |
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
a460080b ER |
81 | %post -p /sbin/postshell |
82 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
169186bc | 83 | |
a460080b ER |
84 | %postun -p /sbin/postshell |
85 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
169186bc | 86 | |
8ec2b9a2 | 87 | %files |
88 | %defattr(644,root,root,755) | |
04617102 | 89 | %doc ChangeLog README TODO |
90 | %attr(755,root,root) %{_bindir}/barcode | |
91 | %{_infodir}/barcode.info* | |
92 | %{_mandir}/man1/barcode.1* | |
8ec2b9a2 | 93 | |
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
0ba8386e MB |
96 | %{_includedir}/barcode.h |
97 | %{_libdir}/libbarcode.a | |
98 | %{_mandir}/man3/barcode.3* |