]>
Commit | Line | Data |
---|---|---|
1 | Summary: Fingerprint Verification System | |
2 | Summary(pl.UTF-8): Fingerprint Verifycation System - system weryfikacji odcisków palców | |
3 | Name: fvs | |
4 | Version: 0.1.1 | |
5 | Release: 1 | |
6 | Epoch: 1 | |
7 | License: MPL 1.1 | |
8 | Group: Libraries | |
9 | Source0: http://dl.sourceforge.net/fvs/%{name}-%{version}.tar.bz2 | |
10 | # Source0-md5: f369e2f47f900712230576b56e7aaef1 | |
11 | URL: http://fvs.sourceforge.net/ | |
12 | BuildRequires: ImageMagick-devel | |
13 | BuildRequires: automake | |
14 | Obsoletes: fvs-gfvs | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | This library provides a framework to use when creating a fingerprint | |
19 | recognition program. It provides easy to use interfaces to load | |
20 | fingerprint files, process fingerprint images and analyse the data. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Ta biblioteka udostępnia szkielet, który można wykorzystać przy | |
24 | tworzeniu programów rozpoznających odciski palców. Dostarcza łatwy w | |
25 | użyciu interfejs do wczytywania plików z odciskami, przetwarzania tych | |
26 | obrazów i analizy danych. | |
27 | ||
28 | %package devel | |
29 | Summary: Header files for FVS library | |
30 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FVS | |
31 | Group: Development/Libraries | |
32 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
33 | ||
34 | %description devel | |
35 | Header files for FVS library. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe biblioteki FVS. | |
39 | ||
40 | %package static | |
41 | Summary: Static FVS library | |
42 | Summary(pl.UTF-8): Statyczna biblioteka FVS | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static FVS library. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Statyczna biblioteka FVS. | |
51 | ||
52 | %prep | |
53 | %setup -q | |
54 | ||
55 | # hack for broken sources | |
56 | touch fvs | |
57 | ||
58 | %build | |
59 | cp -f /usr/share/automake/config.* . | |
60 | %configure | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | rm -rf doc/images/.xvpics | |
70 | # man3 pages not installed because of filenames (use HTML docs instead) | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post -p /sbin/ldconfig | |
76 | %postun -p /sbin/ldconfig | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
80 | %doc AUTHORS ChangeLog NEWS README TODO | |
81 | %attr(755,root,root) %{_bindir}/fvs_* | |
82 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
83 | ||
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
86 | %doc doc/{*.css,*.html,images} | |
87 | %attr(755,root,root) %{_libdir}/lib*.so | |
88 | %{_libdir}/lib*.la | |
89 | %{_includedir}/fvs | |
90 | ||
91 | %files static | |
92 | %defattr(644,root,root,755) | |
93 | %{_libdir}/lib*.a |