]>
Commit | Line | Data |
---|---|---|
bc1197ad | 1 | Summary: Utilities for libdmtx |
dc7f69f0 | 2 | Summary(pl.UTF-8): Narzędzia do libdmtx |
bc1197ad | 3 | Name: dmtx-utils |
dc7f69f0 JB |
4 | Version: 0.7.6 |
5 | Release: 1 | |
bc1197ad JR |
6 | License: LGPL v2+ |
7 | Group: Applications/System | |
dc7f69f0 JB |
8 | #Source0Download: https://github.com/dmtx/dmtx-utils/tags |
9 | Source0: https://github.com/dmtx/dmtx-utils/archive/v%{version}/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: c7777dc5db7d7c723e890075a4a5227e | |
46d60da9 | 11 | Patch0: ac.patch |
dc7f69f0 JB |
12 | URL: http://libdmtx.sourceforge.net/ |
13 | BuildRequires: ImageMagick-devel >= 1:6.2.4 | |
14 | BuildRequires: autoconf >= 2.50 | |
46d60da9 JR |
15 | BuildRequires: automake |
16 | BuildRequires: libtool | |
dc7f69f0 | 17 | BuildRequires: libdmtx-devel >= 0.7.0 |
bc1197ad JR |
18 | BuildRequires: pkgconfig |
19 | BuildRequires: rpmbuild(macros) >= 1.219 | |
dc7f69f0 JB |
20 | Requires: ImageMagick-libs >= 1:6.2.4 |
21 | Requires: libdmtx >= 0.7.0 | |
22 | Obsoletes: libdmtx-utils < 0.7.4 | |
bc1197ad JR |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | This package contains utilities that use libdmtx. | |
27 | ||
dc7f69f0 JB |
28 | %description -l pl.UTF-8 |
29 | Ten pakiet zawiera narzędzia wykorzystujące libdmtx | |
30 | ||
bc1197ad JR |
31 | %prep |
32 | %setup -q | |
46d60da9 | 33 | %patch0 -p1 |
bc1197ad JR |
34 | |
35 | %build | |
46d60da9 | 36 | %{__libtoolize} |
dc7f69f0 | 37 | %{__aclocal} -I m4 |
46d60da9 JR |
38 | %{__autoconf} |
39 | %{__autoheader} | |
40 | %{__automake} | |
bc1197ad JR |
41 | %configure |
42 | ||
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
dc7f69f0 | 47 | |
bc1197ad JR |
48 | %{__make} install \ |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
dc7f69f0 | 56 | %doc AUTHORS ChangeLog KNOWNBUG README README.linux TODO |
bc1197ad JR |
57 | %attr(755,root,root) %{_bindir}/dmtxquery |
58 | %attr(755,root,root) %{_bindir}/dmtxread | |
59 | %attr(755,root,root) %{_bindir}/dmtxwrite | |
60 | %{_mandir}/man1/dmtxquery.1* | |
61 | %{_mandir}/man1/dmtxread.1* | |
62 | %{_mandir}/man1/dmtxwrite.1* |