]> git.pld-linux.org Git - packages/barcode.git/blame - barcode.spec
- fix format string error
[packages/barcode.git] / barcode.spec
CommitLineData
8ec2b9a2 1Summary: GNU barcode
a86d3573 2Summary(pl.UTF-8): GNU barcode - narzędzie do kodów paskowych
8ec2b9a2 3Name: barcode
4Version: 0.98
e6af0131 5Release: 5
8ec2b9a2 6License: GPL
04617102 7Group: Applications/Graphics
0ba8386e 8Source0: http://ftp.gnu.org/gnu/barcode/%{name}-%{version}.tar.gz
d22e1a0b 9# Source0-md5: 7f10c3307b84a19a4ab2fa4b3f2974da
04617102 10Patch0: %{name}-DESTDIR.patch
e6af0131 11Patch1: format-security.patch
0ba8386e 12URL: http://www.gnu.org/software/barcode/
04617102 13BuildRequires: autoconf
14BuildRequires: automake
1f1a83e6 15Conflicts: xscreensaver <= 1:4.16-2
8ec2b9a2 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8ec2b9a2 17
18%description
19This is GNU-barcode. The package is meant to solve most needs in
20barcode creation with a conventional printer. It can create printouts
21for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
ac26525e 22EAN-8, ISBN, as well as a few other formats. Output is generated as
8ec2b9a2 23either Postscript or Encapsulated Postscript (other back-ends may be
24added if needed).
25
0fcee431
JR
26%description -l pl.UTF-8
27To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoić większość
28potrzeb związanych z drukowaniem kodów paskowych na konwencjonalnej
29drukarce. Może tworzyć wydruki kodów w standardach: UPC-A, UPC-E,
30EAN-13, EAN-8, ISBN, a także kilku innych. Dane wyjściowe są
169186bc 31generowane w formacie Postscript lub Encapsulated Postscript (w razie
0fcee431 32potrzeby mogą być dodane inne backendy).
169186bc 33
8ec2b9a2 34%package devel
35Summary: GNU barcode files for development
a86d3573 36Summary(pl.UTF-8): Pliki do programowania z użyciem GNU barcode
8ec2b9a2 37Group: Development/Libraries
38
39%description devel
40This is GNU-barcode. The package is meant to solve most needs in
41barcode creation with a conventional printer. It can create printouts
42for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
43EAN-8, ISBN, as well as a few other formats. Ouput is generated as
44either Postscript or Encapsulated Postscript (other back-ends may be
45added if needed).
46
7637e865 47This subpackage contains the C header, the static library and man page
169186bc
JB
48for developing programs that use GNU barcode.
49
0fcee431
JR
50%description devel -l pl.UTF-8
51To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoić większość
52potrzeb związanych z drukowaniem kodów paskowych na konwencjonalnej
53drukarce. Może tworzyć wydruki kodów w standardach: UPC-A, UPC-E,
54EAN-13, EAN-8, ISBN, a także kilku innych. Dane wyjściowe są
169186bc 55generowane w formacie Postscript lub Encapsulated Postscript (w razie
0fcee431 56potrzeby mogą być dodane inne backendy).
169186bc 57
0fcee431
JR
58Ten podpakiet zawiera plik nagłówkowy do C, statyczną bibliotekę oraz
59stronę 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
73rm -rf $RPM_BUILD_ROOT
04617102 74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
8ec2b9a2 77
78%clean
79rm -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*
This page took 0.055979 seconds and 4 git commands to generate.