]> git.pld-linux.org Git - packages/barcode.git/blame - barcode.spec
- updated to 0.99
[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
cc067b8e
JB
4Version: 0.99
5Release: 1
6License: GPL v3+
04617102 7Group: Applications/Graphics
cc067b8e
JB
8Source0: http://ftp.gnu.org/gnu/barcode/%{name}-%{version}.tar.xz
9# Source0-md5: cdc504ee1020e27fbfeebcb0718de054
10Patch0: format-security.patch
11Patch1: %{name}-info.patch
12Patch2: %{name}-lib.patch
0ba8386e 13URL: http://www.gnu.org/software/barcode/
cc067b8e
JB
14BuildRequires: autoconf >= 2.65
15BuildRequires: automake >= 1.5
16BuildRequires: gettext-tools >= 0.18
17BuildRequires: libpaper-devel
18BuildRequires: libtool >= 2:2
19BuildRequires: tar >= 1:1.22
20BuildRequires: texinfo
21BuildRequires: xz
1f1a83e6 22Conflicts: xscreensaver <= 1:4.16-2
8ec2b9a2 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8ec2b9a2 24
25%description
26This is GNU-barcode. The package is meant to solve most needs in
27barcode creation with a conventional printer. It can create printouts
28for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
ac26525e 29EAN-8, ISBN, as well as a few other formats. Output is generated as
8ec2b9a2 30either Postscript or Encapsulated Postscript (other back-ends may be
31added if needed).
32
0fcee431
JR
33%description -l pl.UTF-8
34To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoić większość
35potrzeb związanych z drukowaniem kodów paskowych na konwencjonalnej
36drukarce. Może tworzyć wydruki kodów w standardach: UPC-A, UPC-E,
37EAN-13, EAN-8, ISBN, a także kilku innych. Dane wyjściowe są
169186bc 38generowane w formacie Postscript lub Encapsulated Postscript (w razie
0fcee431 39potrzeby mogą być dodane inne backendy).
169186bc 40
8ec2b9a2 41%package devel
42Summary: GNU barcode files for development
a86d3573 43Summary(pl.UTF-8): Pliki do programowania z użyciem GNU barcode
8ec2b9a2 44Group: Development/Libraries
cc067b8e 45Requires: %{name} = %{version}-%{release}
8ec2b9a2 46
47%description devel
48This is GNU-barcode. The package is meant to solve most needs in
49barcode creation with a conventional printer. It can create printouts
50for the conventional product tagging standards: UPC-A, UPC-E, EAN-13,
51EAN-8, ISBN, as well as a few other formats. Ouput is generated as
52either Postscript or Encapsulated Postscript (other back-ends may be
53added if needed).
54
cc067b8e
JB
55This subpackage contains the C header file for developing programs
56that use GNU barcode.
169186bc 57
0fcee431
JR
58%description devel -l pl.UTF-8
59To jest GNU-barcode. Ten pakiet ma za zadanie zaspokoić większość
60potrzeb związanych z drukowaniem kodów paskowych na konwencjonalnej
61drukarce. Może tworzyć wydruki kodów w standardach: UPC-A, UPC-E,
62EAN-13, EAN-8, ISBN, a także kilku innych. Dane wyjściowe są
169186bc 63generowane w formacie Postscript lub Encapsulated Postscript (w razie
0fcee431 64potrzeby mogą być dodane inne backendy).
169186bc 65
cc067b8e
JB
66Ten podpakiet zawiera plik nagłówkowy języka C do tworzenia programów
67używających GNU barcode.
68
69%package static
70Summary: GNU barcode static library
71Summary(pl.UTF-8): Biblioteka statyczna GNU barcode
72Group: Development/Libraries
73Requires: %{name}-devel = %{version}-%{release}
74
75%description static
76GNU barcode static library.
77
78%description static -l pl.UTF-8
79Biblioteka 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
97rm -rf $RPM_BUILD_ROOT
04617102 98
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT
8ec2b9a2 101
102%clean
103rm -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
This page took 0.065026 seconds and 4 git commands to generate.