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