]>
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 |
cc067b8e JB |
4 | Version: 0.99 |
5 | Release: 1 | |
6 | License: GPL v3+ | |
04617102 | 7 | Group: Applications/Graphics |
cc067b8e JB |
8 | Source0: http://ftp.gnu.org/gnu/barcode/%{name}-%{version}.tar.xz |
9 | # Source0-md5: cdc504ee1020e27fbfeebcb0718de054 | |
10 | Patch0: format-security.patch | |
11 | Patch1: %{name}-info.patch | |
12 | Patch2: %{name}-lib.patch | |
0ba8386e | 13 | URL: http://www.gnu.org/software/barcode/ |
cc067b8e JB |
14 | BuildRequires: autoconf >= 2.65 |
15 | BuildRequires: automake >= 1.5 | |
16 | BuildRequires: gettext-tools >= 0.18 | |
17 | BuildRequires: libpaper-devel | |
18 | BuildRequires: libtool >= 2:2 | |
19 | BuildRequires: tar >= 1:1.22 | |
20 | BuildRequires: texinfo | |
21 | BuildRequires: xz | |
1f1a83e6 | 22 | Conflicts: xscreensaver <= 1:4.16-2 |
8ec2b9a2 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8ec2b9a2 | 24 | |
25 | %description | |
26 | This is GNU-barcode. The package is meant to solve most needs in | |
27 | barcode creation with a conventional printer. It can create printouts | |
28 | for the conventional product tagging standards: UPC-A, UPC-E, EAN-13, | |
ac26525e | 29 | EAN-8, ISBN, as well as a few other formats. Output is generated as |
8ec2b9a2 | 30 | either Postscript or Encapsulated Postscript (other back-ends may be |
31 | added if needed). | |
32 | ||
0fcee431 JR |
33 | %description -l pl.UTF-8 |
34 | To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoić większość | |
35 | potrzeb związanych z drukowaniem kodów paskowych na konwencjonalnej | |
36 | drukarce. Może tworzyć wydruki kodów w standardach: UPC-A, UPC-E, | |
37 | EAN-13, EAN-8, ISBN, a także kilku innych. Dane wyjściowe są | |
169186bc | 38 | generowane w formacie Postscript lub Encapsulated Postscript (w razie |
0fcee431 | 39 | potrzeby mogą być dodane inne backendy). |
169186bc | 40 | |
8ec2b9a2 | 41 | %package devel |
42 | Summary: GNU barcode files for development | |
a86d3573 | 43 | Summary(pl.UTF-8): Pliki do programowania z użyciem GNU barcode |
8ec2b9a2 | 44 | Group: Development/Libraries |
cc067b8e | 45 | Requires: %{name} = %{version}-%{release} |
8ec2b9a2 | 46 | |
47 | %description devel | |
48 | This is GNU-barcode. The package is meant to solve most needs in | |
49 | barcode creation with a conventional printer. It can create printouts | |
50 | for the conventional product tagging standards: UPC-A, UPC-E, EAN-13, | |
51 | EAN-8, ISBN, as well as a few other formats. Ouput is generated as | |
52 | either Postscript or Encapsulated Postscript (other back-ends may be | |
53 | added if needed). | |
54 | ||
cc067b8e JB |
55 | This subpackage contains the C header file for developing programs |
56 | that use GNU barcode. | |
169186bc | 57 | |
0fcee431 JR |
58 | %description devel -l pl.UTF-8 |
59 | To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoić większość | |
60 | potrzeb związanych z drukowaniem kodów paskowych na konwencjonalnej | |
61 | drukarce. Może tworzyć wydruki kodów w standardach: UPC-A, UPC-E, | |
62 | EAN-13, EAN-8, ISBN, a także kilku innych. Dane wyjściowe są | |
169186bc | 63 | generowane w formacie Postscript lub Encapsulated Postscript (w razie |
0fcee431 | 64 | potrzeby mogą być dodane inne backendy). |
169186bc | 65 | |
cc067b8e JB |
66 | Ten podpakiet zawiera plik nagłówkowy języka C do tworzenia programów |
67 | używających GNU barcode. | |
68 | ||
69 | %package static | |
70 | Summary: GNU barcode static library | |
71 | Summary(pl.UTF-8): Biblioteka statyczna GNU barcode | |
72 | Group: Development/Libraries | |
73 | Requires: %{name}-devel = %{version}-%{release} | |
74 | ||
75 | %description static | |
76 | GNU barcode static library. | |
77 | ||
78 | %description static -l pl.UTF-8 | |
79 | Biblioteka statyczna GNU barcode. | |
8ec2b9a2 | 80 | |
81 | %prep | |
82 | %setup -q | |
04617102 | 83 | %patch0 -p1 |
e6af0131 | 84 | %patch1 -p1 |
cc067b8e | 85 | %patch2 -p1 |
8ec2b9a2 | 86 | |
87 | %build | |
cc067b8e JB |
88 | %{__libtoolize} |
89 | %{__aclocal} -I m4 | |
169186bc | 90 | %{__autoconf} |
cc067b8e JB |
91 | %{__autoheader} |
92 | %{__automake} | |
04617102 | 93 | %configure |
8ec2b9a2 | 94 | %{__make} |
95 | ||
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
04617102 | 98 | |
99 | %{__make} install \ | |
100 | DESTDIR=$RPM_BUILD_ROOT | |
8ec2b9a2 | 101 | |
102 | %clean | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
cc067b8e JB |
105 | %post -p /sbin/postshell |
106 | /sbin/ldconfig | |
a460080b | 107 | -/usr/sbin/fix-info-dir -c %{_infodir} |
169186bc | 108 | |
cc067b8e JB |
109 | %postun -p /sbin/postshell |
110 | /sbin/ldconfig | |
a460080b | 111 | -/usr/sbin/fix-info-dir -c %{_infodir} |
169186bc | 112 | |
8ec2b9a2 | 113 | %files |
114 | %defattr(644,root,root,755) | |
cc067b8e | 115 | %doc ChangeLog NEWS README TODO |
04617102 | 116 | %attr(755,root,root) %{_bindir}/barcode |
cc067b8e JB |
117 | %attr(755,root,root) %{_libdir}/libbarcode.so.*.*.* |
118 | %attr(755,root,root) %ghost %{_libdir}/libbarcode.so.0 | |
04617102 | 119 | %{_infodir}/barcode.info* |
8ec2b9a2 | 120 | |
121 | %files devel | |
122 | %defattr(644,root,root,755) | |
cc067b8e JB |
123 | %attr(755,root,root) %{_libdir}/libbarcode.so |
124 | %{_libdir}/libbarcode.la | |
0ba8386e | 125 | %{_includedir}/barcode.h |
cc067b8e JB |
126 | |
127 | %files static | |
128 | %defattr(644,root,root,755) | |
0ba8386e | 129 | %{_libdir}/libbarcode.a |