]> git.pld-linux.org Git - packages/barcode.git/blob - barcode.spec
- updated to 0.99
[packages/barcode.git] / barcode.spec
1 Summary:        GNU barcode
2 Summary(pl.UTF-8):      GNU barcode - narzędzie do kodów paskowych
3 Name:           barcode
4 Version:        0.99
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Graphics
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
13 URL:            http://www.gnu.org/software/barcode/
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
22 Conflicts:      xscreensaver <= 1:4.16-2
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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,
29 EAN-8, ISBN, as well as a few other formats. Output is generated as
30 either Postscript or Encapsulated Postscript (other back-ends may be
31 added if needed).
32
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ą
38 generowane w formacie Postscript lub Encapsulated Postscript (w razie
39 potrzeby mogą być dodane inne backendy).
40
41 %package devel
42 Summary:        GNU barcode files for development
43 Summary(pl.UTF-8):      Pliki do programowania z użyciem GNU barcode
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
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
55 This subpackage contains the C header file for developing programs
56 that use GNU barcode.
57
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ą
63 generowane w formacie Postscript lub Encapsulated Postscript (w razie
64 potrzeby mogą być dodane inne backendy).
65
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.
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
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 %clean
103 rm -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.065938 seconds and 4 git commands to generate.