]> git.pld-linux.org Git - packages/barcode.git/blame_incremental - barcode.spec
- updated to 0.99
[packages/barcode.git] / barcode.spec
... / ...
CommitLineData
1Summary: GNU barcode
2Summary(pl.UTF-8): GNU barcode - narzędzie do kodów paskowych
3Name: barcode
4Version: 0.99
5Release: 1
6License: GPL v3+
7Group: Applications/Graphics
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
13URL: http://www.gnu.org/software/barcode/
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
22Conflicts: xscreensaver <= 1:4.16-2
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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,
29EAN-8, ISBN, as well as a few other formats. Output is generated as
30either Postscript or Encapsulated Postscript (other back-ends may be
31added if needed).
32
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ą
38generowane w formacie Postscript lub Encapsulated Postscript (w razie
39potrzeby mogą być dodane inne backendy).
40
41%package devel
42Summary: GNU barcode files for development
43Summary(pl.UTF-8): Pliki do programowania z użyciem GNU barcode
44Group: Development/Libraries
45Requires: %{name} = %{version}-%{release}
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
55This subpackage contains the C header file for developing programs
56that use GNU barcode.
57
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ą
63generowane w formacie Postscript lub Encapsulated Postscript (w razie
64potrzeby mogą być dodane inne backendy).
65
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.
80
81%prep
82%setup -q
83%patch0 -p1
84%patch1 -p1
85%patch2 -p1
86
87%build
88%{__libtoolize}
89%{__aclocal} -I m4
90%{__autoconf}
91%{__autoheader}
92%{__automake}
93%configure
94%{__make}
95
96%install
97rm -rf $RPM_BUILD_ROOT
98
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT
101
102%clean
103rm -rf $RPM_BUILD_ROOT
104
105%post -p /sbin/postshell
106/sbin/ldconfig
107-/usr/sbin/fix-info-dir -c %{_infodir}
108
109%postun -p /sbin/postshell
110/sbin/ldconfig
111-/usr/sbin/fix-info-dir -c %{_infodir}
112
113%files
114%defattr(644,root,root,755)
115%doc ChangeLog NEWS README TODO
116%attr(755,root,root) %{_bindir}/barcode
117%attr(755,root,root) %{_libdir}/libbarcode.so.*.*.*
118%attr(755,root,root) %ghost %{_libdir}/libbarcode.so.0
119%{_infodir}/barcode.info*
120
121%files devel
122%defattr(644,root,root,755)
123%attr(755,root,root) %{_libdir}/libbarcode.so
124%{_libdir}/libbarcode.la
125%{_includedir}/barcode.h
126
127%files static
128%defattr(644,root,root,755)
129%{_libdir}/libbarcode.a
This page took 0.060864 seconds and 4 git commands to generate.