]> git.pld-linux.org Git - packages/fvs.git/blob - fvs.spec
14c0597976e57a170e640c04dfabed8f325234e2
[packages/fvs.git] / fvs.spec
1 Summary:        Fingerprint Verification System
2 Summary(pl):    Fingerprint Verifycation System - system weryfikacji odcisków palców
3 Name:           fvs
4 Version:        0.0.9
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:  f886afb23665212a0b3e7abcd5b10225
11 Patch0:         %{name}-gfvs.patch
12 URL:            http://fvs.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gtk+2-devel >= 2.0.0
16 BuildRequires:  pkgconfig >= 0.9.0
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This library provides a framework to use when creating a fingerprint
22 recognition program. It provides easy to use interfaces to load
23 fingerprint files, process fingerprint images and analyse the data.
24
25 %description -l pl
26 Ta biblioteka udostêpnia szkielet, który mo¿na wykorzystaæ przy
27 tworzeniu programów rozpoznaj±cych odciski palców. Dostarcza ³atwy w
28 u¿yciu interfejs do wczytywania plików z odciskami, przetwarzania tych
29 obrazów i analizy danych.
30
31 %package devel
32 Summary:        Header files for FVS library
33 Summary(pl):    Pliki nag³ówkowe biblioteki FVS
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}
36
37 %description devel
38 Header files for FVS library.
39
40 %description devel -l pl
41 Pliki nag³ówkowe biblioteki FVS.
42
43 %package static
44 Summary:        Static FVS library
45 Summary(pl):    Statyczna biblioteka FVS
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 Static FVS library.
51
52 %description static -l pl
53 Statyczna biblioteka FVS.
54
55 %package gfvs
56 Summary:        GUI for FVS
57 Summary(pl):    Graficzny interfejs do FVS
58 Group:          X11/Applications
59 Requires:       %{name} = %{version}
60
61 %description gfvs
62 GUI for FVS.
63
64 %description gfvs -l pl
65 Graficzny interfejs do FVS.
66
67 %prep
68 %setup -q
69 %patch -p1
70
71 ln -sf ../../include gfvs/src/fvs
72
73 %build
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake}
79 %configure
80 %{__make}
81
82 cd gfvs
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__autoheader}
87 # no -f here
88 automake -a -c --foreign
89 %configure
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %{__make} install -C gfvs \
99         DESTDIR=$RPM_BUILD_ROOT
100
101 rm -rf doc/images/.xvpics
102 # man3 pages not installed because of filenames (use HTML docs instead)
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post   -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
109
110 %files
111 %defattr(644,root,root,755)
112 %doc AUTHORS ChangeLog NEWS README TODO
113 %attr(755,root,root) %{_bindir}/fvs_*
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
115
116 %files devel
117 %defattr(644,root,root,755)
118 %doc doc/{html,images}
119 %attr(755,root,root) %{_libdir}/lib*.so
120 %{_libdir}/lib*.la
121 %{_includedir}/fvs
122
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/lib*.a
126
127 %files gfvs
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_bindir}/gfvs
This page took 0.069764 seconds and 2 git commands to generate.